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.001437/0.001437, allocations: 93.06 kB / 19.65 MB, free: 280 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.001705/0.001705, allocations: 169 kB / 23.02 MB, free: 1.555 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.994/0.994, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8063/0.8063, allocations: 154.8 MB / 414.7 MB, free: 0.5 MB / 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 2.355e-06/2.355e-06, allocations: 0 / 0.5205 GB, free: 2.004 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/3.026e-05, allocations: 4 kB / 0.5205 GB, free: 2 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1446/0.1446, allocations: 144.1 MB / 0.6613 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000147/0.1448, allocations: 39.83 kB / 0.6613 GB, free: 1.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.1448, allocations: 4 kB / 0.6613 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.1449, allocations: 15.92 kB / 0.6613 GB, free: 1.461 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.254e-05/0.145, allocations: 11.86 kB / 0.6614 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.1458, allocations: 227.1 kB / 0.6616 GB, free: 1.227 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.858e-05/0.1459, allocations: 27.86 kB / 0.6616 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.1459, allocations: 8 kB / 0.6616 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.146, allocations: 31.84 kB / 0.6616 GB, free: 1.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.153e-05/0.1461, allocations: 7.984 kB / 0.6616 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1461, allocations: 0 / 0.6616 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.1465, allocations: 175.3 kB / 0.6618 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.1466, allocations: 4 kB / 0.6618 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.1466, allocations: 7.984 kB / 0.6618 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.1469, allocations: 115.7 kB / 0.6619 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1469, allocations: 0 / 0.6619 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1469, allocations: 0 / 0.6619 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.1469, allocations: 0 / 0.6619 GB, free: 0.8555 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.0004452/0.1474, allocations: 372.2 kB / 0.6623 GB, free: 468 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1474, allocations: 8.031 kB / 0.6623 GB, free: 460 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004414/0.1479, allocations: 41.14 kB / 0.6623 GB, free: 420 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.148, allocations: 108.6 kB / 0.6624 GB, free: 284 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.01e-05/0.1481, allocations: 51.97 kB / 0.6625 GB, free: 220 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.1481, allocations: 8.125 kB / 0.6625 GB, free: 212 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1483, allocations: 84.08 kB / 0.6626 GB, free: 112 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1483, allocations: 0 / 0.6626 GB, free: 112 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1483, allocations: 4 kB / 0.6626 GB, free: 108 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.1483, allocations: 4 kB / 0.6626 GB, free: 104 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/0.1484, allocations: 4 kB / 0.6626 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.1488, allocations: 259.8 kB / 0.6628 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.145e-05/0.1489, allocations: 31 kB / 0.6629 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.1489, allocations: 15.75 kB / 0.6629 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.1491, allocations: 11.98 kB / 0.6629 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1491, allocations: 41.39 kB / 0.6629 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.1491, allocations: 3.938 kB / 0.6629 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002657/0.1493, allocations: 57.52 kB / 0.663 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.1494, allocations: 55.41 kB / 0.663 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.1495, allocations: 161.9 kB / 0.6632 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1495, allocations: 25.7 kB / 0.6632 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.1496, allocations: 134.8 kB / 0.6633 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.889e-06/0.1496, allocations: 3.953 kB / 0.6634 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.1496, allocations: 27.36 kB / 0.6634 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1498, allocations: 0.4885 MB / 0.6639 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.1498, allocations: 8 kB / 0.6639 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.676e-05/0.1498, allocations: 31.23 kB / 0.6639 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.262e-05/0.1499, allocations: 39 kB / 0.6639 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1499, allocations: 0 / 0.6639 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.836e-05/0.15, allocations: 49.64 kB / 0.664 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.15, allocations: 4 kB / 0.664 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.15, allocations: 8.172 kB / 0.664 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.15, allocations: 3.984 kB / 0.664 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.1501, allocations: 8 kB / 0.664 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1501, allocations: 0 / 0.664 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.1501, allocations: 7.938 kB / 0.664 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.1501, allocations: 0 / 0.664 GB, free: 14.48 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 8.084e-05/0.1502, allocations: 156.5 kB / 0.6642 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.1502, allocations: 11.95 kB / 0.6642 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/0.1503, allocations: 3.312 kB / 0.6642 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1503, allocations: 3.938 kB / 0.6642 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1503, allocations: 4 kB / 0.6642 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.1503, allocations: 11.98 kB / 0.6642 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.1506, allocations: 412 kB / 0.6646 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1506, allocations: 0 / 0.6646 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.1506, allocations: 7.938 kB / 0.6646 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1506, allocations: 0 / 0.6646 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1506, allocations: 0 / 0.6646 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1506, allocations: 3.984 kB / 0.6646 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1506, allocations: 4 kB / 0.6646 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.545e-05/0.1507, allocations: 88.12 kB / 0.6647 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.1507, allocations: 4 kB / 0.6647 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.1508, allocations: 3.938 kB / 0.6647 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.1508, allocations: 4 kB / 0.6647 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.1508, allocations: 7.922 kB / 0.6647 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1509, allocations: 0 / 0.6647 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.593e-05/0.1509, allocations: 127.1 kB / 0.6648 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.1509, allocations: 0 / 0.6648 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002575/0.1512, allocations: 12 kB / 0.6648 GB, free: 13.54 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.0001384/0.1513, allocations: 103.3 kB / 0.6649 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.276e-05/0.1514, allocations: 19.67 kB / 0.665 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1514, allocations: 0 / 0.665 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.1514, allocations: 19.62 kB / 0.665 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.1517, allocations: 11.98 kB / 0.665 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/0.1525, allocations: 134.3 kB / 0.6651 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.724e-05/0.1526, allocations: 59.34 kB / 0.6652 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.119e-05/0.1526, allocations: 4 kB / 0.6652 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.1526, allocations: 8.5 kB / 0.6652 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.052e-06/0.1526, allocations: 0 / 0.6652 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.002575/0.1552, allocations: 0.6778 MB / 0.6658 GB, free: 12.46 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.402533768676221]