Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.0008881/0.0008881, allocations: 119 kB / 19.7 MB, free: 0.5195 MB / 13.93 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.0007945/0.0007945, allocations: 207.8 kB / 23 MB, free: 3.117 MB / 13.93 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 0.8384/0.8384, allocations: 230.6 MB / 256.8 MB, free: 3.441 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7489/0.7489, allocations: 203.8 MB / 0.5049 GB, free: 0.668 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [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.0008941/0.0008941, allocations: 71.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.5289, allocations: 102 MB / 0.8191 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1372/0.6661, allocations: 151.2 MB / 0.9667 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.6662, allocations: 51.84 kB / 0.9668 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.6662, allocations: 4 kB / 0.9668 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.6664, allocations: 3.938 kB / 0.9668 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.6664, allocations: 19.91 kB / 0.9668 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.6669, allocations: 116.6 kB / 0.9669 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.736e-05/0.667, allocations: 31.86 kB / 0.9669 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.6671, allocations: 0 / 0.9669 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.6671, allocations: 23.91 kB / 0.967 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.6672, allocations: 7.984 kB / 0.967 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.6672, allocations: 0 / 0.967 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.6674, allocations: 99.7 kB / 0.9671 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.6674, allocations: 11.92 kB / 0.9671 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.6675, allocations: 7.984 kB / 0.9671 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.6676, allocations: 71.66 kB / 0.9671 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6676, allocations: 0 / 0.9671 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6676, allocations: 0 / 0.9671 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.6676, allocations: 0 / 0.9671 GB, free: 11.11 MB / 0.7448 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.0003453/0.668, allocations: 266.5 kB / 0.9674 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.668, allocations: 9.469 kB / 0.9674 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.6682, allocations: 20.92 kB / 0.9674 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.162e-05/0.6683, allocations: 110.5 kB / 0.9675 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.6683, allocations: 63.28 kB / 0.9676 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.6684, allocations: 4 kB / 0.9676 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.6685, allocations: 49.67 kB / 0.9676 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.6685, allocations: 0 / 0.9676 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.6685, allocations: 0 / 0.9676 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.6685, allocations: 4 kB / 0.9676 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.6685, allocations: 19.98 kB / 0.9677 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.6688, allocations: 228 kB / 0.9679 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.6689, allocations: 26.52 kB / 0.9679 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.472e-05/0.6689, allocations: 4.859 kB / 0.9679 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.6689, allocations: 4 kB / 0.9679 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.6689, allocations: 30.56 kB / 0.9679 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.6689, allocations: 3.938 kB / 0.9679 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.000115/0.669, allocations: 33.77 kB / 0.968 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.6691, allocations: 59.28 kB / 0.968 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/0.6691, allocations: 113.8 kB / 0.9681 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.6691, allocations: 25.7 kB / 0.9682 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.6692, allocations: 92.17 kB / 0.9683 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.6692, allocations: 11.98 kB / 0.9683 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.6692, allocations: 21.67 kB / 0.9683 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.6693, allocations: 310.8 kB / 0.9686 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.14e-05/0.6693, allocations: 4 kB / 0.9686 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.6693, allocations: 30.5 kB / 0.9686 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.441e-05/0.6694, allocations: 34.52 kB / 0.9687 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6694, allocations: 0 / 0.9687 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.461e-05/0.6694, allocations: 53.62 kB / 0.9687 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.6694, allocations: 4 kB / 0.9687 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6694, allocations: 4 kB / 0.9687 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6694, allocations: 0 / 0.9687 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.975e-05/0.6695, allocations: 4 kB / 0.9687 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6695, allocations: 8.031 kB / 0.9687 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.6695, allocations: 4 kB / 0.9687 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.6695, allocations: 0 / 0.9687 GB, free: 9.277 MB / 0.7448 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 5.908e-05/0.6696, allocations: 114.8 kB / 0.9688 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.6696, allocations: 0 / 0.9688 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.849e-05/0.6696, allocations: 15.11 kB / 0.9689 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6696, allocations: 0 / 0.9689 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6696, allocations: 3.938 kB / 0.9689 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.6696, allocations: 0 / 0.9689 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.6698, allocations: 325.8 kB / 0.9692 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6698, allocations: 0 / 0.9692 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-06/0.6698, allocations: 4 kB / 0.9692 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6698, allocations: 3.938 kB / 0.9692 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-06/0.6698, allocations: 0 / 0.9692 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.6698, allocations: 0 / 0.9692 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.6698, allocations: 0 / 0.9692 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.486e-05/0.6699, allocations: 69.19 kB / 0.9692 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-06/0.6699, allocations: 11.86 kB / 0.9693 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.6699, allocations: 0 / 0.9693 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.817e-05/0.6699, allocations: 4 kB / 0.9693 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.6699, allocations: 0 / 0.9693 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.22e-07/0.6699, allocations: 0 / 0.9693 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.912e-05/0.67, allocations: 91.52 kB / 0.9693 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.67, allocations: 0 / 0.9693 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001239/0.6701, allocations: 8 kB / 0.9693 GB, free: 8.559 MB / 0.7448 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 (1): * Single equations (assignments): 1 * 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 6.943e-05/0.6702, allocations: 99.28 kB / 0.9694 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.359e-05/0.6702, allocations: 8 kB / 0.9695 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.6702, allocations: 0 / 0.9695 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.422e-06/0.6702, allocations: 11.94 kB / 0.9695 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.6704, allocations: 8.438 kB / 0.9695 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.6707, allocations: 148.7 kB / 0.9696 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.6708, allocations: 0.6729 MB / 0.9703 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.6709, allocations: 7.438 kB / 0.9703 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.6709, allocations: 3.938 kB / 0.9703 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of Templates: time 0.001388/0.6723, allocations: 0.5623 MB / 0.9708 GB, free: 6.98 MB / 0.7448 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.727880052989349] Failed to read output from testmodel.py, exit status != 0: 0.6777165529783815 0.685307298 0.015930058 Calling exit ...