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.0008455/0.0008455, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008655/0.0008655, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.9029/0.9029, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7159/0.7159, allocations: 154.6 MB / 414.5 MB, free: 0.7969 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.234e-05, allocations: 5.891 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4583/0.4583, allocations: 130 MB / 0.7463 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.4584, allocations: 54.38 kB / 0.7463 GB, free: 20 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.4585, allocations: 4 kB / 0.7463 GB, free: 20 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.4586, allocations: 9.75 kB / 0.7463 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.199e-05/0.4587, allocations: 13.77 kB / 0.7463 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004777/0.4592, allocations: 105.1 kB / 0.7464 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.538e-05/0.4593, allocations: 37.56 kB / 0.7465 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.38e-05/0.4593, allocations: 2.078 kB / 0.7465 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.817e-05/0.4594, allocations: 18.7 kB / 0.7465 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.4595, allocations: 21.7 kB / 0.7465 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.4595, allocations: 1.344 kB / 0.7465 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.4597, allocations: 69.86 kB / 0.7466 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.4598, allocations: 12.98 kB / 0.7466 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.4598, allocations: 6.859 kB / 0.7466 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.46, allocations: 72.64 kB / 0.7467 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.46, allocations: 0 / 0.7467 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.46, allocations: 0 / 0.7467 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.46, allocations: 0.6562 kB / 0.7467 GB, free: 19.86 MB / 0.6355 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.0003416/0.4603, allocations: 257.3 kB / 0.7469 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.4604, allocations: 17.12 kB / 0.7469 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001978/0.4606, allocations: 22.03 kB / 0.747 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.728e-05/0.4606, allocations: 103.8 kB / 0.7471 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/0.4607, allocations: 54.05 kB / 0.7471 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.4607, allocations: 1.875 kB / 0.7471 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.4608, allocations: 80.98 kB / 0.7472 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4608, allocations: 0 / 0.7472 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4608, allocations: 0.7969 kB / 0.7472 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.4609, allocations: 10.31 kB / 0.7472 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.945e-05/0.4609, allocations: 18.42 kB / 0.7472 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.4612, allocations: 206.1 kB / 0.7474 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.567e-05/0.4612, allocations: 16.58 kB / 0.7474 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.456e-05/0.4612, allocations: 6.016 kB / 0.7474 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.4612, allocations: 5.203 kB / 0.7474 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.4613, allocations: 40.19 kB / 0.7475 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.4613, allocations: 0 / 0.7475 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.4614, allocations: 37.78 kB / 0.7475 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.4614, allocations: 53.05 kB / 0.7476 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/0.4615, allocations: 113.4 kB / 0.7477 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/0.4615, allocations: 25.7 kB / 0.7477 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.4615, allocations: 87.31 kB / 0.7478 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.721e-06/0.4615, allocations: 5.266 kB / 0.7478 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.4615, allocations: 18.88 kB / 0.7478 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.307e-05/0.4616, allocations: 321.2 kB / 0.7481 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.4616, allocations: 4.109 kB / 0.7481 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.4616, allocations: 21.27 kB / 0.7481 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.277e-05/0.4616, allocations: 37.28 kB / 0.7482 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4616, allocations: 3.188 kB / 0.7482 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.954e-05/0.4617, allocations: 53.27 kB / 0.7482 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4617, allocations: 5.406 kB / 0.7482 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4617, allocations: 1.062 kB / 0.7482 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4617, allocations: 1.797 kB / 0.7482 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.373e-05/0.4618, allocations: 6.203 kB / 0.7482 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4618, allocations: 9.031 kB / 0.7482 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.4618, allocations: 6 kB / 0.7482 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.4618, allocations: 10.75 kB / 0.7483 GB, free: 18.25 MB / 0.6355 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 4.254e-05/0.4619, allocations: 113.7 kB / 0.7484 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.4619, allocations: 1.094 kB / 0.7484 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.4619, allocations: 8.203 kB / 0.7484 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4619, allocations: 1 kB / 0.7484 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4619, allocations: 0.75 kB / 0.7484 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4619, allocations: 1.281 kB / 0.7484 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.4621, allocations: 298.2 kB / 0.7487 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4621, allocations: 5.156 kB / 0.7487 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.785e-06/0.4621, allocations: 5.594 kB / 0.7487 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4621, allocations: 1.031 kB / 0.7487 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.4621, allocations: 0.7031 kB / 0.7487 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4621, allocations: 1.094 kB / 0.7487 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4621, allocations: 0 / 0.7487 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.002e-05/0.4621, allocations: 63.36 kB / 0.7487 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-06/0.4621, allocations: 5.25 kB / 0.7487 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.4621, allocations: 2.078 kB / 0.7487 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.459e-05/0.4622, allocations: 3.344 kB / 0.7487 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.4622, allocations: 4.031 kB / 0.7487 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-06/0.4622, allocations: 1.984 kB / 0.7487 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.12e-05/0.4622, allocations: 89.2 kB / 0.7488 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4622, allocations: 1.094 kB / 0.7488 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001228/0.4623, allocations: 5.406 kB / 0.7488 GB, free: 17.64 MB / 0.6355 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 7.834e-05/0.4624, allocations: 96.2 kB / 0.7489 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.383e-05/0.4625, allocations: 17.61 kB / 0.7489 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4625, allocations: 1.25 kB / 0.749 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.4625, allocations: 10.19 kB / 0.749 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.4627, allocations: 8.625 kB / 0.749 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.4629, allocations: 131.2 kB / 0.7491 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.497e-05/0.463, allocations: 58.34 kB / 0.7491 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.463, allocations: 11.19 kB / 0.7492 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.463, allocations: 0 / 0.7492 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of Templates: time 0.001851/0.4648, allocations: 0.5823 MB / 0.7497 GB, free: 17.32 MB / 0.6355 GB " [Timeout remaining time 660] 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: 5.749884622171521] Failed to read output from testmodel.py, exit status != 0: 0.4712767582386732 0.48010536400000003 0.018206047 Calling exit ...