Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.001413/0.001413, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001483/0.001483, allocations: 212 kB / 22.24 MB, free: 5.242 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.805 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.002482/0.002482, allocations: 284.6 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.199/1.199, allocations: 180.6 MB / 0.5369 GB, free: 14.61 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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",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.002977/0.002977, allocations: 101.6 kB / 0.7395 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1578, allocations: 95.39 MB / 0.8326 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00542/0.1632, allocations: 3.905 MB / 0.8364 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000206/0.1634, allocations: 151.5 kB / 0.8366 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.1635, allocations: 0 / 0.8366 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.523e-05/0.1635, allocations: 3.938 kB / 0.8366 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.1636, allocations: 11.92 kB / 0.8366 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1639, allocations: 83.75 kB / 0.8367 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.283e-05/0.164, allocations: 39.83 kB / 0.8367 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1641, allocations: 4 kB / 0.8367 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.645e-05/0.1641, allocations: 8 kB / 0.8367 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.833e-05/0.1642, allocations: 19.91 kB / 0.8367 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.1642, allocations: 0 / 0.8367 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1644, allocations: 59.8 kB / 0.8368 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.1644, allocations: 4 kB / 0.8368 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.407e-05/0.1644, allocations: 7.938 kB / 0.8368 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.1646, allocations: 68.08 kB / 0.8369 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1646, allocations: 0 / 0.8369 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1646, allocations: 0 / 0.8369 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1646, allocations: 0 / 0.8369 GB, free: 3.93 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.0003612/0.1649, allocations: 258.3 kB / 0.8371 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.165, allocations: 9.344 kB / 0.8371 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.165, allocations: 34.75 kB / 0.8372 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.165, allocations: 4.938 kB / 0.8372 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.725e-05/0.1651, allocations: 114.5 kB / 0.8373 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.1652, allocations: 51.97 kB / 0.8373 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.1652, allocations: 16.06 kB / 0.8373 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1654, allocations: 67.39 kB / 0.8374 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1654, allocations: 0 / 0.8374 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1654, allocations: 0 / 0.8374 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.1654, allocations: 4 kB / 0.8374 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.149e-05/0.1654, allocations: 15.92 kB / 0.8374 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.1658, allocations: 227.9 kB / 0.8376 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.776e-05/0.1659, allocations: 18.58 kB / 0.8377 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.1659, allocations: 8.922 kB / 0.8377 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.166, allocations: 11.98 kB / 0.8377 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.166, allocations: 34.56 kB / 0.8377 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.166, allocations: 0 / 0.8377 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.1661, allocations: 33.64 kB / 0.8377 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.1661, allocations: 51.41 kB / 0.8378 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.1662, allocations: 113.8 kB / 0.8379 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1663, allocations: 25.7 kB / 0.8379 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1663, allocations: 88.09 kB / 0.838 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-06/0.1663, allocations: 7.953 kB / 0.838 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1664, allocations: 17.7 kB / 0.838 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1665, allocations: 318.9 kB / 0.8383 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.1665, allocations: 8 kB / 0.8384 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.323e-05/0.1665, allocations: 17.7 kB / 0.8384 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.1666, allocations: 21.66 kB / 0.8384 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1666, allocations: 0 / 0.8384 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.641e-05/0.1666, allocations: 53.62 kB / 0.8384 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1667, allocations: 6.031 kB / 0.8384 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1667, allocations: 0 / 0.8384 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1667, allocations: 64 / 0.8384 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.94e-05/0.1667, allocations: 12 kB / 0.8385 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1667, allocations: 4 kB / 0.8385 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.1667, allocations: 0 / 0.8385 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1667, allocations: 4 kB / 0.8385 GB, free: 2.086 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 7.694e-05/0.1668, allocations: 114.4 kB / 0.8386 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.1668, allocations: 4 kB / 0.8386 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.167, allocations: 120.9 kB / 0.8387 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.887e-05/0.167, allocations: 180.3 kB / 0.8389 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.51e-05/0.1671, allocations: 180.2 kB / 0.839 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.867e-05/0.1672, allocations: 184.2 kB / 0.8392 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.1674, allocations: 376.2 kB / 0.8396 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.756e-05/0.1675, allocations: 112.9 kB / 0.8397 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/0.1675, allocations: 101 kB / 0.8398 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.152e-05/0.1676, allocations: 180.3 kB / 0.8399 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.983e-05/0.1677, allocations: 192.1 kB / 0.8401 GB, free: 268 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.218e-05/0.1678, allocations: 180.3 kB / 0.8403 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.374e-05/0.1679, allocations: 180.2 kB / 0.8405 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.168, allocations: 311.7 kB / 0.8408 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.1681, allocations: 105 kB / 0.8409 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.483e-05/0.1682, allocations: 184.3 kB / 0.841 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1684, allocations: 112.9 kB / 0.8412 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.053e-05/0.1684, allocations: 176.3 kB / 0.8413 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.1685, allocations: 104.9 kB / 0.8414 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.1685, allocations: 91.27 kB / 0.8415 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1685, allocations: 0 / 0.8415 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002649/0.1688, allocations: 19.88 kB / 0.8415 GB, free: 14.75 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.0005644/0.1694, allocations: 0.8204 MB / 0.8423 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.051e-05/0.1694, allocations: 7.938 kB / 0.8423 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.1694, allocations: 4.125 kB / 0.8423 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.1694, allocations: 0 / 0.8423 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.1699, allocations: 463.7 kB / 0.8428 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1711, allocations: 1.333 MB / 0.8441 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.328e-05/0.1711, allocations: 55.36 kB / 0.8441 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.518e-05/0.1712, allocations: 15.92 kB / 0.8442 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.1712, allocations: 11.44 kB / 0.8442 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.1712, allocations: 0 / 0.8442 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02735/0.1985, allocations: 2.053 MB / 0.8462 GB, free: 10 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.76, allocations: 0 / 0.8462 GB, free: 10 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.808519184123725] Failed to read output from testmodel.py, exit status != 0: 10.877804369200021 10.906914563 10.737182775 Calling exit ...