Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.0016/0.0016, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00146/0.00146, allocations: 222.3 kB / 23 MB, free: 4.914 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.8306/0.8306, allocations: 134 MB / 447.2 MB, free: 10.07 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: translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [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.001919/0.001919, allocations: 63.94 kB / 0.6197 GB, free: 6.613 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1638, allocations: 85.91 MB / 0.7036 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4837/0.6475, allocations: 130.3 MB / 0.8309 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.6476, allocations: 54.77 kB / 0.8309 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.6476, allocations: 0 / 0.8309 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.516e-05/0.6477, allocations: 11.92 kB / 0.8309 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.6477, allocations: 10.38 kB / 0.8309 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/0.6483, allocations: 213.1 kB / 0.8311 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.449e-05/0.6484, allocations: 35.69 kB / 0.8312 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.6484, allocations: 2.719 kB / 0.8312 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.6485, allocations: 19.84 kB / 0.8312 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.6486, allocations: 15.56 kB / 0.8312 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.6486, allocations: 0 / 0.8312 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.6489, allocations: 162.6 kB / 0.8314 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.649, allocations: 10.73 kB / 0.8314 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.649, allocations: 5.156 kB / 0.8314 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.6492, allocations: 105.3 kB / 0.8315 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6492, allocations: 2.875 kB / 0.8315 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6492, allocations: 0 / 0.8315 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6492, allocations: 0 / 0.8315 GB, free: 13.93 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004095/0.6496, allocations: 269.7 kB / 0.8317 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.6496, allocations: 8.438 kB / 0.8318 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002983/0.6499, allocations: 28.94 kB / 0.8318 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.6501, allocations: 108.9 kB / 0.8319 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.6501, allocations: 61.72 kB / 0.8319 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.6501, allocations: 2.75 kB / 0.8319 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.6503, allocations: 76.81 kB / 0.832 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.6503, allocations: 0 / 0.832 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.6503, allocations: 7.984 kB / 0.832 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.6503, allocations: 2.906 kB / 0.832 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.6504, allocations: 21.39 kB / 0.832 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.6508, allocations: 204.2 kB / 0.8322 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.921e-05/0.6508, allocations: 27.95 kB / 0.8323 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.6508, allocations: 8.844 kB / 0.8323 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.651, allocations: 10.66 kB / 0.8323 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.651, allocations: 41.33 kB / 0.8323 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.651, allocations: 3.938 kB / 0.8323 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002283/0.6512, allocations: 47.09 kB / 0.8324 GB, free: 13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.6513, allocations: 58.16 kB / 0.8324 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.6514, allocations: 99.02 kB / 0.8325 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.6514, allocations: 25.7 kB / 0.8326 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.6514, allocations: 94.39 kB / 0.8326 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.6514, allocations: 11.94 kB / 0.8327 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.6515, allocations: 15.59 kB / 0.8327 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.6516, allocations: 322.9 kB / 0.833 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.6517, allocations: 2.562 kB / 0.833 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.6517, allocations: 26.66 kB / 0.833 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.6517, allocations: 30.45 kB / 0.833 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6517, allocations: 0 / 0.833 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.425e-05/0.6518, allocations: 56.98 kB / 0.8331 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.6518, allocations: 10.16 kB / 0.8331 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.6518, allocations: 4.094 kB / 0.8331 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.6518, allocations: 2.25 kB / 0.8331 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.6519, allocations: 8.969 kB / 0.8331 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6519, allocations: 6.953 kB / 0.8331 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.6519, allocations: 0 / 0.8331 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.6519, allocations: 6.906 kB / 0.8331 GB, free: 12.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.843e-05/0.652, allocations: 108.3 kB / 0.8332 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.6521, allocations: 0 / 0.8332 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.6521, allocations: 10 kB / 0.8332 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.6521, allocations: 0 / 0.8332 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6521, allocations: 4 kB / 0.8332 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6521, allocations: 0 / 0.8332 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.6524, allocations: 312.6 kB / 0.8335 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6524, allocations: 6.219 kB / 0.8335 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.461e-05/0.6524, allocations: 2.562 kB / 0.8335 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6524, allocations: 0 / 0.8335 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.6524, allocations: 7.219 kB / 0.8336 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6524, allocations: 3.938 kB / 0.8336 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6524, allocations: 3.938 kB / 0.8336 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.462e-05/0.6525, allocations: 72.22 kB / 0.8336 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-06/0.6525, allocations: 6.969 kB / 0.8336 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.6525, allocations: 6.562 kB / 0.8336 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.299e-05/0.6526, allocations: 6.656 kB / 0.8337 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.6526, allocations: 0 / 0.8337 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.6526, allocations: 6.203 kB / 0.8337 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.612e-05/0.6527, allocations: 82.5 kB / 0.8337 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6527, allocations: 0 / 0.8337 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001894/0.6529, allocations: 5.531 kB / 0.8337 GB, free: 11.58 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000119/0.653, allocations: 99.33 kB / 0.8338 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.297e-05/0.6531, allocations: 22.39 kB / 0.8339 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6531, allocations: 0 / 0.8339 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.6531, allocations: 9.375 kB / 0.8339 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.6533, allocations: 6.891 kB / 0.8339 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.6536, allocations: 146.4 kB / 0.834 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.51e-05/0.6536, allocations: 65.06 kB / 0.8341 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.6537, allocations: 9.969 kB / 0.8341 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.6537, allocations: 0 / 0.8341 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of Templates: time 0.002005/0.6557, allocations: 0.6272 MB / 0.8347 GB, free: 10.93 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.09723274409771] Failed to read output from testmodel.py, exit status != 0: 0.662961333990097 0.678106311 0.025793399 Calling exit ...