Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.001934/0.001934, 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.00203/0.00203, allocations: 173.6 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.639/1.639, 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.317/1.317, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.5196 GB, free: 1.473 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.537e-05/3.762e-05, allocations: 5.859 kB / 0.5196 GB, free: 1.469 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5736/0.5737, allocations: 143.8 MB / 0.66 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001824/0.5738, allocations: 47.53 kB / 0.6601 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.5739, allocations: 1.531 kB / 0.6601 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.574, allocations: 5.531 kB / 0.6601 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.5741, allocations: 16.25 kB / 0.6601 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.5752, allocations: 216.7 kB / 0.6603 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.5753, allocations: 32.11 kB / 0.6604 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.5753, allocations: 7.516 kB / 0.6604 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.621e-05/0.5754, allocations: 17.42 kB / 0.6604 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.556e-05/0.5755, allocations: 15.62 kB / 0.6604 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.5755, allocations: 3.031 kB / 0.6604 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.576, allocations: 166.4 kB / 0.6606 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.576, allocations: 9.797 kB / 0.6606 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.5761, allocations: 9.312 kB / 0.6606 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.5764, allocations: 114 kB / 0.6607 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5764, allocations: 0.5312 kB / 0.6607 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5764, allocations: 0 / 0.6607 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.5764, allocations: 0.875 kB / 0.6607 GB, free: 15.57 MB / 0.5573 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.0004134/0.5768, allocations: 365.1 kB / 0.661 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5768, allocations: 9.031 kB / 0.661 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003983/0.5772, allocations: 39.23 kB / 0.6611 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.052e-05/0.5773, allocations: 112.6 kB / 0.6612 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/0.5774, allocations: 56.39 kB / 0.6612 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.5774, allocations: 2.094 kB / 0.6612 GB, free: 15 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.5775, allocations: 73.86 kB / 0.6613 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.5775, allocations: 2.344 kB / 0.6613 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.5775, allocations: 0.9688 kB / 0.6613 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.5775, allocations: 2.156 kB / 0.6613 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/0.5776, allocations: 9.891 kB / 0.6613 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003533/0.5779, allocations: 261.1 kB / 0.6616 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.687e-05/0.578, allocations: 34.78 kB / 0.6616 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.578, allocations: 13.56 kB / 0.6616 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001335/0.5782, allocations: 15.41 kB / 0.6616 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.5782, allocations: 35.11 kB / 0.6617 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.5782, allocations: 0 / 0.6617 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002717/0.5785, allocations: 51.91 kB / 0.6617 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.5785, allocations: 56.34 kB / 0.6618 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.5786, allocations: 169.9 kB / 0.6619 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.5786, allocations: 26.77 kB / 0.662 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.5786, allocations: 136.9 kB / 0.6621 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.5786, allocations: 2.094 kB / 0.6621 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.5787, allocations: 29.7 kB / 0.6621 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.5788, allocations: 497.3 kB / 0.6626 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.5788, allocations: 2.312 kB / 0.6626 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.5788, allocations: 33.58 kB / 0.6626 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.532e-05/0.5789, allocations: 42.92 kB / 0.6627 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5789, allocations: 0 / 0.6627 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.043e-05/0.5789, allocations: 51.98 kB / 0.6627 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.579, allocations: 5.906 kB / 0.6627 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.579, allocations: 0.75 kB / 0.6627 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.579, allocations: 2.594 kB / 0.6627 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.579, allocations: 11.64 kB / 0.6627 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5791, allocations: 3.25 kB / 0.6627 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.5791, allocations: 4.719 kB / 0.6627 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.5791, allocations: 6.469 kB / 0.6628 GB, free: 13.52 MB / 0.5573 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 6.534e-05/0.5792, allocations: 158.9 kB / 0.6629 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.5792, allocations: 1.531 kB / 0.6629 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.5792, allocations: 15.66 kB / 0.6629 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5792, allocations: 0.75 kB / 0.6629 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.5792, allocations: 0.7188 kB / 0.6629 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5792, allocations: 3.578 kB / 0.6629 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.5794, allocations: 422.3 kB / 0.6633 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5794, allocations: 1.781 kB / 0.6633 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.5795, allocations: 6.781 kB / 0.6633 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5795, allocations: 0 / 0.6633 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.5795, allocations: 1.094 kB / 0.6633 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5795, allocations: 0.8125 kB / 0.6633 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.5795, allocations: 5.203 kB / 0.6633 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.545e-05/0.5796, allocations: 87.42 kB / 0.6634 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.5796, allocations: 11.19 kB / 0.6634 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.5796, allocations: 2.172 kB / 0.6634 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.5797, allocations: 10.52 kB / 0.6634 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.5797, allocations: 5.938 kB / 0.6635 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.5797, allocations: 4.844 kB / 0.6635 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.75e-05/0.5797, allocations: 123.3 kB / 0.6636 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.5797, allocations: 0 / 0.6636 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000199/0.5799, allocations: 6.344 kB / 0.6636 GB, free: 12.68 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001109/0.58, allocations: 101.3 kB / 0.6637 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.38e-05/0.5801, allocations: 22.25 kB / 0.6637 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5801, allocations: 192 / 0.6637 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.5802, allocations: 21.12 kB / 0.6637 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.5804, allocations: 9.75 kB / 0.6637 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.5807, allocations: 126.3 kB / 0.6638 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.35e-05/0.5807, allocations: 63 kB / 0.6639 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.161e-05/0.5808, allocations: 10.77 kB / 0.6639 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.5808, allocations: 10.44 kB / 0.6639 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/0.5808, allocations: 0 / 0.6639 GB, free: 12.36 MB / 0.5573 GB Notification: Performance of Templates: time 0.003946/0.5847, allocations: 0.6944 MB / 0.6646 GB, free: 12.3 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.7449878819752485]