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.001199/0.001199, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001533/0.001533, allocations: 173 kB / 23.49 MB, free: 1.059 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.082/1.082, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.8109/0.8109, allocations: 154.8 MB / 415.1 MB, free: 496 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.743e-06/1.743e-06, allocations: 0 / 0.5206 GB, free: 2.246 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.341e-05, allocations: 5.156 kB / 0.5206 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1395/0.1395, allocations: 143.4 MB / 0.6606 GB, free: 2.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001321/0.1397, allocations: 51.73 kB / 0.6607 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.679e-05/0.1397, allocations: 0 / 0.6607 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.1398, allocations: 3.938 kB / 0.6607 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.403e-05/0.1399, allocations: 15.92 kB / 0.6607 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.1404, allocations: 111.5 kB / 0.6608 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.923e-05/0.1404, allocations: 35.84 kB / 0.6608 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.1405, allocations: 4 kB / 0.6608 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.344e-05/0.1405, allocations: 19.97 kB / 0.6609 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.948e-05/0.1406, allocations: 15.92 kB / 0.6609 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1406, allocations: 0 / 0.6609 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.1408, allocations: 63.8 kB / 0.6609 GB, free: 2.184 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.1409, allocations: 15.92 kB / 0.661 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.1409, allocations: 7.938 kB / 0.661 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.141, allocations: 75.83 kB / 0.661 GB, free: 2.086 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.141, allocations: 4 kB / 0.661 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.141, allocations: 0 / 0.661 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1411, allocations: 0 / 0.661 GB, free: 2.082 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.000363/0.1414, allocations: 364.6 kB / 0.6614 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1415, allocations: 8.031 kB / 0.6614 GB, free: 1.684 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.1417, allocations: 32.75 kB / 0.6614 GB, free: 1.652 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.569e-05/0.1418, allocations: 108.6 kB / 0.6615 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.1418, allocations: 55.97 kB / 0.6616 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1418, allocations: 12.06 kB / 0.6616 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.142, allocations: 84.08 kB / 0.6617 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.142, allocations: 0 / 0.6617 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.142, allocations: 0 / 0.6617 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.142, allocations: 4 kB / 0.6617 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.189e-05/0.142, allocations: 11.98 kB / 0.6617 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.1423, allocations: 255.8 kB / 0.6619 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.624e-05/0.1424, allocations: 31 kB / 0.662 GB, free: 1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.1424, allocations: 11.69 kB / 0.662 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-06/0.1424, allocations: 0 / 0.662 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1424, allocations: 41.45 kB / 0.662 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.1424, allocations: 0 / 0.662 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001177/0.1425, allocations: 33.66 kB / 0.662 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.1426, allocations: 51.41 kB / 0.6621 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.1427, allocations: 169.9 kB / 0.6623 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.1427, allocations: 25.7 kB / 0.6623 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.1427, allocations: 142.8 kB / 0.6624 GB, free: 484 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.1427, allocations: 7.938 kB / 0.6624 GB, free: 476 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.417e-05/0.1427, allocations: 23.5 kB / 0.6624 GB, free: 444 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1429, allocations: 0.4883 MB / 0.6629 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.1429, allocations: 4 kB / 0.6629 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.1429, allocations: 31.05 kB / 0.663 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.665e-05/0.1429, allocations: 39 kB / 0.663 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1429, allocations: 0 / 0.663 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.412e-05/0.143, allocations: 45.89 kB / 0.663 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.143, allocations: 16.08 kB / 0.6631 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.143, allocations: 0 / 0.6631 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.143, allocations: 4 kB / 0.6631 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.906e-05/0.1431, allocations: 8 kB / 0.6631 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1431, allocations: 0 / 0.6631 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.1431, allocations: 3.953 kB / 0.6631 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.1431, allocations: 4 kB / 0.6631 GB, free: 15.75 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 6.362e-05/0.1432, allocations: 164.5 kB / 0.6632 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.1432, allocations: 4 kB / 0.6632 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.1432, allocations: 3.156 kB / 0.6632 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1432, allocations: 7.984 kB / 0.6632 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1432, allocations: 0 / 0.6632 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1432, allocations: 0 / 0.6632 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.1434, allocations: 404.3 kB / 0.6636 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1434, allocations: 0 / 0.6636 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-06/0.1434, allocations: 0 / 0.6636 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.1434, allocations: 0 / 0.6636 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.1434, allocations: 0 / 0.6636 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.1434, allocations: 0 / 0.6636 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1434, allocations: 4 kB / 0.6636 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.057e-05/0.1435, allocations: 76.36 kB / 0.6637 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.954e-06/0.1435, allocations: 11.94 kB / 0.6637 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.1435, allocations: 0 / 0.6637 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.533e-05/0.1435, allocations: 0 / 0.6637 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.232e-05/0.1435, allocations: 4 kB / 0.6637 GB, free: 15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1435, allocations: 3.938 kB / 0.6637 GB, free: 15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.1436, allocations: 131.2 kB / 0.6638 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1436, allocations: 0 / 0.6638 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001216/0.1437, allocations: 8 kB / 0.6639 GB, free: 14.86 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 8.047e-05/0.1438, allocations: 95.28 kB / 0.6639 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.669e-05/0.1438, allocations: 23.62 kB / 0.664 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1438, allocations: 0 / 0.664 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-06/0.1438, allocations: 7.688 kB / 0.664 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.144, allocations: 12.17 kB / 0.664 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.1444, allocations: 114.5 kB / 0.6641 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.1444, allocations: 67.53 kB / 0.6642 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.1445, allocations: 7.984 kB / 0.6642 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.1445, allocations: 8.5 kB / 0.6642 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.1445, allocations: 0 / 0.6642 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of Templates: time 0.001959/0.1464, allocations: 0.5666 MB / 0.6647 GB, free: 13.95 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.532202589092776]