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.001241/0.001241, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00153/0.00153, allocations: 216.4 kB / 23.04 MB, free: 5.078 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002436/0.002436, allocations: 290.9 kB / 313.5 MB, free: 2.824 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.166/1.166, allocations: 180.6 MB / 0.5377 GB, free: 12.93 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",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.002759/0.002759, allocations: 95.88 kB / 0.7403 GB, free: 28.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1558, allocations: 95.38 MB / 0.8335 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006162/0.162, allocations: 4.129 MB / 0.8375 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002202/0.1622, allocations: 167.5 kB / 0.8377 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.1622, allocations: 3.938 kB / 0.8377 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.507e-05/0.1623, allocations: 7.922 kB / 0.8377 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.512e-05/0.1624, allocations: 11.94 kB / 0.8377 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1627, allocations: 92.98 kB / 0.8378 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.182e-05/0.1628, allocations: 35.84 kB / 0.8378 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.1628, allocations: 4 kB / 0.8378 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.1629, allocations: 11.98 kB / 0.8378 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.1629, allocations: 19.92 kB / 0.8378 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.163, allocations: 0 / 0.8378 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.1632, allocations: 75.77 kB / 0.8379 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.1632, allocations: 4 kB / 0.8379 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.1632, allocations: 19.97 kB / 0.8379 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.1634, allocations: 68.02 kB / 0.838 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1634, allocations: 4 kB / 0.838 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1634, allocations: 4 kB / 0.838 GB, free: 4 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.1634, allocations: 0 / 0.838 GB, free: 4 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.0003923/0.1638, allocations: 254.3 kB / 0.8383 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.1638, allocations: 9.344 kB / 0.8383 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.67e-05/0.1638, allocations: 192 / 0.8383 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.1639, allocations: 38.75 kB / 0.8383 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.1639, allocations: 0.9375 kB / 0.8383 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.164, allocations: 110.5 kB / 0.8384 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-05/0.1641, allocations: 55.97 kB / 0.8385 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.1641, allocations: 7.922 kB / 0.8385 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1642, allocations: 49.61 kB / 0.8385 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1642, allocations: 4 kB / 0.8385 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1643, allocations: 0 / 0.8385 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.1643, allocations: 0 / 0.8385 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.1643, allocations: 15.97 kB / 0.8385 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.1647, allocations: 228 kB / 0.8388 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.304e-05/0.1648, allocations: 18.58 kB / 0.8388 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.267e-05/0.1648, allocations: 16.78 kB / 0.8388 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-05/0.1649, allocations: 4.062 kB / 0.8388 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1649, allocations: 38.5 kB / 0.8388 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1649, allocations: 0 / 0.8388 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000158/0.165, allocations: 33.8 kB / 0.8389 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.1651, allocations: 55.39 kB / 0.8389 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.1652, allocations: 105.8 kB / 0.839 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1652, allocations: 25.7 kB / 0.839 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.1652, allocations: 84.09 kB / 0.8391 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.1652, allocations: 15.94 kB / 0.8391 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.1653, allocations: 9.719 kB / 0.8391 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1654, allocations: 318.8 kB / 0.8394 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.1654, allocations: 11.97 kB / 0.8395 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.868e-05/0.1654, allocations: 21.64 kB / 0.8395 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.1655, allocations: 21.72 kB / 0.8395 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1655, allocations: 0 / 0.8395 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.417e-05/0.1656, allocations: 45.62 kB / 0.8395 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1656, allocations: 8 kB / 0.8396 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1656, allocations: 4.062 kB / 0.8396 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1656, allocations: 0 / 0.8396 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.1656, allocations: 8 kB / 0.8396 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1656, allocations: 0 / 0.8396 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.1657, allocations: 4 kB / 0.8396 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1657, allocations: 3.938 kB / 0.8396 GB, free: 2.191 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.892e-05/0.1657, allocations: 114.5 kB / 0.8397 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.1658, allocations: 0 / 0.8397 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.1659, allocations: 124.9 kB / 0.8398 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.197e-05/0.1659, allocations: 176.3 kB / 0.84 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.354e-05/0.166, allocations: 184.2 kB / 0.8401 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.352e-05/0.1661, allocations: 180.3 kB / 0.8403 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.1663, allocations: 380.2 kB / 0.8407 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.354e-05/0.1664, allocations: 112.9 kB / 0.8408 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.1664, allocations: 109 kB / 0.8409 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.269e-05/0.1665, allocations: 180.2 kB / 0.8411 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.192e-05/0.1666, allocations: 176.3 kB / 0.8412 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.901e-05/0.1667, allocations: 188.2 kB / 0.8414 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.268e-05/0.1667, allocations: 180.3 kB / 0.8416 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.1669, allocations: 307.8 kB / 0.8419 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.167, allocations: 112.9 kB / 0.842 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.085e-05/0.167, allocations: 184.2 kB / 0.8422 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.1672, allocations: 101 kB / 0.8423 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.1673, allocations: 188.2 kB / 0.8424 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.1673, allocations: 104.9 kB / 0.8425 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.297e-05/0.1674, allocations: 87.22 kB / 0.8426 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.1674, allocations: 0 / 0.8426 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002672/0.1676, allocations: 15.94 kB / 0.8426 GB, free: 14.86 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.0004852/0.1681, allocations: 0.8243 MB / 0.8434 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.38e-05/0.1682, allocations: 7.938 kB / 0.8434 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1682, allocations: 0 / 0.8434 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.1682, allocations: 4 kB / 0.8434 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.1687, allocations: 460.7 kB / 0.8439 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1697, allocations: 1.333 MB / 0.8452 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.17, allocations: 0.6806 MB / 0.8459 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.1701, allocations: 4.328 kB / 0.8459 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.1701, allocations: 15.44 kB / 0.8459 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.1701, allocations: 0 / 0.8459 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.1909, allocations: 1.631 MB / 0.8475 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.52, allocations: 4.062 kB / 0.8475 GB, free: 9.922 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.511205001967028] Failed to read output from testmodel.py, exit status != 0: 10.676767586963251 10.703822315 10.53573738 Calling exit ...