Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.001505/0.001505, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001771/0.001771, allocations: 219.7 kB / 22.26 MB, free: 5.121 MB / 14.72 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 1.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8132/0.8132, allocations: 134 MB / 446.4 MB, free: 10.67 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 61.34 kB / 0.6185 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.147, allocations: 85.9 MB / 0.7024 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005866/0.1529, allocations: 4.157 MB / 0.7065 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.1556, allocations: 1.383 MB / 0.7078 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005617/0.1562, allocations: 27.81 kB / 0.7078 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004577/0.1566, allocations: 126.7 kB / 0.708 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.1572, allocations: 182.4 kB / 0.7081 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.1582, allocations: 431.6 kB / 0.7085 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.1595, allocations: 0.9515 MB / 0.7095 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000587/0.1601, allocations: 314.6 kB / 0.7098 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004945/0.1606, allocations: 346.7 kB / 0.7101 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.1611, allocations: 326.4 kB / 0.7104 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.1612, allocations: 92 kB / 0.7105 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.1614, allocations: 96 kB / 0.7106 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.1616, allocations: 183.4 kB / 0.7108 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.162, allocations: 386.1 kB / 0.7111 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.1632, allocations: 1.07 MB / 0.7122 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1632, allocations: 0 / 0.7122 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1632, allocations: 0 / 0.7122 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.371e-05/0.1632, allocations: 4 kB / 0.7122 GB, free: 7.359 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002244/0.1654, allocations: 1.08 MB / 0.7132 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1655, allocations: 8.031 kB / 0.7133 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.1656, allocations: 102.7 kB / 0.7133 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.1658, allocations: 84.42 kB / 0.7134 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000979/0.1668, allocations: 0.5038 MB / 0.7139 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.1668, allocations: 45.69 kB / 0.714 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.67e-05/0.1669, allocations: 60.33 kB / 0.714 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.168, allocations: 0.6115 MB / 0.7146 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.168, allocations: 0 / 0.7146 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.1681, allocations: 28 kB / 0.7146 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.1681, allocations: 16 kB / 0.7147 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.1691, allocations: 457 kB / 0.7151 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/0.1722, allocations: 1.958 MB / 0.717 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/0.1731, allocations: 417.7 kB / 0.7174 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.1735, allocations: 226.1 kB / 0.7176 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.1736, allocations: 4.438 kB / 0.7176 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000537/0.1741, allocations: 261.3 kB / 0.7179 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.214e-06/0.1741, allocations: 0 / 0.7179 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.001292/0.1754, allocations: 0.5846 MB / 0.7184 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.1755, allocations: 59.84 kB / 0.7185 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.176, allocations: 442 kB / 0.7189 GB, free: 244 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.176, allocations: 45.69 kB / 0.719 GB, free: 192 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.1763, allocations: 328.9 kB / 0.7193 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.1765, allocations: 178.5 kB / 0.7195 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.1766, allocations: 94.3 kB / 0.7195 GB, free: 15.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1768, allocations: 362.8 kB / 0.7199 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.1772, allocations: 169.2 kB / 0.7201 GB, free: 15.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.1777, allocations: 250.7 kB / 0.7203 GB, free: 14.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008293/0.1785, allocations: 451 kB / 0.7207 GB, free: 14.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1785, allocations: 4 kB / 0.7207 GB, free: 14.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001076/0.1796, allocations: 0.5612 MB / 0.7213 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.1796, allocations: 33.7 kB / 0.7213 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1796, allocations: 0 / 0.7213 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.1796, allocations: 16.23 kB / 0.7213 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004768/0.1801, allocations: 107.8 kB / 0.7214 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.1801, allocations: 7.984 kB / 0.7214 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.1804, allocations: 55.66 kB / 0.7215 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.1805, allocations: 20 kB / 0.7215 GB, free: 13.49 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002764/0.1808, allocations: 213.7 kB / 0.7217 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.1808, allocations: 59.56 kB / 0.7218 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.181, allocations: 65.58 kB / 0.7218 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.181, allocations: 8 kB / 0.7218 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.181, allocations: 0 / 0.7218 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.181, allocations: 0 / 0.7218 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.1828, allocations: 1.15 MB / 0.723 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.1828, allocations: 4 kB / 0.723 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.1833, allocations: 95.88 kB / 0.7231 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1833, allocations: 0 / 0.7231 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.1833, allocations: 12 kB / 0.7231 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.1833, allocations: 4 kB / 0.7231 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1833, allocations: 0 / 0.7231 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.1847, allocations: 0.769 MB / 0.7238 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.1849, allocations: 91.58 kB / 0.7239 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.1849, allocations: 16.12 kB / 0.7239 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.1852, allocations: 23.97 kB / 0.7239 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.1853, allocations: 40.36 kB / 0.724 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.1853, allocations: 12 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003636/0.1857, allocations: 314.9 kB / 0.7243 GB, free: 10.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1857, allocations: 0 / 0.7243 GB, free: 10.56 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004351/0.1861, allocations: 147.6 kB / 0.7244 GB, free: 10.41 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001684/0.1878, allocations: 1.313 MB / 0.7257 GB, free: 9.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009352/0.1887, allocations: 461.2 kB / 0.7262 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1887, allocations: 7.938 kB / 0.7262 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.1892, allocations: 202.4 kB / 0.7264 GB, free: 8.406 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/0.1899, allocations: 154.3 kB / 0.7265 GB, free: 8.262 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007501/0.1974, allocations: 4.805 MB / 0.7312 GB, free: 3.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.1979, allocations: 0.89 MB / 0.7321 GB, free: 2.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002522/0.1982, allocations: 68.58 kB / 0.7321 GB, free: 2.332 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.1985, allocations: 219.4 kB / 0.7323 GB, free: 2.121 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/0.1985, allocations: 0 / 0.7323 GB, free: 2.121 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.2421, allocations: 11.8 MB / 0.7439 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.65, allocations: 0 / 0.7439 GB, free: 6.547 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.445959952194244] Failed to read output from testmodel.py, exit status != 0: 11.752851381897926 12.045127458 11.878920864 Calling exit ...