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.001302/0.001302, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00142/0.00142, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002542/0.002542, allocations: 285.5 kB / 312.7 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.227/1.227, allocations: 180.6 MB / 0.5369 GB, free: 14.53 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002948/0.002948, allocations: 101.7 kB / 0.7395 GB, free: 28.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1627, allocations: 95.38 MB / 0.8326 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.00535/0.1681, allocations: 3.758 MB / 0.8363 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002277/0.1703, allocations: 1.333 MB / 0.8376 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.1706, allocations: 27.81 kB / 0.8376 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.1709, allocations: 130.7 kB / 0.8377 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.1713, allocations: 182.4 kB / 0.8379 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008297/0.1721, allocations: 416.8 kB / 0.8383 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009676/0.1731, allocations: 0.9554 MB / 0.8392 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/0.1735, allocations: 298.9 kB / 0.8395 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000362/0.1739, allocations: 346.7 kB / 0.8399 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.1742, allocations: 294.4 kB / 0.8401 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1744, allocations: 88 kB / 0.8402 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1745, allocations: 92 kB / 0.8403 GB, free: 460 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.1746, allocations: 179.4 kB / 0.8405 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.1749, allocations: 306.6 kB / 0.8408 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.176, allocations: 1.062 MB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.176, allocations: 4 kB / 0.8418 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.176, allocations: 0 / 0.8418 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.176, allocations: 4 kB / 0.8418 GB, free: 14.9 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.001861/0.1778, allocations: 1.084 MB / 0.8429 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1779, allocations: 13.34 kB / 0.8429 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.178, allocations: 98.69 kB / 0.843 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.1781, allocations: 92.38 kB / 0.8431 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/0.179, allocations: 0.5038 MB / 0.8436 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.1791, allocations: 41.69 kB / 0.8436 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.1792, allocations: 60.38 kB / 0.8437 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.1803, allocations: 0.6617 MB / 0.8443 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1803, allocations: 0 / 0.8443 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.502e-05/0.1804, allocations: 28 kB / 0.8443 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.1804, allocations: 12 kB / 0.8443 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.1814, allocations: 461 kB / 0.8448 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/0.1842, allocations: 1.775 MB / 0.8465 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009353/0.1851, allocations: 422.7 kB / 0.8469 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.1856, allocations: 218.1 kB / 0.8471 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.1856, allocations: 4.438 kB / 0.8471 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005484/0.1862, allocations: 261.3 kB / 0.8474 GB, free: 9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 1.963e-06/0.1862, allocations: 0 / 0.8474 GB, free: 9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001345/0.1875, allocations: 0.5892 MB / 0.848 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.1876, allocations: 59.83 kB / 0.848 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.1881, allocations: 453.9 kB / 0.8484 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.1882, allocations: 37.7 kB / 0.8485 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.1884, allocations: 328.8 kB / 0.8488 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.1886, allocations: 174.5 kB / 0.849 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.1888, allocations: 94.28 kB / 0.8491 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002007/0.189, allocations: 370.8 kB / 0.8494 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.1894, allocations: 190.9 kB / 0.8496 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.1898, allocations: 276.4 kB / 0.8499 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008629/0.1907, allocations: 459 kB / 0.8503 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1907, allocations: 0 / 0.8503 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001091/0.1918, allocations: 0.598 MB / 0.8509 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.1918, allocations: 29.7 kB / 0.8509 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.1918, allocations: 7.938 kB / 0.8509 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.1919, allocations: 7.938 kB / 0.8509 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.1924, allocations: 107.9 kB / 0.851 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.1924, allocations: 11.94 kB / 0.851 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.1927, allocations: 63.84 kB / 0.8511 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.1927, allocations: 20 kB / 0.8511 GB, free: 5.027 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 (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.0002516/0.193, allocations: 202.4 kB / 0.8513 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/0.1931, allocations: 63.59 kB / 0.8514 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.1932, allocations: 65.58 kB / 0.8514 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1932, allocations: 4 kB / 0.8514 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1932, allocations: 0 / 0.8514 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1932, allocations: 3.984 kB / 0.8514 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.195, allocations: 1.087 MB / 0.8525 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.195, allocations: 0 / 0.8525 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/0.1955, allocations: 95.88 kB / 0.8526 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1955, allocations: 0 / 0.8526 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.1955, allocations: 8 kB / 0.8526 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1955, allocations: 0 / 0.8526 GB, free: 3.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1955, allocations: 4 kB / 0.8526 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.1969, allocations: 0.7652 MB / 0.8533 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.1971, allocations: 99.52 kB / 0.8534 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.1972, allocations: 12 kB / 0.8535 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.1974, allocations: 23.97 kB / 0.8535 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.1975, allocations: 40.36 kB / 0.8535 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.1976, allocations: 12 kB / 0.8535 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003507/0.1979, allocations: 306.9 kB / 0.8538 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1979, allocations: 0 / 0.8538 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004204/0.1983, allocations: 143.7 kB / 0.854 GB, free: 2.043 MB / 0.5919 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.001686/0.2, allocations: 1.326 MB / 0.8552 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009455/0.201, allocations: 486.4 kB / 0.8557 GB, free: 204 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.201, allocations: 0 / 0.8557 GB, free: 204 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.2014, allocations: 202.9 kB / 0.8559 GB, free: 0 / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/0.2021, allocations: 164 kB / 0.8561 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007392/0.2095, allocations: 4.922 MB / 0.8609 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.2098, allocations: 292.6 kB / 0.8611 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002575/0.2101, allocations: 64.59 kB / 0.8612 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.2104, allocations: 219.4 kB / 0.8614 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2104, allocations: 0 / 0.8614 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03973/0.2501, allocations: 12.43 MB / 0.8736 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.33, allocations: 6.812 kB / 0.8736 GB, free: 14.03 MB / 0.6231 GB " [Timeout remaining time 649] (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: 15.907902489881963] Failed to read output from testmodel.py, exit status != 0: 11.440889874938875 11.463606113 11.28358538 Calling exit ...