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.002023/0.002023, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001909/0.001909, allocations: 155.7 kB / 23.01 MB, free: 4.949 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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.8334/0.8334, allocations: 101.3 MB / 361.1 MB, free: 9.543 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.002142/0.002142, allocations: 62.38 kB / 0.5356 GB, free: 5.234 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2093, allocations: 85.88 MB / 0.6195 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6506/0.8598, allocations: 129.9 MB / 0.7464 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.86, allocations: 56.44 kB / 0.7465 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.8601, allocations: 0 / 0.7465 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.8602, allocations: 2.203 kB / 0.7465 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.732e-05/0.8603, allocations: 10.83 kB / 0.7465 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005435/0.8608, allocations: 111.4 kB / 0.7466 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.8609, allocations: 31.12 kB / 0.7466 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.861, allocations: 7.688 kB / 0.7466 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.861, allocations: 20.77 kB / 0.7466 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.8611, allocations: 12.02 kB / 0.7466 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.8611, allocations: 1.125 kB / 0.7466 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.8614, allocations: 77.02 kB / 0.7467 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.922e-05/0.8615, allocations: 9.734 kB / 0.7467 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.8615, allocations: 11.97 kB / 0.7467 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.8617, allocations: 70.36 kB / 0.7468 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.8617, allocations: 0 / 0.7468 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8617, allocations: 1.031 kB / 0.7468 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8617, allocations: 0 / 0.7468 GB, free: 13.49 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.000491/0.8622, allocations: 262.6 kB / 0.7471 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.8623, allocations: 9.781 kB / 0.7471 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00025/0.8625, allocations: 17.91 kB / 0.7471 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.8626, allocations: 112.4 kB / 0.7472 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-05/0.8627, allocations: 56.38 kB / 0.7472 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.8627, allocations: 1.156 kB / 0.7472 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.8629, allocations: 82.47 kB / 0.7473 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.8629, allocations: 1.062 kB / 0.7473 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.8629, allocations: 4 kB / 0.7473 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.863, allocations: 4.312 kB / 0.7473 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.553e-05/0.863, allocations: 18.66 kB / 0.7473 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.8634, allocations: 204.3 kB / 0.7475 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.007e-05/0.8635, allocations: 24.3 kB / 0.7476 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.836e-05/0.8635, allocations: 5.953 kB / 0.7476 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-06/0.8635, allocations: 0 / 0.7476 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.8635, allocations: 33.03 kB / 0.7476 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.8635, allocations: 4 kB / 0.7476 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.8637, allocations: 33.48 kB / 0.7476 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.8637, allocations: 52.34 kB / 0.7477 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.8638, allocations: 110.4 kB / 0.7478 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.8638, allocations: 26.8 kB / 0.7478 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.8639, allocations: 93.83 kB / 0.7479 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-06/0.8639, allocations: 1.062 kB / 0.7479 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.864, allocations: 25.73 kB / 0.7479 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.8641, allocations: 325.4 kB / 0.7482 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.8641, allocations: 2.188 kB / 0.7482 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.8641, allocations: 26.05 kB / 0.7483 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.977e-05/0.8642, allocations: 29.69 kB / 0.7483 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8642, allocations: 0 / 0.7483 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.898e-05/0.8643, allocations: 55.28 kB / 0.7484 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.8643, allocations: 5.594 kB / 0.7484 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.8643, allocations: 8.938 kB / 0.7484 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.8643, allocations: 1.219 kB / 0.7484 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.8644, allocations: 11.09 kB / 0.7484 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.8644, allocations: 1.938 kB / 0.7484 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.8644, allocations: 5.031 kB / 0.7484 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.8644, allocations: 2.344 kB / 0.7484 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.21e-05/0.8645, allocations: 115.1 kB / 0.7485 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.8646, allocations: 2.312 kB / 0.7485 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.26e-05/0.8646, allocations: 4.219 kB / 0.7485 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.8646, allocations: 3.984 kB / 0.7485 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.8646, allocations: 1.156 kB / 0.7485 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8646, allocations: 3.938 kB / 0.7485 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.8649, allocations: 303.5 kB / 0.7488 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8649, allocations: 0 / 0.7488 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.8649, allocations: 5.75 kB / 0.7488 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8649, allocations: 0 / 0.7488 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.8649, allocations: 5.703 kB / 0.7488 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.8649, allocations: 5.094 kB / 0.7488 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8649, allocations: 0 / 0.7488 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.731e-05/0.865, allocations: 54.86 kB / 0.7489 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.865, allocations: 4.438 kB / 0.7489 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.865, allocations: 1.438 kB / 0.7489 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.8651, allocations: 13.33 kB / 0.7489 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.8651, allocations: 0 / 0.7489 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.8651, allocations: 5.094 kB / 0.7489 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.837e-05/0.8652, allocations: 85.39 kB / 0.749 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8652, allocations: 1.125 kB / 0.749 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001946/0.8654, allocations: 6.031 kB / 0.749 GB, free: 11.32 MB / 0.6075 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 0.0001333/0.8655, allocations: 98.88 kB / 0.7491 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.584e-05/0.8656, allocations: 10.62 kB / 0.7491 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8656, allocations: 4.062 kB / 0.7491 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.086e-05/0.8656, allocations: 9.531 kB / 0.7491 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.8659, allocations: 9.406 kB / 0.7491 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.8662, allocations: 106 kB / 0.7492 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.63e-05/0.8663, allocations: 62.55 kB / 0.7493 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.086e-05/0.8663, allocations: 7.281 kB / 0.7493 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.8663, allocations: 9.594 kB / 0.7493 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.8663, allocations: 1.094 kB / 0.7493 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Templates: time 0.002972/0.8693, allocations: 0.5332 MB / 0.7498 GB, free: 10.96 MB / 0.6075 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.34591603896115] Failed to read output from testmodel.py, exit status != 0: 0.8780902359867468 0.893054421 0.027943932 Calling exit ...