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.002408/0.002408, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.003093/0.003093, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.637/1.637, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.349/1.349, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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 178] 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 2.134e-06/2.134e-06, allocations: 0 / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.679e-05, allocations: 6.094 kB / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2641/0.2641, allocations: 143.4 MB / 0.6596 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000195/0.2643, allocations: 59.73 kB / 0.6597 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.2643, allocations: 7.938 kB / 0.6597 GB, free: 2.762 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.2645, allocations: 3.984 kB / 0.6597 GB, free: 2.758 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.2645, allocations: 3.938 kB / 0.6597 GB, free: 2.754 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.2651, allocations: 111.6 kB / 0.6598 GB, free: 2.645 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2652, allocations: 35.86 kB / 0.6598 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.2652, allocations: 0 / 0.6598 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.2653, allocations: 27.91 kB / 0.6599 GB, free: 2.582 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.2654, allocations: 11.92 kB / 0.6599 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2654, allocations: 4 kB / 0.6599 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.2657, allocations: 71.73 kB / 0.66 GB, free: 2.496 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.2657, allocations: 7.984 kB / 0.66 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.008e-05/0.2658, allocations: 8 kB / 0.66 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.266, allocations: 67.78 kB / 0.66 GB, free: 2.414 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.266, allocations: 4 kB / 0.66 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.266, allocations: 0 / 0.66 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.266, allocations: 0 / 0.66 GB, free: 2.41 MB / 0.6198 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.0005646/0.2665, allocations: 372.2 kB / 0.6604 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2666, allocations: 15.97 kB / 0.6604 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.2669, allocations: 24.81 kB / 0.6604 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.267, allocations: 112.6 kB / 0.6605 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.244e-05/0.2671, allocations: 51.97 kB / 0.6606 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.2671, allocations: 8.125 kB / 0.6606 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.2672, allocations: 67.39 kB / 0.6607 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2673, allocations: 0 / 0.6607 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2673, allocations: 4 kB / 0.6607 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.2673, allocations: 0 / 0.6607 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.746e-05/0.2673, allocations: 15.97 kB / 0.6607 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.2678, allocations: 263.7 kB / 0.6609 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.784e-05/0.2678, allocations: 23.12 kB / 0.661 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.2679, allocations: 11.69 kB / 0.661 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.2679, allocations: 0 / 0.661 GB, free: 1.324 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.2679, allocations: 37.39 kB / 0.661 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.2679, allocations: 4 kB / 0.661 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001671/0.2681, allocations: 41.59 kB / 0.661 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.2681, allocations: 55.34 kB / 0.6611 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.2683, allocations: 169.9 kB / 0.6613 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.2683, allocations: 25.7 kB / 0.6613 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2684, allocations: 138.8 kB / 0.6614 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.2684, allocations: 7.891 kB / 0.6614 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.2685, allocations: 27.36 kB / 0.6615 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000276/0.2688, allocations: 496.1 kB / 0.6619 GB, free: 272 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/0.2688, allocations: 4 kB / 0.6619 GB, free: 268 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.2688, allocations: 35.17 kB / 0.662 GB, free: 220 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.506e-05/0.2689, allocations: 39 kB / 0.662 GB, free: 168 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2689, allocations: 0 / 0.662 GB, free: 168 kB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.571e-05/0.269, allocations: 49.64 kB / 0.662 GB, free: 112 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.269, allocations: 4 kB / 0.6621 GB, free: 108 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.269, allocations: 3.984 kB / 0.6621 GB, free: 104 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.269, allocations: 4 kB / 0.6621 GB, free: 100 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.2691, allocations: 8.094 kB / 0.6621 GB, free: 92 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2691, allocations: 0 / 0.6621 GB, free: 92 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/0.2691, allocations: 8 kB / 0.6621 GB, free: 84 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.2691, allocations: 0 / 0.6621 GB, free: 84 kB / 0.6198 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 0.000142/0.2693, allocations: 164.5 kB / 0.6622 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.2693, allocations: 3.953 kB / 0.6622 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.2693, allocations: 7.156 kB / 0.6622 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2693, allocations: 0 / 0.6622 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2693, allocations: 0 / 0.6622 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2693, allocations: 3.984 kB / 0.6622 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.2697, allocations: 404.3 kB / 0.6626 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2697, allocations: 0 / 0.6626 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.2697, allocations: 4 kB / 0.6626 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2697, allocations: 0 / 0.6626 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2697, allocations: 0 / 0.6626 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2697, allocations: 0 / 0.6626 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2697, allocations: 0 / 0.6626 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.2698, allocations: 72.33 kB / 0.6627 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.2698, allocations: 3.984 kB / 0.6627 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.2698, allocations: 4 kB / 0.6627 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.2699, allocations: 8.312 kB / 0.6627 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.2699, allocations: 3.938 kB / 0.6627 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.2699, allocations: 7.938 kB / 0.6627 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.325e-05/0.27, allocations: 131.2 kB / 0.6629 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.27, allocations: 0 / 0.6629 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001742/0.2702, allocations: 4 kB / 0.6629 GB, free: 15.2 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 0.0001268/0.2703, allocations: 95.25 kB / 0.663 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.2704, allocations: 23.62 kB / 0.663 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2704, allocations: 192 / 0.663 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/0.2704, allocations: 15.69 kB / 0.663 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.2706, allocations: 7.984 kB / 0.663 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.271, allocations: 121.8 kB / 0.6631 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.131e-05/0.271, allocations: 67.28 kB / 0.6632 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.755e-05/0.2711, allocations: 12 kB / 0.6632 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.574e-05/0.2711, allocations: 12.5 kB / 0.6632 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/0.2711, allocations: 0 / 0.6632 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of Templates: time 0.003315/0.2744, allocations: 0.5489 MB / 0.6637 GB, free: 14.29 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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.9891505050472915]