Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001841/0.001841, allocations: 81.5 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.001932/0.001932, 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.668/1.668, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.334/1.334, allocations: 154.8 MB / 414.4 MB, free: 472 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.5198 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.574e-05, allocations: 8.641 kB / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2143/0.2143, allocations: 143.8 MB / 0.6603 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001901/0.2145, allocations: 47.8 kB / 0.6603 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.2145, allocations: 4 kB / 0.6603 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.2147, allocations: 3.938 kB / 0.6603 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.2148, allocations: 15.91 kB / 0.6604 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2159, allocations: 219 kB / 0.6606 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.216, allocations: 35.86 kB / 0.6606 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.691e-05/0.216, allocations: 0 / 0.6606 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.2161, allocations: 23.97 kB / 0.6606 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.61e-05/0.2162, allocations: 11.92 kB / 0.6606 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.2162, allocations: 4 kB / 0.6606 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/0.2167, allocations: 163.4 kB / 0.6608 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.2168, allocations: 11.98 kB / 0.6608 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.2168, allocations: 4 kB / 0.6608 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003695/0.2171, allocations: 119.6 kB / 0.6609 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2172, allocations: 0 / 0.6609 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2172, allocations: 0 / 0.6609 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2172, allocations: 0 / 0.6609 GB, free: 1.5 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.0005897/0.2177, allocations: 368.2 kB / 0.6613 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.2178, allocations: 8.031 kB / 0.6613 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.2182, allocations: 44.78 kB / 0.6613 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2184, allocations: 108.6 kB / 0.6614 GB, free: 0.9219 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.175e-05/0.2184, allocations: 55.97 kB / 0.6615 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.2185, allocations: 4.125 kB / 0.6615 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.2187, allocations: 71.33 kB / 0.6616 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2187, allocations: 0 / 0.6616 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2187, allocations: 0 / 0.6616 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.2187, allocations: 4 kB / 0.6616 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.2188, allocations: 11.98 kB / 0.6616 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.2193, allocations: 255.8 kB / 0.6618 GB, free: 480 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.2193, allocations: 39 kB / 0.6619 GB, free: 428 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.2194, allocations: 11.75 kB / 0.6619 GB, free: 412 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.2195, allocations: 15.98 kB / 0.6619 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.2196, allocations: 33.39 kB / 0.6619 GB, free: 352 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2196, allocations: 0 / 0.6619 GB, free: 352 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003023/0.2199, allocations: 57.58 kB / 0.662 GB, free: 288 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.2199, allocations: 51.41 kB / 0.662 GB, free: 224 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.2202, allocations: 170 kB / 0.6622 GB, free: 36 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.2202, allocations: 25.7 kB / 0.6622 GB, free: 4 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.2203, allocations: 138.8 kB / 0.6623 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.2203, allocations: 7.953 kB / 0.6623 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.2204, allocations: 27.31 kB / 0.6624 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002797/0.2206, allocations: 0.4883 MB / 0.6628 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.2207, allocations: 4 kB / 0.6628 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.322e-05/0.2207, allocations: 27.06 kB / 0.6629 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.855e-05/0.2208, allocations: 39.06 kB / 0.6629 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2208, allocations: 3.938 kB / 0.6629 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001084/0.2209, allocations: 57.62 kB / 0.663 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2209, allocations: 4 kB / 0.663 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2209, allocations: 0 / 0.663 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2209, allocations: 4 kB / 0.663 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.221, allocations: 4.281 kB / 0.663 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.221, allocations: 3.984 kB / 0.663 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.221, allocations: 4 kB / 0.663 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.221, allocations: 96 / 0.663 GB, free: 15.14 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 0.0001259/0.2212, allocations: 164.5 kB / 0.6631 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.2212, allocations: 0 / 0.6631 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.2212, allocations: 15.3 kB / 0.6632 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2212, allocations: 0 / 0.6632 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2212, allocations: 0 / 0.6632 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2212, allocations: 0 / 0.6632 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.2217, allocations: 427.8 kB / 0.6636 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2217, allocations: 4 kB / 0.6636 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.547e-05/0.2217, allocations: 0 / 0.6636 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.2217, allocations: 8.062 kB / 0.6636 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2217, allocations: 4 kB / 0.6636 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2217, allocations: 0 / 0.6636 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2217, allocations: 3.938 kB / 0.6636 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2218, allocations: 88.06 kB / 0.6637 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.2219, allocations: 4 kB / 0.6637 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2219, allocations: 0 / 0.6637 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.2219, allocations: 0 / 0.6637 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.222, allocations: 7.938 kB / 0.6637 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.222, allocations: 0 / 0.6637 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.971e-05/0.222, allocations: 131.2 kB / 0.6638 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.222, allocations: 0 / 0.6638 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001967/0.2222, allocations: 12 kB / 0.6638 GB, free: 14.2 MB / 0.6355 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.0001682/0.2224, allocations: 99.19 kB / 0.6639 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.2225, allocations: 23.62 kB / 0.6639 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2225, allocations: 0 / 0.6639 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.2225, allocations: 19.86 kB / 0.664 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.2228, allocations: 13 kB / 0.664 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.2232, allocations: 133.9 kB / 0.6641 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.438e-05/0.2232, allocations: 59.36 kB / 0.6642 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.775e-05/0.2233, allocations: 15.84 kB / 0.6642 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.2233, allocations: 8.5 kB / 0.6642 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of SimCode: time 7.61e-07/0.2233, allocations: 0 / 0.6642 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.004022/0.2273, allocations: 0.6846 MB / 0.6648 GB, free: 13.09 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.824379184981808]