Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001289/0.001289, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001587/0.001587, allocations: 212.9 kB / 22.24 MB, free: 5.262 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.781 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.002437/0.002437, allocations: 290.8 kB / 312.7 MB, free: 2.582 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.169/1.169, 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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.002883/0.002883, allocations: 99.89 kB / 0.7395 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1675, allocations: 95.39 MB / 0.8326 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.0049/0.1724, allocations: 3.236 MB / 0.8358 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001159/0.1725, allocations: 55.86 kB / 0.8359 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.1726, allocations: 0 / 0.8359 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.1727, allocations: 3.938 kB / 0.8359 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.1727, allocations: 7.922 kB / 0.8359 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.1733, allocations: 199.2 kB / 0.8361 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.011e-05/0.1734, allocations: 35.8 kB / 0.8361 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1734, allocations: 4 kB / 0.8361 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.1735, allocations: 11.98 kB / 0.8361 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.1735, allocations: 19.92 kB / 0.8361 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.1736, allocations: 0 / 0.8361 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.1739, allocations: 131.5 kB / 0.8363 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.1739, allocations: 11.98 kB / 0.8363 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.1739, allocations: 7.984 kB / 0.8363 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1741, allocations: 124 kB / 0.8364 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1741, allocations: 0 / 0.8364 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1741, allocations: 4 kB / 0.8364 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.1742, allocations: 0 / 0.8364 GB, free: 4.453 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003788/0.1745, allocations: 266.2 kB / 0.8367 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1746, allocations: 9.344 kB / 0.8367 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.1746, allocations: 46.67 kB / 0.8367 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.1746, allocations: 4.938 kB / 0.8367 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.1748, allocations: 110.5 kB / 0.8368 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.647e-05/0.1748, allocations: 55.97 kB / 0.8369 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.1748, allocations: 12.11 kB / 0.8369 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.175, allocations: 67.39 kB / 0.8369 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.175, allocations: 0 / 0.8369 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.175, allocations: 4 kB / 0.8369 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.175, allocations: 3.938 kB / 0.837 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.264e-05/0.1751, allocations: 11.98 kB / 0.837 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.1755, allocations: 259.9 kB / 0.8372 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.1756, allocations: 18.58 kB / 0.8372 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.412e-05/0.1756, allocations: 4.859 kB / 0.8372 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.1757, allocations: 40.03 kB / 0.8373 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1757, allocations: 34.56 kB / 0.8373 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1757, allocations: 0 / 0.8373 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.1759, allocations: 41.62 kB / 0.8373 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.1759, allocations: 51.41 kB / 0.8374 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.176, allocations: 97.86 kB / 0.8375 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.176, allocations: 29.7 kB / 0.8375 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.1761, allocations: 92.02 kB / 0.8376 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.1761, allocations: 7.953 kB / 0.8376 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.1761, allocations: 13.72 kB / 0.8376 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1762, allocations: 322.9 kB / 0.8379 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.1763, allocations: 7.984 kB / 0.8379 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.1763, allocations: 13.72 kB / 0.838 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.1763, allocations: 21.66 kB / 0.838 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1763, allocations: 0 / 0.838 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.766e-05/0.1764, allocations: 53.62 kB / 0.838 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1764, allocations: 4 kB / 0.838 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1764, allocations: 0 / 0.838 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.1764, allocations: 4.062 kB / 0.838 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.213e-05/0.1765, allocations: 11.94 kB / 0.838 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.1765, allocations: 3.984 kB / 0.838 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.1765, allocations: 0 / 0.838 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.1765, allocations: 4 kB / 0.838 GB, free: 2.539 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 8.285e-05/0.1766, allocations: 109.8 kB / 0.8382 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.1766, allocations: 4 kB / 0.8382 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.1767, allocations: 127.4 kB / 0.8383 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-05/0.1768, allocations: 188.2 kB / 0.8385 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.818e-05/0.1769, allocations: 176.3 kB / 0.8386 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.147e-05/0.177, allocations: 184.3 kB / 0.8388 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.1772, allocations: 384.2 kB / 0.8392 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/0.1773, allocations: 105 kB / 0.8393 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.1773, allocations: 104.9 kB / 0.8394 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.019e-05/0.1774, allocations: 180.3 kB / 0.8395 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.43e-05/0.1775, allocations: 184.2 kB / 0.8397 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-05/0.1776, allocations: 184.2 kB / 0.8399 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.668e-05/0.1776, allocations: 176.3 kB / 0.8401 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.1778, allocations: 312 kB / 0.8404 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.1779, allocations: 108.9 kB / 0.8405 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.178, allocations: 188.2 kB / 0.8406 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1782, allocations: 105 kB / 0.8407 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.1783, allocations: 184.2 kB / 0.8409 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.1783, allocations: 109 kB / 0.841 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.476e-05/0.1784, allocations: 83.28 kB / 0.8411 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1784, allocations: 0 / 0.8411 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003065/0.1787, allocations: 43.8 kB / 0.8411 GB, free: 15.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0007076/0.1794, allocations: 0.861 MB / 0.842 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.751e-05/0.1795, allocations: 11.98 kB / 0.842 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1795, allocations: 0 / 0.842 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-06/0.1795, allocations: 3.938 kB / 0.842 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.18, allocations: 459.7 kB / 0.8424 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1812, allocations: 1.344 MB / 0.8437 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.066e-05/0.1813, allocations: 63.28 kB / 0.8438 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.121e-05/0.1813, allocations: 8 kB / 0.8438 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.1813, allocations: 19.42 kB / 0.8438 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.1813, allocations: 0 / 0.8438 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.2111, allocations: 2.692 MB / 0.8465 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.9, allocations: 0.7031 kB / 0.8465 GB, free: 9.781 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.81315887812525] Failed to read output from testmodel.py, exit status != 0: 11.009754701051861 11.031774525 10.853598523 Calling exit ...