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.001235/0.001235, allocations: 106.5 kB / 16.45 MB, free: 6.449 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.001359/0.001359, allocations: 212 kB / 19.43 MB, free: 3.637 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.402/1.402, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 178] 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.002491/0.002491, allocations: 286.1 kB / 309.1 MB, free: 4 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.185/1.185, allocations: 180.9 MB / 0.5333 GB, free: 13.83 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.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.002889/0.002889, allocations: 104.8 kB / 0.7342 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1513, allocations: 95.35 MB / 0.8274 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004916/0.1563, allocations: 3.372 MB / 0.8306 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001098/0.1564, allocations: 55.84 kB / 0.8307 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.492e-05/0.1564, allocations: 4 kB / 0.8307 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.81e-05/0.1565, allocations: 3.938 kB / 0.8307 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.511e-05/0.1566, allocations: 11.94 kB / 0.8307 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.1571, allocations: 187.3 kB / 0.8309 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.1571, allocations: 27.86 kB / 0.8309 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.1572, allocations: 0 / 0.8309 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.094e-05/0.1572, allocations: 23.97 kB / 0.8309 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.21e-05/0.1573, allocations: 15.92 kB / 0.831 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.1573, allocations: 0 / 0.831 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.1576, allocations: 187.5 kB / 0.8311 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.1577, allocations: 4 kB / 0.8311 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.1577, allocations: 19.91 kB / 0.8312 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.158, allocations: 128 kB / 0.8313 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.158, allocations: 0 / 0.8313 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.158, allocations: 4 kB / 0.8313 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.158, allocations: 0 / 0.8313 GB, free: 5.824 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.0004241/0.1584, allocations: 351.3 kB / 0.8316 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1584, allocations: 8.031 kB / 0.8316 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.1585, allocations: 34.69 kB / 0.8317 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.1585, allocations: 12.92 kB / 0.8317 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1586, allocations: 164.3 kB / 0.8318 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/0.1587, allocations: 26.27 kB / 0.8319 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.1587, allocations: 8.125 kB / 0.8319 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.1588, allocations: 37.69 kB / 0.8319 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1588, allocations: 0 / 0.8319 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1588, allocations: 4 kB / 0.8319 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.1589, allocations: 0 / 0.8319 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.662e-05/0.1589, allocations: 19.98 kB / 0.8319 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.1596, allocations: 0.591 MB / 0.8325 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.307e-05/0.1596, allocations: 18.64 kB / 0.8325 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.1596, allocations: 4.859 kB / 0.8325 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.1599, allocations: 344.4 kB / 0.8329 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1599, allocations: 34.56 kB / 0.8329 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1599, allocations: 4 kB / 0.8329 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001513/0.1601, allocations: 33.64 kB / 0.8329 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.1601, allocations: 51.41 kB / 0.833 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.1602, allocations: 105.8 kB / 0.8331 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.868e-05/0.1603, allocations: 29.64 kB / 0.8331 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.1603, allocations: 84.22 kB / 0.8332 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.949e-06/0.1603, allocations: 11.89 kB / 0.8332 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.1604, allocations: 21.7 kB / 0.8332 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1605, allocations: 322.8 kB / 0.8335 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.1605, allocations: 0 / 0.8335 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.1605, allocations: 17.72 kB / 0.8335 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.429e-05/0.1606, allocations: 29.64 kB / 0.8336 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1606, allocations: 3.938 kB / 0.8336 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.529e-05/0.1607, allocations: 41.7 kB / 0.8336 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1607, allocations: 7.984 kB / 0.8336 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1607, allocations: 4 kB / 0.8336 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1607, allocations: 0 / 0.8336 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.1608, allocations: 7.938 kB / 0.8336 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1608, allocations: 0 / 0.8336 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.1608, allocations: 4 kB / 0.8336 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.1608, allocations: 64 / 0.8336 GB, free: 3.027 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.5e-05/0.1609, allocations: 118.4 kB / 0.8337 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1609, allocations: 4.281 kB / 0.8338 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.161, allocations: 120.9 kB / 0.8339 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-05/0.1611, allocations: 184.2 kB / 0.834 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-05/0.1612, allocations: 176.3 kB / 0.8342 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-05/0.1613, allocations: 188.3 kB / 0.8344 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.1616, allocations: 409.2 kB / 0.8348 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.713e-05/0.1616, allocations: 105 kB / 0.8349 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.1617, allocations: 112.9 kB / 0.835 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.679e-05/0.1617, allocations: 176.3 kB / 0.8352 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.189e-05/0.1618, allocations: 184.2 kB / 0.8353 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.129e-05/0.1619, allocations: 176.3 kB / 0.8355 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-05/0.162, allocations: 184.2 kB / 0.8357 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1621, allocations: 307.7 kB / 0.836 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/0.1622, allocations: 182 kB / 0.8361 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/0.1623, allocations: 184.2 kB / 0.8363 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1625, allocations: 109 kB / 0.8364 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/0.1626, allocations: 184.2 kB / 0.8366 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.1626, allocations: 109 kB / 0.8367 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.804e-05/0.1627, allocations: 83.27 kB / 0.8368 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1627, allocations: 0 / 0.8368 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003024/0.163, allocations: 43.81 kB / 0.8368 GB, free: 15.54 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.0006425/0.1636, allocations: 0.8688 MB / 0.8377 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.692e-05/0.1637, allocations: 11.94 kB / 0.8377 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1637, allocations: 0 / 0.8377 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.229e-06/0.1637, allocations: 3.938 kB / 0.8377 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.1642, allocations: 467.8 kB / 0.8381 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1653, allocations: 1.328 MB / 0.8394 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1656, allocations: 0.6768 MB / 0.8401 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.1657, allocations: 10.53 kB / 0.8401 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.1657, allocations: 11.44 kB / 0.8401 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.1657, allocations: 0 / 0.8401 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.1902, allocations: 2.198 MB / 0.8423 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.704, allocations: 2.344 kB / 0.8423 GB, free: 10.04 MB / 0.5919 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 11.714090103749186] Failed to read output from testmodel.py, exit status != 0: 7.770010935142636 7.783729517 7.622957266 Calling exit ...