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.001431/0.001431, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.001581/0.001581, allocations: 212.1 kB / 22.24 MB, free: 5.121 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.766 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.9089/0.9089, allocations: 134 MB / 446.4 MB, free: 9.922 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.002095/0.002095, allocations: 62.97 kB / 0.6189 GB, free: 6.391 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2172, allocations: 85.91 MB / 0.7028 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5453/0.7625, allocations: 130.4 MB / 0.8301 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.7626, allocations: 52.03 kB / 0.8302 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.7627, allocations: 0 / 0.8302 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.7628, allocations: 6.594 kB / 0.8302 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.28e-05/0.7629, allocations: 18.28 kB / 0.8302 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/0.7638, allocations: 212.9 kB / 0.8304 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.7639, allocations: 26.83 kB / 0.8304 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.955e-05/0.764, allocations: 0 / 0.8304 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.844e-05/0.7641, allocations: 25.94 kB / 0.8305 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.7642, allocations: 18.11 kB / 0.8305 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.7642, allocations: 2.188 kB / 0.8305 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005762/0.7648, allocations: 151.8 kB / 0.8306 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.7648, allocations: 13.31 kB / 0.8306 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.7649, allocations: 8.938 kB / 0.8306 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004057/0.7653, allocations: 109.2 kB / 0.8307 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.7653, allocations: 0 / 0.8307 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7653, allocations: 0 / 0.8307 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.7653, allocations: 0 / 0.8307 GB, free: 13.6 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.0005238/0.7658, allocations: 262.5 kB / 0.831 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.7659, allocations: 14.62 kB / 0.831 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/0.7662, allocations: 22.34 kB / 0.831 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.7664, allocations: 113.5 kB / 0.8311 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.7665, allocations: 61.83 kB / 0.8312 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.7665, allocations: 3.938 kB / 0.8312 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.7667, allocations: 72.55 kB / 0.8313 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.7667, allocations: 6.047 kB / 0.8313 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.7667, allocations: 2.938 kB / 0.8313 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.7667, allocations: 0 / 0.8313 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.907e-05/0.7668, allocations: 29.36 kB / 0.8313 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000404/0.7672, allocations: 207.9 kB / 0.8315 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.329e-05/0.7673, allocations: 28.45 kB / 0.8315 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.7673, allocations: 7.391 kB / 0.8315 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.7674, allocations: 14.86 kB / 0.8316 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.7675, allocations: 34.56 kB / 0.8316 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.7675, allocations: 2.531 kB / 0.8316 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002801/0.7677, allocations: 47 kB / 0.8316 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.7678, allocations: 55.41 kB / 0.8317 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.7679, allocations: 109.4 kB / 0.8318 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.7679, allocations: 25.7 kB / 0.8318 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.768, allocations: 91.03 kB / 0.8319 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.227e-06/0.768, allocations: 3.953 kB / 0.8319 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.768, allocations: 16.31 kB / 0.8319 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.7682, allocations: 317.5 kB / 0.8322 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.7682, allocations: 6.266 kB / 0.8322 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.7682, allocations: 28.55 kB / 0.8323 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.7683, allocations: 37.03 kB / 0.8323 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7683, allocations: 0 / 0.8323 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001207/0.7684, allocations: 55.03 kB / 0.8324 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.7684, allocations: 4.906 kB / 0.8324 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7684, allocations: 0 / 0.8324 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.7685, allocations: 6.703 kB / 0.8324 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.868e-05/0.7685, allocations: 9.875 kB / 0.8324 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.7685, allocations: 0 / 0.8324 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.7686, allocations: 2.188 kB / 0.8324 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.7686, allocations: 3.938 kB / 0.8324 GB, free: 11.92 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 9.213e-05/0.7687, allocations: 108.5 kB / 0.8325 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.7687, allocations: 2.781 kB / 0.8325 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.7687, allocations: 7.312 kB / 0.8325 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7687, allocations: 2.812 kB / 0.8325 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.7687, allocations: 1.312 kB / 0.8325 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.7687, allocations: 3.984 kB / 0.8325 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.7691, allocations: 316.6 kB / 0.8328 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7691, allocations: 0 / 0.8328 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.7691, allocations: 6.562 kB / 0.8328 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7691, allocations: 2.531 kB / 0.8328 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.7691, allocations: 3.438 kB / 0.8328 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.7691, allocations: 3.938 kB / 0.8328 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7691, allocations: 2.375 kB / 0.8328 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.936e-05/0.7692, allocations: 76.94 kB / 0.8329 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.7692, allocations: 2.188 kB / 0.8329 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.7692, allocations: 4.094 kB / 0.8329 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.7693, allocations: 11.2 kB / 0.8329 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.7693, allocations: 2.781 kB / 0.8329 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.7694, allocations: 3.938 kB / 0.8329 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.699e-05/0.7694, allocations: 88.7 kB / 0.833 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7694, allocations: 0 / 0.833 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002025/0.7696, allocations: 5.406 kB / 0.833 GB, free: 11.26 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.0001683/0.7698, allocations: 103.4 kB / 0.8331 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.73e-05/0.7699, allocations: 26.12 kB / 0.8331 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7699, allocations: 0 / 0.8331 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.3e-05/0.7699, allocations: 6.906 kB / 0.8331 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.7702, allocations: 5.5 kB / 0.8331 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.7705, allocations: 120.4 kB / 0.8333 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.695e-05/0.7705, allocations: 56.7 kB / 0.8333 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.252e-05/0.7706, allocations: 13.17 kB / 0.8333 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.7706, allocations: 10.34 kB / 0.8333 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.7706, allocations: 0 / 0.8333 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Templates: time 0.003446/0.7741, allocations: 0.6079 MB / 0.8339 GB, free: 10.64 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: 6.472589695826173] Failed to read output from testmodel.py, exit status != 0: 0.7821953687816858 0.799570529 0.030779732 Calling exit ...