Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001285/0.001285, 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.001375/0.001375, 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.024/1.024, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8582/0.8582, allocations: 154.6 MB / 414.9 MB, free: 0.7031 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3.011e-05, allocations: 4.281 kB / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1499/0.1499, allocations: 143.4 MB / 0.6604 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.15, allocations: 67.67 kB / 0.6604 GB, free: 2.711 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.1501, allocations: 3.938 kB / 0.6604 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.199e-05/0.1501, allocations: 0 / 0.6604 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.1502, allocations: 3.984 kB / 0.6605 GB, free: 2.703 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.1506, allocations: 111.5 kB / 0.6606 GB, free: 2.594 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.833e-05/0.1507, allocations: 31.86 kB / 0.6606 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.376e-05/0.1507, allocations: 11.94 kB / 0.6606 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.1508, allocations: 19.97 kB / 0.6606 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.1508, allocations: 15.92 kB / 0.6606 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1508, allocations: 0 / 0.6606 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.1531, allocations: 75.72 kB / 0.6607 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.1531, allocations: 4 kB / 0.6607 GB, free: 2.438 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.1532, allocations: 11.98 kB / 0.6607 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1533, allocations: 67.8 kB / 0.6608 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1533, allocations: 3.938 kB / 0.6608 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1533, allocations: 0 / 0.6608 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1533, allocations: 4 kB / 0.6608 GB, free: 2.352 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.0003338/0.1536, allocations: 368.2 kB / 0.6611 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1537, allocations: 12.03 kB / 0.6612 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002207/0.1539, allocations: 25.16 kB / 0.6612 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.207e-05/0.154, allocations: 112.6 kB / 0.6613 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/0.1541, allocations: 51.97 kB / 0.6613 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1541, allocations: 8.125 kB / 0.6613 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.1542, allocations: 80.08 kB / 0.6614 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1542, allocations: 4 kB / 0.6614 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1542, allocations: 0 / 0.6614 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.1542, allocations: 0 / 0.6614 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.1543, allocations: 15.94 kB / 0.6614 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.1546, allocations: 263.7 kB / 0.6617 GB, free: 1.309 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.316e-05/0.1546, allocations: 23.06 kB / 0.6617 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.1546, allocations: 7.688 kB / 0.6617 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.1546, allocations: 4.062 kB / 0.6617 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1546, allocations: 41.42 kB / 0.6618 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.1546, allocations: 0 / 0.6618 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001025/0.1547, allocations: 37.59 kB / 0.6618 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.1548, allocations: 59.41 kB / 0.6619 GB, free: 1.094 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.1548, allocations: 161.9 kB / 0.662 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1549, allocations: 29.7 kB / 0.662 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.1549, allocations: 134.8 kB / 0.6622 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.1549, allocations: 3.953 kB / 0.6622 GB, free: 0.7422 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.1549, allocations: 23.38 kB / 0.6622 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1551, allocations: 0.4922 MB / 0.6627 GB, free: 212 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-06/0.1551, allocations: 4.125 kB / 0.6627 GB, free: 208 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.1551, allocations: 38.98 kB / 0.6627 GB, free: 156 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.167e-05/0.1551, allocations: 35 kB / 0.6627 GB, free: 108 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1551, allocations: 0 / 0.6627 GB, free: 108 kB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.24e-05/0.1552, allocations: 53.62 kB / 0.6628 GB, free: 48 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1552, allocations: 4 kB / 0.6628 GB, free: 44 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1552, allocations: 0 / 0.6628 GB, free: 44 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1552, allocations: 8.094 kB / 0.6628 GB, free: 36 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.713e-05/0.1552, allocations: 8 kB / 0.6628 GB, free: 28 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.1552, allocations: 3.984 kB / 0.6628 GB, free: 24 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.1553, allocations: 11.89 kB / 0.6628 GB, free: 12 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-06/0.1553, allocations: 0 / 0.6628 GB, free: 12 kB / 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 7.419e-05/0.1553, allocations: 160.5 kB / 0.663 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.1554, allocations: 0 / 0.663 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.749e-05/0.1554, allocations: 14.75 kB / 0.663 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1554, allocations: 0 / 0.663 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1554, allocations: 0 / 0.663 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1554, allocations: 0 / 0.663 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.1556, allocations: 400.3 kB / 0.6634 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1556, allocations: 0 / 0.6634 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-06/0.1556, allocations: 4 kB / 0.6634 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1556, allocations: 0 / 0.6634 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.1556, allocations: 3.938 kB / 0.6634 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1556, allocations: 3.984 kB / 0.6634 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1556, allocations: 0 / 0.6634 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.631e-05/0.1556, allocations: 68.64 kB / 0.6635 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.1556, allocations: 0 / 0.6635 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1557, allocations: 4 kB / 0.6635 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.071e-05/0.1557, allocations: 16.05 kB / 0.6635 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.401e-05/0.1557, allocations: 0 / 0.6635 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.1557, allocations: 3.938 kB / 0.6635 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.1558, allocations: 123.2 kB / 0.6636 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.1558, allocations: 0 / 0.6636 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001212/0.1559, allocations: 8 kB / 0.6636 GB, free: 15.14 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.043e-05/0.156, allocations: 95.25 kB / 0.6637 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.408e-05/0.156, allocations: 27.61 kB / 0.6637 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.156, allocations: 4.188 kB / 0.6637 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.574e-06/0.156, allocations: 15.62 kB / 0.6637 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.1562, allocations: 10.64 kB / 0.6638 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.1565, allocations: 118.3 kB / 0.6639 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.026e-05/0.1566, allocations: 59.3 kB / 0.6639 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.978e-05/0.1566, allocations: 12.05 kB / 0.6639 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.1566, allocations: 8.5 kB / 0.6639 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of SimCode: time 4.31e-07/0.1566, allocations: 0 / 0.6639 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of Templates: time 0.00239/0.159, allocations: 0.5577 MB / 0.6645 GB, free: 14.23 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.444522588979453]