Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001281/0.001281, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001467/0.001467, allocations: 212 kB / 20.13 MB, free: 2.949 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.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8624/0.8624, allocations: 133.9 MB / 443.5 MB, free: 13.82 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00201/0.00201, allocations: 72.06 kB / 0.6141 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1604, allocations: 85.85 MB / 0.6979 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005902/0.1663, allocations: 3.798 MB / 0.7016 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002225/0.1665, allocations: 155 kB / 0.7018 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.1665, allocations: 0 / 0.7018 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.1666, allocations: 4 kB / 0.7018 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.255e-05/0.1667, allocations: 14.84 kB / 0.7018 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.167, allocations: 84.16 kB / 0.7019 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.1671, allocations: 40.78 kB / 0.7019 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.1672, allocations: 1.125 kB / 0.7019 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.365e-05/0.1672, allocations: 18.36 kB / 0.7019 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.1673, allocations: 17.91 kB / 0.702 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1673, allocations: 1.625 kB / 0.702 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.1679, allocations: 201 kB / 0.7021 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.1679, allocations: 19.09 kB / 0.7022 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.1679, allocations: 3.875 kB / 0.7022 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.1681, allocations: 67.94 kB / 0.7022 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1681, allocations: 0 / 0.7022 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1681, allocations: 1.375 kB / 0.7022 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1681, allocations: 0 / 0.7022 GB, free: 10.24 MB / 0.5137 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.0004436/0.1685, allocations: 331.8 kB / 0.7025 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1686, allocations: 15.28 kB / 0.7026 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.978e-05/0.1686, allocations: 5.562 kB / 0.7026 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.1686, allocations: 36.06 kB / 0.7026 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.1687, allocations: 2.312 kB / 0.7026 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1688, allocations: 164.3 kB / 0.7028 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.708e-05/0.1689, allocations: 29.02 kB / 0.7028 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1689, allocations: 9.297 kB / 0.7028 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.169, allocations: 47.3 kB / 0.7028 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.169, allocations: 0 / 0.7028 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.169, allocations: 0 / 0.7028 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.1691, allocations: 5.375 kB / 0.7028 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.1691, allocations: 13.61 kB / 0.7029 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.1696, allocations: 341 kB / 0.7032 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.903e-05/0.1696, allocations: 19.95 kB / 0.7032 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.1696, allocations: 6.234 kB / 0.7032 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.1697, allocations: 82.61 kB / 0.7033 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1698, allocations: 34.56 kB / 0.7033 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1698, allocations: 0 / 0.7033 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.1699, allocations: 40.5 kB / 0.7034 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1699, allocations: 51.41 kB / 0.7034 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1701, allocations: 104.7 kB / 0.7035 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1701, allocations: 25.7 kB / 0.7035 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.1701, allocations: 93.45 kB / 0.7036 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.1701, allocations: 5.5 kB / 0.7036 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.1702, allocations: 20.36 kB / 0.7037 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.1703, allocations: 320.2 kB / 0.704 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.636e-05/0.1704, allocations: 6.734 kB / 0.704 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.1704, allocations: 13.84 kB / 0.704 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.1704, allocations: 35.09 kB / 0.704 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1704, allocations: 1.375 kB / 0.704 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.795e-05/0.1705, allocations: 46.06 kB / 0.7041 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1705, allocations: 6.75 kB / 0.7041 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1705, allocations: 1.375 kB / 0.7041 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1705, allocations: 0 / 0.7041 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.637e-05/0.1706, allocations: 13.42 kB / 0.7041 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1706, allocations: 0 / 0.7041 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.1706, allocations: 1.375 kB / 0.7041 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1706, allocations: 5.312 kB / 0.7041 GB, free: 8.199 MB / 0.5137 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.634e-05/0.1707, allocations: 113.3 kB / 0.7042 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.1707, allocations: 1.375 kB / 0.7042 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.1708, allocations: 123.7 kB / 0.7043 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001304/0.171, allocations: 185.6 kB / 0.7045 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.37e-05/0.1711, allocations: 177.6 kB / 0.7047 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.739e-05/0.1712, allocations: 184.2 kB / 0.7048 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.1715, allocations: 409.3 kB / 0.7052 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/0.1715, allocations: 101 kB / 0.7053 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.1716, allocations: 106.3 kB / 0.7054 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-05/0.1717, allocations: 181.6 kB / 0.7056 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/0.1718, allocations: 184.2 kB / 0.7058 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.132e-05/0.1718, allocations: 181.6 kB / 0.7059 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.497e-05/0.1719, allocations: 177.6 kB / 0.7061 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.1721, allocations: 311.8 kB / 0.7064 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.1722, allocations: 187.4 kB / 0.7066 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.453e-05/0.1723, allocations: 181.6 kB / 0.7068 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1725, allocations: 107.7 kB / 0.7069 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/0.1725, allocations: 181.6 kB / 0.707 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.1726, allocations: 102.4 kB / 0.7071 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.484e-05/0.1727, allocations: 95.33 kB / 0.7072 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1727, allocations: 1.375 kB / 0.7072 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002718/0.1729, allocations: 20.31 kB / 0.7072 GB, free: 4.789 MB / 0.5137 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.0005524/0.1735, allocations: 0.8264 MB / 0.7081 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.085e-05/0.1736, allocations: 10.86 kB / 0.7081 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1736, allocations: 0 / 0.7081 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.779e-06/0.1736, allocations: 8.062 kB / 0.7081 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.174, allocations: 459.8 kB / 0.7085 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.1751, allocations: 1.31 MB / 0.7098 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1754, allocations: 0.6791 MB / 0.7104 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.881e-05/0.1755, allocations: 6.656 kB / 0.7105 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.1755, allocations: 12.92 kB / 0.7105 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1755, allocations: 1.344 kB / 0.7105 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.1933, allocations: 1.55 MB / 0.712 GB, free: 120 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/8.336, allocations: 7.109 kB / 0.712 GB, free: 116 kB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.063952326017898] Failed to read output from testmodel.py, exit status != 0: 8.736422949994449 8.474664922 8.303592285 Calling exit ...