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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 202.1 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.8588/0.8588, allocations: 134 MB / 440.1 MB, free: 0.875 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 60.38 kB / 0.6104 GB, free: 14.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1707, allocations: 84.67 MB / 0.6931 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5821/0.7528, allocations: 148.8 MB / 0.8383 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001861/0.7529, allocations: 55.33 kB / 0.8384 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.753, allocations: 0 / 0.8384 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.7531, allocations: 2.844 kB / 0.8384 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.841e-05/0.7532, allocations: 13.81 kB / 0.8384 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007658/0.754, allocations: 221.1 kB / 0.8386 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.56e-05/0.754, allocations: 33.81 kB / 0.8387 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.7541, allocations: 4 kB / 0.8387 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.974e-05/0.7541, allocations: 21.97 kB / 0.8387 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.7542, allocations: 12.39 kB / 0.8387 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.7542, allocations: 2.844 kB / 0.8387 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.7546, allocations: 207.1 kB / 0.8389 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.7546, allocations: 10.83 kB / 0.8389 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.7547, allocations: 12.95 kB / 0.8389 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.7549, allocations: 116.5 kB / 0.839 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7549, allocations: 2.656 kB / 0.839 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7549, allocations: 0 / 0.839 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.7549, allocations: 0 / 0.839 GB, free: 12.05 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.0004646/0.7554, allocations: 350.1 kB / 0.8394 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.7554, allocations: 7.781 kB / 0.8394 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.7557, allocations: 23.77 kB / 0.8394 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.7558, allocations: 167.8 kB / 0.8396 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/0.7559, allocations: 33.64 kB / 0.8396 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.7559, allocations: 2.781 kB / 0.8396 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.756, allocations: 50.02 kB / 0.8396 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.756, allocations: 0 / 0.8396 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.7561, allocations: 4 kB / 0.8396 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.7561, allocations: 6.438 kB / 0.8396 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.688e-05/0.7561, allocations: 20.67 kB / 0.8397 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.7565, allocations: 255.8 kB / 0.8399 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.258e-05/0.7565, allocations: 24.33 kB / 0.8399 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.7565, allocations: 7.266 kB / 0.8399 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.7567, allocations: 99.25 kB / 0.84 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.7567, allocations: 30.56 kB / 0.8401 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7567, allocations: 1.125 kB / 0.8401 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002227/0.757, allocations: 52.8 kB / 0.8401 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.757, allocations: 55.34 kB / 0.8402 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.087e-05/0.7571, allocations: 109.8 kB / 0.8403 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.7571, allocations: 29.83 kB / 0.8403 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.7572, allocations: 91.97 kB / 0.8404 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.327e-06/0.7572, allocations: 6.078 kB / 0.8404 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.7572, allocations: 16.34 kB / 0.8404 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.7574, allocations: 316.9 kB / 0.8407 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.7574, allocations: 2.531 kB / 0.8407 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.7574, allocations: 23.98 kB / 0.8407 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.501e-05/0.7575, allocations: 34.25 kB / 0.8408 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.7575, allocations: 4.875 kB / 0.8408 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.096e-05/0.7575, allocations: 55.53 kB / 0.8408 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.7575, allocations: 7.781 kB / 0.8408 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.7576, allocations: 0 / 0.8408 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.7576, allocations: 6.875 kB / 0.8408 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.811e-05/0.7576, allocations: 4.938 kB / 0.8409 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.7576, allocations: 0 / 0.8409 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.7576, allocations: 5.938 kB / 0.8409 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.7576, allocations: 2.688 kB / 0.8409 GB, free: 10.1 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.83e-05/0.7577, allocations: 112.7 kB / 0.841 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.7578, allocations: 4.609 kB / 0.841 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.7578, allocations: 7.109 kB / 0.841 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7578, allocations: 4.062 kB / 0.841 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7578, allocations: 4 kB / 0.841 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.7578, allocations: 7.922 kB / 0.841 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.7582, allocations: 360.3 kB / 0.8413 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.7582, allocations: 2.25 kB / 0.8413 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.7582, allocations: 4.438 kB / 0.8413 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7582, allocations: 3.938 kB / 0.8413 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.7582, allocations: 0 / 0.8413 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7582, allocations: 2.719 kB / 0.8413 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7582, allocations: 7.312 kB / 0.8414 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.697e-05/0.7583, allocations: 71.58 kB / 0.8414 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.7583, allocations: 80.11 kB / 0.8415 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.7584, allocations: 7.938 kB / 0.8415 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.289e-05/0.7584, allocations: 2.375 kB / 0.8415 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.7585, allocations: 10.44 kB / 0.8415 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-06/0.7585, allocations: 0 / 0.8415 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.364e-05/0.7585, allocations: 84.2 kB / 0.8416 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7585, allocations: 0 / 0.8416 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001893/0.7587, allocations: 4.906 kB / 0.8416 GB, free: 9.277 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.0001548/0.7589, allocations: 113.3 kB / 0.8417 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.104e-05/0.7589, allocations: 21.55 kB / 0.8417 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7589, allocations: 0 / 0.8417 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.467e-06/0.759, allocations: 2.531 kB / 0.8417 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.7592, allocations: 7 kB / 0.8417 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.7595, allocations: 135.9 kB / 0.8419 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.7599, allocations: 0.6808 MB / 0.8425 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.222e-05/0.7599, allocations: 6.781 kB / 0.8425 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.7599, allocations: 9.812 kB / 0.8426 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.7599, allocations: 0 / 0.8426 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of Templates: time 0.002955/0.7629, allocations: 0.5776 MB / 0.8431 GB, free: 8.027 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.261177340056747] Failed to read output from testmodel.py, exit status != 0: 0.770210349932313 0.785692893 0.027467743000000003 Calling exit ...