Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001464/0.001464, allocations: 107 kB / 16.45 MB, free: 6.453 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.001577/0.001577, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.315/1.315, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002815/0.002815, allocations: 288.1 kB / 309.1 MB, free: 3.969 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.118/1.118, allocations: 180.9 MB / 0.5333 GB, free: 13.84 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002691/0.002691, allocations: 104.9 kB / 0.7342 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1404, allocations: 95.34 MB / 0.8273 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005194/0.1456, allocations: 4.165 MB / 0.8314 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.1477, allocations: 1.367 MB / 0.8327 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.148, allocations: 35.75 kB / 0.8328 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.1483, allocations: 122.8 kB / 0.8329 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003172/0.1486, allocations: 182.4 kB / 0.833 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.1494, allocations: 410.6 kB / 0.8334 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009125/0.1503, allocations: 0.9554 MB / 0.8344 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004661/0.1508, allocations: 310.5 kB / 0.8347 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.1511, allocations: 342.7 kB / 0.835 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.1515, allocations: 338.3 kB / 0.8353 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.1516, allocations: 88 kB / 0.8354 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1517, allocations: 92 kB / 0.8355 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.1518, allocations: 175.4 kB / 0.8357 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.1522, allocations: 390 kB / 0.836 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.1532, allocations: 1.066 MB / 0.8371 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1532, allocations: 0 / 0.8371 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1532, allocations: 4 kB / 0.8371 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.1532, allocations: 0 / 0.8371 GB, free: 15.89 MB / 0.5919 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.001859/0.1551, allocations: 1.103 MB / 0.8382 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1551, allocations: 8.031 kB / 0.8382 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001231/0.1552, allocations: 102.7 kB / 0.8383 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.1553, allocations: 88.38 kB / 0.8383 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008617/0.1562, allocations: 0.5616 MB / 0.8389 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.1562, allocations: 45.62 kB / 0.8389 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/0.1563, allocations: 64.36 kB / 0.839 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1574, allocations: 0.6077 MB / 0.8396 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1574, allocations: 0 / 0.8396 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.1575, allocations: 27.98 kB / 0.8396 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.1575, allocations: 16 kB / 0.8396 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009731/0.1584, allocations: 461 kB / 0.8401 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.1612, allocations: 1.993 MB / 0.842 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009036/0.1621, allocations: 425 kB / 0.8424 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/0.1626, allocations: 230.6 kB / 0.8426 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.1626, allocations: 8.438 kB / 0.8427 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000545/0.1631, allocations: 261.2 kB / 0.8429 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 1.893e-06/0.1632, allocations: 0 / 0.8429 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001334/0.1645, allocations: 0.5885 MB / 0.8435 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.1645, allocations: 63.78 kB / 0.8435 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.165, allocations: 442.7 kB / 0.844 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.1651, allocations: 37.7 kB / 0.844 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.1653, allocations: 328.9 kB / 0.8443 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.1654, allocations: 174.5 kB / 0.8445 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.1656, allocations: 98.19 kB / 0.8446 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1658, allocations: 362.8 kB / 0.8449 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.1662, allocations: 165 kB / 0.8451 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/0.1666, allocations: 257.8 kB / 0.8453 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008486/0.1675, allocations: 452 kB / 0.8457 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1675, allocations: 0 / 0.8457 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001093/0.1686, allocations: 0.5665 MB / 0.8463 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.1686, allocations: 37.7 kB / 0.8463 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1686, allocations: 0 / 0.8463 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1686, allocations: 4 kB / 0.8463 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.1691, allocations: 115.8 kB / 0.8465 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1691, allocations: 4 kB / 0.8465 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.1694, allocations: 63.89 kB / 0.8465 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.1695, allocations: 16 kB / 0.8465 GB, free: 5.844 MB / 0.5919 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.0002393/0.1697, allocations: 209.7 kB / 0.8467 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.1698, allocations: 67.55 kB / 0.8468 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.1699, allocations: 61.59 kB / 0.8469 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.1699, allocations: 7.984 kB / 0.8469 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1699, allocations: 8 kB / 0.8469 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1699, allocations: 3.984 kB / 0.8469 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.1717, allocations: 1.174 MB / 0.848 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1717, allocations: 0 / 0.848 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.1722, allocations: 95.88 kB / 0.8481 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1722, allocations: 0 / 0.8481 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.1722, allocations: 12 kB / 0.8481 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.1722, allocations: 4 kB / 0.8481 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1722, allocations: 4 kB / 0.8481 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.1736, allocations: 0.7615 MB / 0.8489 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.1738, allocations: 172.7 kB / 0.849 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.1739, allocations: 19.94 kB / 0.8491 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.1741, allocations: 19.98 kB / 0.8491 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.1742, allocations: 36.38 kB / 0.8491 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.1743, allocations: 19.94 kB / 0.8491 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003563/0.1746, allocations: 306.9 kB / 0.8494 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1746, allocations: 0 / 0.8494 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004193/0.175, allocations: 139.6 kB / 0.8496 GB, free: 2.648 MB / 0.5919 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.001667/0.1767, allocations: 1.321 MB / 0.8508 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009465/0.1777, allocations: 473 kB / 0.8513 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1777, allocations: 0 / 0.8513 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004121/0.1781, allocations: 202.4 kB / 0.8515 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.1788, allocations: 155.8 kB / 0.8516 GB, free: 496 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007127/0.1859, allocations: 4.805 MB / 0.8563 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.1864, allocations: 0.8899 MB / 0.8572 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000225/0.1866, allocations: 64.59 kB / 0.8573 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.187, allocations: 219.4 kB / 0.8575 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.187, allocations: 0 / 0.8575 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03773/0.2247, allocations: 11.41 MB / 0.8686 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.204/8.429, allocations: 12.8 kB / 0.8686 GB, free: 15.13 MB / 0.6231 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.595436742994934] Failed to read output from testmodel.py, exit status != 0: 8.511952382978052 8.533094668 8.376080757 Calling exit ...