Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.004434/0.004434, 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.001315/0.001315, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.9936/0.9936, allocations: 177.1 MB / 203.4 MB, free: 5.59 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.7618/0.7618, allocations: 154.9 MB / 414.8 MB, free: 384 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.5207 GB, free: 1.828 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.034e-05, allocations: 3.859 kB / 0.5207 GB, free: 1.824 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1495/0.1495, allocations: 143.7 MB / 0.661 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001215/0.1496, allocations: 63.67 kB / 0.6611 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.1497, allocations: 0 / 0.6611 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.1498, allocations: 0 / 0.6611 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.685e-05/0.1499, allocations: 15.91 kB / 0.6611 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.1504, allocations: 119.5 kB / 0.6612 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.251e-05/0.1504, allocations: 35.84 kB / 0.6612 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.1505, allocations: 7.984 kB / 0.6612 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.1505, allocations: 15.92 kB / 0.6613 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.502e-05/0.1506, allocations: 11.98 kB / 0.6613 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1506, allocations: 3.938 kB / 0.6613 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.1508, allocations: 71.8 kB / 0.6613 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.1509, allocations: 11.92 kB / 0.6614 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.1509, allocations: 15.98 kB / 0.6614 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1511, allocations: 67.84 kB / 0.6614 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1511, allocations: 0 / 0.6614 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1511, allocations: 0 / 0.6614 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.1511, allocations: 0 / 0.6614 GB, free: 1.375 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.0003895/0.1515, allocations: 368.2 kB / 0.6618 GB, free: 0.9805 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1515, allocations: 8.031 kB / 0.6618 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.1517, allocations: 33.16 kB / 0.6618 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.02e-05/0.1518, allocations: 112.6 kB / 0.6619 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/0.1519, allocations: 59.95 kB / 0.662 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1519, allocations: 4.125 kB / 0.662 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.152, allocations: 76.09 kB / 0.6621 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.152, allocations: 0 / 0.6621 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.152, allocations: 0 / 0.6621 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.152, allocations: 7.984 kB / 0.6621 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.057e-05/0.1521, allocations: 15.92 kB / 0.6621 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.1524, allocations: 259.8 kB / 0.6623 GB, free: 336 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.944e-05/0.1524, allocations: 31.06 kB / 0.6624 GB, free: 292 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.1524, allocations: 7.688 kB / 0.6624 GB, free: 280 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.1524, allocations: 0 / 0.6624 GB, free: 280 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1525, allocations: 33.39 kB / 0.6624 GB, free: 236 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.1525, allocations: 64 / 0.6624 GB, free: 236 kB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001241/0.1526, allocations: 45.59 kB / 0.6624 GB, free: 184 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.1526, allocations: 51.41 kB / 0.6625 GB, free: 120 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.1527, allocations: 165.9 kB / 0.6627 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.1527, allocations: 25.7 kB / 0.6627 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.1528, allocations: 138.9 kB / 0.6628 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.661e-06/0.1528, allocations: 7.953 kB / 0.6628 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.1528, allocations: 27.36 kB / 0.6628 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.1529, allocations: 496.1 kB / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.1529, allocations: 4 kB / 0.6633 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.1529, allocations: 35.05 kB / 0.6634 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.153, allocations: 35 kB / 0.6634 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.153, allocations: 4 kB / 0.6634 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.607e-05/0.153, allocations: 49.89 kB / 0.6634 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.153, allocations: 10.34 kB / 0.6634 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.153, allocations: 3.984 kB / 0.6635 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1531, allocations: 0 / 0.6635 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.1531, allocations: 12 kB / 0.6635 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1531, allocations: 0 / 0.6635 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.1531, allocations: 0 / 0.6635 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1531, allocations: 4 kB / 0.6635 GB, free: 15.04 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 5.874e-05/0.1532, allocations: 160.5 kB / 0.6636 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.1532, allocations: 11.98 kB / 0.6636 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.1532, allocations: 11.16 kB / 0.6636 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1532, allocations: 0 / 0.6636 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1532, allocations: 0 / 0.6636 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1532, allocations: 3.984 kB / 0.6636 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.1534, allocations: 400.3 kB / 0.664 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.1534, allocations: 4 kB / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-06/0.1534, allocations: 0 / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1534, allocations: 0 / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1534, allocations: 0 / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.1534, allocations: 0 / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1535, allocations: 7.969 kB / 0.664 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.153e-05/0.1535, allocations: 68.39 kB / 0.6641 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.1535, allocations: 11.98 kB / 0.6641 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.1535, allocations: 0 / 0.6641 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.107e-05/0.1536, allocations: 0 / 0.6641 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.1536, allocations: 4 kB / 0.6641 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1536, allocations: 3.938 kB / 0.6641 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.1536, allocations: 127.2 kB / 0.6642 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1536, allocations: 0 / 0.6642 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001279/0.1538, allocations: 8 kB / 0.6643 GB, free: 14.15 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.0001052/0.1539, allocations: 95.28 kB / 0.6643 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.066e-05/0.154, allocations: 23.62 kB / 0.6644 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.154, allocations: 4 kB / 0.6644 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.154, allocations: 7.688 kB / 0.6644 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.1542, allocations: 8.734 kB / 0.6644 GB, free: 14 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004597/0.1546, allocations: 126.6 kB / 0.6645 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.372e-05/0.1546, allocations: 59.16 kB / 0.6646 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.1547, allocations: 12.06 kB / 0.6646 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.1547, allocations: 12.5 kB / 0.6646 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.1547, allocations: 0 / 0.6646 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of Templates: time 0.00211/0.1568, allocations: 0.6015 MB / 0.6652 GB, free: 13.18 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.195790857076645]