Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.001446/0.001446, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001597/0.001597, allocations: 217 kB / 22.25 MB, free: 5.082 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.311/1.311, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 179] 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.002367/0.002367, allocations: 285.8 kB / 312.7 MB, free: 2.816 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.108/1.108, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.002693/0.002693, allocations: 103.4 kB / 0.7396 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1624, allocations: 95.38 MB / 0.8327 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003205/0.1656, allocations: 2.173 MB / 0.8349 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1672, allocations: 1.084 MB / 0.8359 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1673, allocations: 7.875 kB / 0.8359 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.852e-05/0.1674, allocations: 23.67 kB / 0.8359 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.1676, allocations: 83.28 kB / 0.836 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.168, allocations: 191.5 kB / 0.8362 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.1684, allocations: 294.8 kB / 0.8365 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.1685, allocations: 49.12 kB / 0.8365 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.1687, allocations: 111.6 kB / 0.8366 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1689, allocations: 139.4 kB / 0.8368 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.1689, allocations: 16 kB / 0.8368 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.1693, allocations: 303.6 kB / 0.8371 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.1694, allocations: 55.7 kB / 0.8371 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1695, allocations: 115.3 kB / 0.8372 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.1699, allocations: 334.5 kB / 0.8376 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1699, allocations: 0 / 0.8376 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1699, allocations: 3.938 kB / 0.8376 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.1699, allocations: 0 / 0.8376 GB, free: 3.676 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00104/0.1709, allocations: 0.5593 MB / 0.8381 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.171, allocations: 13.34 kB / 0.8381 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.171, allocations: 50.69 kB / 0.8382 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.1712, allocations: 40.73 kB / 0.8382 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.1716, allocations: 217.5 kB / 0.8384 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1716, allocations: 16.58 kB / 0.8384 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.1716, allocations: 28.31 kB / 0.8385 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.1721, allocations: 228.7 kB / 0.8387 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1721, allocations: 0 / 0.8387 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1722, allocations: 15.94 kB / 0.8387 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1722, allocations: 0 / 0.8387 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.1728, allocations: 199.8 kB / 0.8389 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.1739, allocations: 0.9102 MB / 0.8398 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/0.1746, allocations: 233.1 kB / 0.84 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.1749, allocations: 97.58 kB / 0.8401 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.175, allocations: 8.312 kB / 0.8401 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.175, allocations: 38.55 kB / 0.8401 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.183e-06/0.175, allocations: 0 / 0.8401 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001047/0.176, allocations: 333.2 kB / 0.8405 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.1761, allocations: 81.11 kB / 0.8405 GB, free: 448 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.1764, allocations: 272.2 kB / 0.8408 GB, free: 172 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1764, allocations: 25.7 kB / 0.8408 GB, free: 140 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.1765, allocations: 160.5 kB / 0.841 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.1766, allocations: 59.48 kB / 0.841 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.1766, allocations: 45.7 kB / 0.8411 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1768, allocations: 334.8 kB / 0.8414 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.1771, allocations: 87.91 kB / 0.8415 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.1774, allocations: 148.3 kB / 0.8416 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/0.178, allocations: 238.4 kB / 0.8418 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.178, allocations: 0 / 0.8418 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007614/0.1788, allocations: 309 kB / 0.8421 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1788, allocations: 9.875 kB / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1788, allocations: 4.156 kB / 0.8421 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1788, allocations: 7.984 kB / 0.8422 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.1791, allocations: 55.89 kB / 0.8422 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.1791, allocations: 8.062 kB / 0.8422 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.1793, allocations: 35.86 kB / 0.8422 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.1793, allocations: 15.98 kB / 0.8423 GB, free: 14.58 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001267/0.1794, allocations: 138.4 kB / 0.8424 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1796, allocations: 35.75 kB / 0.8424 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007654/0.1803, allocations: 283.1 kB / 0.8427 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1803, allocations: 4 kB / 0.8427 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1803, allocations: 3.938 kB / 0.8427 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1803, allocations: 0 / 0.8427 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.1807, allocations: 268.5 kB / 0.843 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1807, allocations: 0 / 0.843 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.1809, allocations: 51.94 kB / 0.843 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.1809, allocations: 4 kB / 0.843 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1809, allocations: 8 kB / 0.843 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.181, allocations: 4 kB / 0.843 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.181, allocations: 3.938 kB / 0.843 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007834/0.1817, allocations: 437.5 kB / 0.8434 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.1818, allocations: 35.73 kB / 0.8435 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.1818, allocations: 7.938 kB / 0.8435 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.1821, allocations: 23.97 kB / 0.8435 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.1821, allocations: 19.97 kB / 0.8435 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1821, allocations: 4 kB / 0.8435 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000169/0.1823, allocations: 195.1 kB / 0.8437 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.1823, allocations: 0 / 0.8437 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003391/0.1826, allocations: 71.81 kB / 0.8438 GB, free: 12.94 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001159/0.1838, allocations: 0.9847 MB / 0.8448 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006858/0.1845, allocations: 215.7 kB / 0.845 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1845, allocations: 0 / 0.845 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.1848, allocations: 112.2 kB / 0.8451 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.1853, allocations: 73.58 kB / 0.8451 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.1892, allocations: 2.712 MB / 0.8478 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.1896, allocations: 0.7598 MB / 0.8485 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.1897, allocations: 30.23 kB / 0.8486 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.1898, allocations: 87.41 kB / 0.8486 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1898, allocations: 0 / 0.8486 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03337/0.2232, allocations: 6.801 MB / 0.8553 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.4, allocations: 13.39 kB / 0.8553 GB, free: 1.195 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.23262662200068] Failed to read output from testmodel.py, exit status != 0: 10.505228173999058 10.532493303 10.357718209 Calling exit ...