Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008074/0.0008074, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008489/0.0008489, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9033/0.9033, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03474/0.03474, allocations: 8.609 MB / 267.8 MB, free: 5.121 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Digital_Examples_TestPID_TDO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Digital_Examples_TestPID_TDO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 395.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.548e-05, allocations: 6.281 kB / 395.1 MB, free: 2.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Digital.Examples.TestPID_TDO): time 0.003333/0.003348, allocations: 2.229 MB / 397.3 MB, free: 420 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.004413, allocations: 491.5 kB / 397.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.004616, allocations: 19.81 kB / 397.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.004853, allocations: 63.27 kB / 397.9 MB, free: 15.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.004987, allocations: 47.55 kB / 397.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.005721, allocations: 287.4 kB / 398.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.006463, allocations: 0.613 MB / 398.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.006648, allocations: 61.42 kB / 398.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.006995, allocations: 295.4 kB / 399.2 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.007285, allocations: 195.4 kB / 399.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.041e-05/0.007366, allocations: 48 kB / 399.4 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.051e-05/0.007426, allocations: 44 kB / 399.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.007556, allocations: 131.5 kB / 399.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.007758, allocations: 171.6 kB / 399.7 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.008307, allocations: 0.5451 MB / 400.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.00831, allocations: 0 / 400.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008311, allocations: 0 / 400.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.008322, allocations: 0 / 400.3 MB, free: 13.43 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001223/0.009545, allocations: 0.8201 MB / 401.1 MB, free: 12.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.009586, allocations: 8.031 kB / 401.1 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.009689, allocations: 86.72 kB / 401.2 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.009798, allocations: 68.52 kB / 401.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.01036, allocations: 348.6 kB / 401.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.01041, allocations: 37.38 kB / 401.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.0105, allocations: 52.33 kB / 401.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009929/0.01149, allocations: 0.5959 MB / 402.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.01151, allocations: 4.188 kB / 402.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.01155, allocations: 20.38 kB / 402.3 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.01156, allocations: 12.12 kB / 402.3 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005145/0.01208, allocations: 479.1 kB / 402.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.01357, allocations: 1.196 MB / 404 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.01396, allocations: 290.4 kB / 404.3 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.01419, allocations: 249.1 kB / 404.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.01421, allocations: 3.984 kB / 404.5 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.01459, allocations: 439.2 kB / 404.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.253e-06/0.01459, allocations: 0 / 404.9 MB, free: 8.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.0009835/0.01558, allocations: 0.9721 MB / 405.9 MB, free: 7.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.01566, allocations: 219.9 kB / 406.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.01596, allocations: 461.7 kB / 406.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.01599, allocations: 45.64 kB / 406.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.01612, allocations: 268.5 kB / 406.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.01619, allocations: 146.8 kB / 407 MB, free: 6.309 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.01629, allocations: 134.3 kB / 407.2 MB, free: 6.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003379/0.01663, allocations: 366.8 kB / 407.5 MB, free: 5.805 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/Initialization.mo:1220:5-1220:82:writable] Error: Internal error Initialization.preBalanceInitialSystem2 failed because variable Controller.dpv:DISCRETE(fixed = false protected = true ) type: Real does not appear in any equation in the initial system and is not fixable. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.6230683727189898] Failed to read output from testmodel.py, exit status != 0: 0.0219884030520916 0.029880093000000003 0.019574379000000003 Calling exit ...