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.001444/0.001444, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001796/0.001796, allocations: 169 kB / 23.27 MB, free: 1.223 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.001/1.001, allocations: 177.1 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8706/0.8706, allocations: 154.9 MB / 415.1 MB, free: 260 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 179] 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 1.623e-06/1.623e-06, allocations: 0 / 0.5211 GB, free: 1.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.472e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1367/0.1367, allocations: 141.4 MB / 0.6592 GB, free: 3.781 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001171/0.1368, allocations: 47.81 kB / 0.6593 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.1368, allocations: 4 kB / 0.6593 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.137, allocations: 7.922 kB / 0.6593 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.482e-05/0.137, allocations: 15.88 kB / 0.6593 GB, free: 3.707 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.1377, allocations: 223 kB / 0.6595 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.124e-05/0.1377, allocations: 35.84 kB / 0.6595 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.272e-05/0.1378, allocations: 8 kB / 0.6596 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.516e-05/0.1378, allocations: 15.98 kB / 0.6596 GB, free: 3.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.1379, allocations: 19.91 kB / 0.6596 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1379, allocations: 0 / 0.6596 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.1382, allocations: 167.4 kB / 0.6597 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.1382, allocations: 11.94 kB / 0.6598 GB, free: 3.234 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.1382, allocations: 11.97 kB / 0.6598 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1384, allocations: 111.7 kB / 0.6599 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1384, allocations: 3.938 kB / 0.6599 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1384, allocations: 0 / 0.6599 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.1384, allocations: 4 kB / 0.6599 GB, free: 3.105 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.0003056/0.1387, allocations: 364.2 kB / 0.6602 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.1387, allocations: 8.031 kB / 0.6602 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.139, allocations: 33.14 kB / 0.6603 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.1393, allocations: 108.6 kB / 0.6604 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.1394, allocations: 51.97 kB / 0.6604 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.347e-06/0.1394, allocations: 8.125 kB / 0.6604 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.919e-05/0.1395, allocations: 88.06 kB / 0.6605 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1395, allocations: 7.938 kB / 0.6605 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.1395, allocations: 0 / 0.6605 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.1395, allocations: 0 / 0.6605 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.78e-05/0.1395, allocations: 8 kB / 0.6605 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.1398, allocations: 236.4 kB / 0.6608 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.289e-05/0.1398, allocations: 27.06 kB / 0.6608 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.368e-05/0.1398, allocations: 19.73 kB / 0.6608 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.57e-05/0.1399, allocations: 11.98 kB / 0.6608 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.1399, allocations: 49.33 kB / 0.6609 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1399, allocations: 0 / 0.6609 GB, free: 1.965 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001475/0.14, allocations: 53.58 kB / 0.6609 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.1401, allocations: 55.41 kB / 0.661 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.1401, allocations: 161.9 kB / 0.6611 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.1401, allocations: 25.7 kB / 0.6611 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.1402, allocations: 130.8 kB / 0.6613 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/0.1402, allocations: 15.94 kB / 0.6613 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.1402, allocations: 19.5 kB / 0.6613 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.1403, allocations: 0.4884 MB / 0.6618 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-06/0.1403, allocations: 4 kB / 0.6618 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.033e-05/0.1403, allocations: 31 kB / 0.6618 GB, free: 0.9102 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.817e-05/0.1404, allocations: 38.98 kB / 0.6618 GB, free: 0.8594 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1404, allocations: 7.922 kB / 0.6619 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.643e-05/0.1404, allocations: 49.64 kB / 0.6619 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.1404, allocations: 8.094 kB / 0.6619 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1404, allocations: 4 kB / 0.6619 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1404, allocations: 0 / 0.6619 GB, free: 0.7852 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.618e-05/0.1405, allocations: 11.92 kB / 0.6619 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.1405, allocations: 4 kB / 0.6619 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.1405, allocations: 3.938 kB / 0.6619 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-06/0.1405, allocations: 0 / 0.6619 GB, free: 0.7656 MB / 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 5.333e-05/0.1405, allocations: 160.5 kB / 0.6621 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.1406, allocations: 3.953 kB / 0.6621 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.1406, allocations: 11.31 kB / 0.6621 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.1406, allocations: 0 / 0.6621 GB, free: 0.5781 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1406, allocations: 4 kB / 0.6621 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1406, allocations: 0 / 0.6621 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.1408, allocations: 396.6 kB / 0.6625 GB, free: 148 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1408, allocations: 0 / 0.6625 GB, free: 148 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.1408, allocations: 7.984 kB / 0.6625 GB, free: 140 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1408, allocations: 0 / 0.6625 GB, free: 140 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1408, allocations: 0 / 0.6625 GB, free: 140 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1408, allocations: 4 kB / 0.6625 GB, free: 136 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1408, allocations: 0 / 0.6625 GB, free: 136 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.957e-05/0.1408, allocations: 92.06 kB / 0.6626 GB, free: 16 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.837e-06/0.1408, allocations: 0 / 0.6626 GB, free: 16 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.1408, allocations: 7.984 kB / 0.6626 GB, free: 8 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/0.1409, allocations: 4 kB / 0.6626 GB, free: 4 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-06/0.1409, allocations: 0 / 0.6626 GB, free: 4 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.1409, allocations: 0 / 0.6626 GB, free: 4 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.1409, allocations: 123.2 kB / 0.6627 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1409, allocations: 0 / 0.6627 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001137/0.141, allocations: 8 kB / 0.6627 GB, free: 15.88 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 9.215e-05/0.1411, allocations: 111.2 kB / 0.6628 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.248e-05/0.1412, allocations: 23.62 kB / 0.6628 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1412, allocations: 0 / 0.6628 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.646e-06/0.1412, allocations: 11.69 kB / 0.6629 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1413, allocations: 11.98 kB / 0.6629 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.1417, allocations: 138.3 kB / 0.663 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.763e-05/0.1417, allocations: 55.22 kB / 0.6631 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.1417, allocations: 8.406 kB / 0.6631 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.1418, allocations: 86.17 kB / 0.6631 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.1418, allocations: 4 kB / 0.6632 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.002129/0.1439, allocations: 0.7898 MB / 0.6639 GB, free: 14.59 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: 4.237184258643538]