Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001283/0.001283, allocations: 114.7 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.001339/0.001339, allocations: 210.3 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.442/1.442, 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.8569/0.8569, allocations: 133.9 MB / 443.5 MB, free: 13.84 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.00207/0.00207, allocations: 67.69 kB / 0.6141 GB, free: 38.33 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1574, allocations: 85.86 MB / 0.6979 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006146/0.1636, allocations: 4.107 MB / 0.7019 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.1638, allocations: 156.9 kB / 0.7021 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.1638, allocations: 1.156 kB / 0.7021 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.844e-05/0.1639, allocations: 3.938 kB / 0.7021 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.409e-05/0.164, allocations: 16.06 kB / 0.7021 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1643, allocations: 85.25 kB / 0.7022 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.1644, allocations: 33.5 kB / 0.7022 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.1645, allocations: 5.406 kB / 0.7022 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.725e-05/0.1645, allocations: 17.73 kB / 0.7022 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.1646, allocations: 13.59 kB / 0.7022 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1646, allocations: 1.406 kB / 0.7023 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.1648, allocations: 76.66 kB / 0.7023 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.1649, allocations: 11.03 kB / 0.7023 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.1649, allocations: 16.02 kB / 0.7023 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.165, allocations: 66.77 kB / 0.7024 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.165, allocations: 0 / 0.7024 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.165, allocations: 0 / 0.7024 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.165, allocations: 1.281 kB / 0.7024 GB, free: 10.04 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.0004626/0.1655, allocations: 331.4 kB / 0.7027 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.1655, allocations: 12.3 kB / 0.7027 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.561e-05/0.1656, allocations: 4.125 kB / 0.7027 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.189e-05/0.1656, allocations: 35.94 kB / 0.7028 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.1656, allocations: 6.188 kB / 0.7028 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1658, allocations: 165.8 kB / 0.7029 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.022e-05/0.1658, allocations: 27.39 kB / 0.703 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.1659, allocations: 5.219 kB / 0.703 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.166, allocations: 47.88 kB / 0.703 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.166, allocations: 0 / 0.703 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.166, allocations: 1.625 kB / 0.703 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.166, allocations: 3.938 kB / 0.703 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.263e-05/0.1661, allocations: 13.83 kB / 0.703 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1666, allocations: 344.5 kB / 0.7034 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.431e-05/0.1666, allocations: 21.2 kB / 0.7034 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.1666, allocations: 8.859 kB / 0.7034 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.992e-05/0.1667, allocations: 86.59 kB / 0.7035 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1668, allocations: 31.94 kB / 0.7035 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.1668, allocations: 4 kB / 0.7035 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.1669, allocations: 31.2 kB / 0.7035 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.167, allocations: 52.78 kB / 0.7036 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.1671, allocations: 107.3 kB / 0.7037 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1671, allocations: 27.08 kB / 0.7037 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.1671, allocations: 84.09 kB / 0.7038 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-06/0.1671, allocations: 1.375 kB / 0.7038 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.1672, allocations: 29.84 kB / 0.7038 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1673, allocations: 320.2 kB / 0.7041 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.502e-05/0.1674, allocations: 1.375 kB / 0.7041 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.1674, allocations: 21.83 kB / 0.7042 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.1674, allocations: 16.59 kB / 0.7042 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1674, allocations: 0 / 0.7042 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.735e-05/0.1675, allocations: 55.38 kB / 0.7042 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1675, allocations: 5.5 kB / 0.7042 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1675, allocations: 0 / 0.7042 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1676, allocations: 1.375 kB / 0.7042 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.1676, allocations: 4.125 kB / 0.7042 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1676, allocations: 5.359 kB / 0.7042 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.1676, allocations: 1.375 kB / 0.7042 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.1676, allocations: 13.25 kB / 0.7043 GB, free: 7.996 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 9.109e-05/0.1677, allocations: 111.9 kB / 0.7044 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.1678, allocations: 9.438 kB / 0.7044 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.1679, allocations: 117 kB / 0.7045 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.09e-05/0.168, allocations: 180.5 kB / 0.7047 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.061e-05/0.1681, allocations: 185.6 kB / 0.7048 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.59e-05/0.1682, allocations: 177.6 kB / 0.705 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.1685, allocations: 419.8 kB / 0.7054 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.356e-05/0.1685, allocations: 106.3 kB / 0.7055 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.1686, allocations: 101 kB / 0.7056 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.735e-05/0.1687, allocations: 185.5 kB / 0.7058 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.1688, allocations: 177.6 kB / 0.7059 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001076/0.1689, allocations: 185.6 kB / 0.7061 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.633e-05/0.1689, allocations: 180.3 kB / 0.7063 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.1691, allocations: 311.8 kB / 0.7066 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.1692, allocations: 183.5 kB / 0.7068 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.1694, allocations: 181.6 kB / 0.7069 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.1695, allocations: 113.1 kB / 0.7071 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.1696, allocations: 180.2 kB / 0.7072 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.1697, allocations: 106.3 kB / 0.7073 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.944e-05/0.1697, allocations: 88.72 kB / 0.7074 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1697, allocations: 0 / 0.7074 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002759/0.17, allocations: 16.31 kB / 0.7074 GB, free: 4.582 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.0005971/0.1706, allocations: 0.8226 MB / 0.7082 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.087e-05/0.1707, allocations: 9.438 kB / 0.7082 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1707, allocations: 0 / 0.7082 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.1707, allocations: 5.375 kB / 0.7082 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.1712, allocations: 467.8 kB / 0.7087 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1724, allocations: 1.31 MB / 0.71 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1727, allocations: 0.6759 MB / 0.7106 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.1728, allocations: 8.594 kB / 0.7106 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.1728, allocations: 12.69 kB / 0.7106 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1728, allocations: 1.438 kB / 0.7106 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.1915, allocations: 1.517 MB / 0.7121 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.561/8.752, allocations: 18.97 kB / 0.7121 GB, free: 15.88 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.394736949994694] Failed to read output from testmodel.py, exit status != 0: 9.120561652991455 8.899685231 8.73051473 Calling exit ...