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.001495/0.001495, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.001548/0.001548, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.37/1.37, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8073/0.8073, allocations: 133.9 MB / 443.5 MB, free: 14.24 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",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.001988/0.001988, allocations: 63.33 kB / 0.6141 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1432, allocations: 85.85 MB / 0.6979 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005325/0.1485, allocations: 4.137 MB / 0.702 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002282/0.1508, allocations: 1.361 MB / 0.7033 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.1511, allocations: 29.69 kB / 0.7033 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.1514, allocations: 130.9 kB / 0.7034 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003186/0.1518, allocations: 181.6 kB / 0.7036 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008201/0.1526, allocations: 412.8 kB / 0.704 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009233/0.1535, allocations: 0.9574 MB / 0.7049 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004893/0.154, allocations: 302.2 kB / 0.7052 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003591/0.1543, allocations: 350.7 kB / 0.7056 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.1547, allocations: 330.4 kB / 0.7059 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.1548, allocations: 92 kB / 0.706 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1549, allocations: 92 kB / 0.7061 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.1551, allocations: 171.4 kB / 0.7062 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.1554, allocations: 394.1 kB / 0.7066 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.1564, allocations: 1.069 MB / 0.7076 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1564, allocations: 0 / 0.7076 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1564, allocations: 4 kB / 0.7076 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.1564, allocations: 0 / 0.7076 GB, free: 5.109 MB / 0.5137 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.001871/0.1583, allocations: 1.1 MB / 0.7087 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1583, allocations: 9.703 kB / 0.7087 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.815e-05/0.1584, allocations: 17.5 kB / 0.7087 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.1585, allocations: 102.7 kB / 0.7088 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.1586, allocations: 88.41 kB / 0.7089 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009227/0.1595, allocations: 0.5615 MB / 0.7095 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.1596, allocations: 49.69 kB / 0.7095 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.1597, allocations: 64.31 kB / 0.7096 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.1608, allocations: 0.6075 MB / 0.7102 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.1608, allocations: 3.938 kB / 0.7102 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.1608, allocations: 27.94 kB / 0.7102 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1608, allocations: 20 kB / 0.7102 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009936/0.1618, allocations: 457 kB / 0.7107 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.1646, allocations: 2.005 MB / 0.7126 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/0.1655, allocations: 414.1 kB / 0.713 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.166, allocations: 229.6 kB / 0.7132 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.166, allocations: 12.42 kB / 0.7132 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005404/0.1665, allocations: 257.3 kB / 0.7135 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=49): time 2.254e-06/0.1665, allocations: 0 / 0.7135 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=49): time 0.00132/0.1679, allocations: 0.5846 MB / 0.7141 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.1679, allocations: 59.84 kB / 0.7141 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/0.1684, allocations: 446 kB / 0.7145 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.1684, allocations: 37.7 kB / 0.7146 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.1687, allocations: 325.6 kB / 0.7149 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.1688, allocations: 178.5 kB / 0.7151 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.169, allocations: 94.2 kB / 0.7151 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1691, allocations: 366.8 kB / 0.7155 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.1695, allocations: 161 kB / 0.7156 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004443/0.17, allocations: 253.8 kB / 0.7159 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008341/0.1708, allocations: 452 kB / 0.7163 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1708, allocations: 0 / 0.7163 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001053/0.1719, allocations: 0.5704 MB / 0.7169 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.1719, allocations: 33.7 kB / 0.7169 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1719, allocations: 0 / 0.7169 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1719, allocations: 4 kB / 0.7169 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.1724, allocations: 115.8 kB / 0.717 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1724, allocations: 4.25 kB / 0.717 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.1727, allocations: 63.64 kB / 0.7171 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.1728, allocations: 23.98 kB / 0.7171 GB, free: 11.05 MB / 0.5294 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002448/0.173, allocations: 206.4 kB / 0.7173 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.1731, allocations: 63.56 kB / 0.7174 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.1732, allocations: 65.58 kB / 0.7174 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1732, allocations: 7.938 kB / 0.7174 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1732, allocations: 8 kB / 0.7174 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.1733, allocations: 3.984 kB / 0.7175 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.175, allocations: 1.178 MB / 0.7186 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.175, allocations: 0 / 0.7186 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.1755, allocations: 95.88 kB / 0.7187 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1755, allocations: 4 kB / 0.7187 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.1755, allocations: 15.94 kB / 0.7187 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1755, allocations: 4 kB / 0.7187 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1755, allocations: 0 / 0.7187 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.1769, allocations: 0.7654 MB / 0.7195 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.177, allocations: 172.6 kB / 0.7196 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/0.1771, allocations: 15.98 kB / 0.7196 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.1774, allocations: 19.98 kB / 0.7197 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.1775, allocations: 32.39 kB / 0.7197 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.1775, allocations: 19.98 kB / 0.7197 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003429/0.1779, allocations: 306.9 kB / 0.72 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1779, allocations: 0 / 0.72 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004338/0.1783, allocations: 147.6 kB / 0.7201 GB, free: 7.844 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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.001655/0.1799, allocations: 1.323 MB / 0.7214 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009321/0.1809, allocations: 457 kB / 0.7219 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1809, allocations: 0 / 0.7219 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004297/0.1813, allocations: 206.9 kB / 0.7221 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.1821, allocations: 152.6 kB / 0.7222 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007185/0.1892, allocations: 4.814 MB / 0.7269 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.1898, allocations: 0.8899 MB / 0.7278 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002458/0.19, allocations: 60.58 kB / 0.7278 GB, free: 15.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.1903, allocations: 227.4 kB / 0.7281 GB, free: 15.53 MB / 0.545 GB Notification: Performance of SimCode: time 6.52e-07/0.1903, allocations: 0 / 0.7281 GB, free: 15.53 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.2228, allocations: 11.41 MB / 0.7392 GB, free: 4.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.671/8.894, allocations: 6.969 kB / 0.7392 GB, free: 4.336 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.420963019016199] Failed to read output from testmodel.py, exit status != 0: 9.260728799039498 9.042715939 8.882014407 Calling exit ...