Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00135/0.00135, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001568/0.001568, allocations: 217.4 kB / 23.01 MB, free: 5.125 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.873/0.873, allocations: 134 MB / 447.2 MB, free: 10.22 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.001845/0.001845, allocations: 68.19 kB / 0.6198 GB, free: 6.727 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2001, allocations: 85.9 MB / 0.7037 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5339/0.734, allocations: 151.2 MB / 0.8513 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001544/0.7341, allocations: 59.22 kB / 0.8514 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.7341, allocations: 0 / 0.8514 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.7342, allocations: 3.938 kB / 0.8514 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.7343, allocations: 13.05 kB / 0.8514 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.7348, allocations: 108.6 kB / 0.8515 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.7349, allocations: 39.84 kB / 0.8515 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.735, allocations: 7.984 kB / 0.8515 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.735, allocations: 8 kB / 0.8515 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.7351, allocations: 15.91 kB / 0.8515 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.7351, allocations: 4 kB / 0.8516 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.7353, allocations: 99.7 kB / 0.8516 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.7354, allocations: 3.984 kB / 0.8516 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.7354, allocations: 11.94 kB / 0.8517 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.7356, allocations: 74.5 kB / 0.8517 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7356, allocations: 0 / 0.8517 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7356, allocations: 4 kB / 0.8517 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.7356, allocations: 4 kB / 0.8517 GB, free: 14.77 MB / 0.6231 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.000413/0.736, allocations: 262.2 kB / 0.852 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.736, allocations: 8.031 kB / 0.852 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.7363, allocations: 16.92 kB / 0.852 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.7364, allocations: 114.7 kB / 0.8521 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.505e-05/0.7365, allocations: 59.34 kB / 0.8522 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.7365, allocations: 8 kB / 0.8522 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.7366, allocations: 41.67 kB / 0.8522 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7367, allocations: 0 / 0.8522 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.7367, allocations: 4 kB / 0.8522 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.7367, allocations: 4 kB / 0.8522 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.7367, allocations: 15.98 kB / 0.8522 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.7371, allocations: 239.9 kB / 0.8525 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.7372, allocations: 18.58 kB / 0.8525 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.7372, allocations: 8.922 kB / 0.8525 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.7372, allocations: 0 / 0.8525 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.7372, allocations: 30.56 kB / 0.8525 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.7372, allocations: 0.5625 kB / 0.8525 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.7374, allocations: 37.64 kB / 0.8526 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.7374, allocations: 55.41 kB / 0.8526 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.7375, allocations: 109.8 kB / 0.8527 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.7375, allocations: 29.7 kB / 0.8528 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.7376, allocations: 91.98 kB / 0.8528 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-06/0.7376, allocations: 5.859 kB / 0.8528 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.7376, allocations: 17.72 kB / 0.8529 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7378, allocations: 310.8 kB / 0.8532 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.7378, allocations: 8.125 kB / 0.8532 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.5e-05/0.7378, allocations: 26.56 kB / 0.8532 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.494e-05/0.7379, allocations: 30.52 kB / 0.8532 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7379, allocations: 4 kB / 0.8532 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.087e-05/0.738, allocations: 61.58 kB / 0.8533 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.738, allocations: 4 kB / 0.8533 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.738, allocations: 0 / 0.8533 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.738, allocations: 0 / 0.8533 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.7381, allocations: 12.81 kB / 0.8533 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.7381, allocations: 3.938 kB / 0.8533 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.874e-05/0.7381, allocations: 4 kB / 0.8533 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.7381, allocations: 0 / 0.8533 GB, free: 12.95 MB / 0.6231 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.361e-05/0.7382, allocations: 117.8 kB / 0.8534 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.7382, allocations: 4.094 kB / 0.8534 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.7382, allocations: 7.156 kB / 0.8534 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.7382, allocations: 96 / 0.8534 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.7383, allocations: 7.922 kB / 0.8534 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.7383, allocations: 5.906 kB / 0.8534 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.7386, allocations: 309.9 kB / 0.8537 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.7386, allocations: 3.984 kB / 0.8537 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.7386, allocations: 3.625 kB / 0.8538 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.7386, allocations: 7.969 kB / 0.8538 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-06/0.7386, allocations: 0 / 0.8538 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.7386, allocations: 4 kB / 0.8538 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7386, allocations: 0 / 0.8538 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.187e-05/0.7387, allocations: 61.03 kB / 0.8538 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.7387, allocations: 4 kB / 0.8538 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.7387, allocations: 7.922 kB / 0.8538 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.7388, allocations: 8.031 kB / 0.8538 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.7388, allocations: 0 / 0.8538 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/0.7388, allocations: 0 / 0.8538 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.191e-05/0.7388, allocations: 87.27 kB / 0.8539 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.7388, allocations: 0.6562 kB / 0.8539 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0001928/0.739, allocations: 8 kB / 0.8539 GB, free: 12.24 MB / 0.6231 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 9.232e-05/0.7391, allocations: 95.25 kB / 0.854 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.161e-05/0.7392, allocations: 16.06 kB / 0.854 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7392, allocations: 0 / 0.854 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-06/0.7392, allocations: 4 kB / 0.854 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.7395, allocations: 11.92 kB / 0.8541 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002795/0.7397, allocations: 137.6 kB / 0.8542 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.7401, allocations: 0.6729 MB / 0.8548 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.7401, allocations: 11.44 kB / 0.8549 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.7401, allocations: 128 / 0.8549 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of Templates: time 0.002001/0.7421, allocations: 0.5718 MB / 0.8554 GB, free: 10.67 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.56829245807603] Failed to read output from testmodel.py, exit status != 0: 0.7495291030500084 0.764652225 0.025962987000000003 Calling exit ...