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.001864/0.001864, 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.002138/0.002138, allocations: 165.3 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 1.1/1.1, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.7853/0.7853, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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 1.964e-06/1.964e-06, allocations: 0 / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.414e-05, allocations: 7.391 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.134/0.134, allocations: 143.7 MB / 0.6606 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001366/0.1342, allocations: 55.73 kB / 0.6607 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.1342, allocations: 4 kB / 0.6607 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1343, allocations: 7.938 kB / 0.6607 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.915e-05/0.1344, allocations: 15.91 kB / 0.6607 GB, free: 2.098 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.1349, allocations: 111.6 kB / 0.6608 GB, free: 1.988 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.412e-05/0.135, allocations: 31.84 kB / 0.6609 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.135, allocations: 8 kB / 0.6609 GB, free: 1.949 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.223e-05/0.1351, allocations: 15.92 kB / 0.6609 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.1351, allocations: 19.97 kB / 0.6609 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.1352, allocations: 0 / 0.6609 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.1354, allocations: 79.67 kB / 0.661 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.1354, allocations: 7.984 kB / 0.661 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.1354, allocations: 11.98 kB / 0.661 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.1356, allocations: 67.8 kB / 0.6611 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1356, allocations: 0 / 0.6611 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.1356, allocations: 0 / 0.6611 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1356, allocations: 0 / 0.6611 GB, free: 1.75 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.0003671/0.136, allocations: 368.2 kB / 0.6614 GB, free: 1.355 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.136, allocations: 12.03 kB / 0.6614 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.1362, allocations: 29.16 kB / 0.6614 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.822e-05/0.1363, allocations: 112.6 kB / 0.6616 GB, free: 1.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.1364, allocations: 55.97 kB / 0.6616 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.1364, allocations: 4.125 kB / 0.6616 GB, free: 1.109 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1366, allocations: 80.08 kB / 0.6617 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1366, allocations: 0 / 0.6617 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1366, allocations: 0 / 0.6617 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.1366, allocations: 8 kB / 0.6617 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.1367, allocations: 11.98 kB / 0.6617 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.137, allocations: 263.7 kB / 0.662 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.883e-05/0.137, allocations: 27.06 kB / 0.662 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.137, allocations: 11.72 kB / 0.662 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-06/0.1371, allocations: 0 / 0.662 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.1371, allocations: 37.33 kB / 0.662 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.1371, allocations: 0 / 0.662 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.1372, allocations: 49.64 kB / 0.6621 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.1372, allocations: 55.41 kB / 0.6621 GB, free: 492 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.1373, allocations: 169.9 kB / 0.6623 GB, free: 304 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.1373, allocations: 25.7 kB / 0.6623 GB, free: 272 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.809e-05/0.1374, allocations: 134.8 kB / 0.6624 GB, free: 132 kB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.092e-06/0.1374, allocations: 7.953 kB / 0.6625 GB, free: 124 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.1374, allocations: 23.38 kB / 0.6625 GB, free: 92 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.1375, allocations: 0.4883 MB / 0.663 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.1375, allocations: 4 kB / 0.663 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.1376, allocations: 31.06 kB / 0.663 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/0.1376, allocations: 39.12 kB / 0.663 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1376, allocations: 0 / 0.663 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.668e-05/0.1377, allocations: 53.62 kB / 0.6631 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1377, allocations: 8 kB / 0.6631 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1377, allocations: 0 / 0.6631 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1377, allocations: 0 / 0.6631 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.911e-05/0.1377, allocations: 11.98 kB / 0.6631 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1377, allocations: 4.094 kB / 0.6631 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.1378, allocations: 3.953 kB / 0.6631 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.1378, allocations: 4 kB / 0.6631 GB, free: 15.4 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.06e-05/0.1378, allocations: 160.5 kB / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.1378, allocations: 4 kB / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.225e-05/0.1379, allocations: 10.75 kB / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1379, allocations: 0 / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1379, allocations: 0 / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1379, allocations: 0 / 0.6633 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.1381, allocations: 396.3 kB / 0.6637 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1381, allocations: 8.031 kB / 0.6637 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.533e-06/0.1381, allocations: 0 / 0.6637 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1381, allocations: 3.984 kB / 0.6637 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.1381, allocations: 0 / 0.6637 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.1381, allocations: 0 / 0.6637 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1381, allocations: 0 / 0.6637 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.774e-05/0.1381, allocations: 72.33 kB / 0.6637 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.1381, allocations: 7.938 kB / 0.6637 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.1381, allocations: 0 / 0.6637 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/0.1382, allocations: 7.984 kB / 0.6637 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.1382, allocations: 4.031 kB / 0.6638 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.1382, allocations: 8.188 kB / 0.6638 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.615e-05/0.1382, allocations: 127.2 kB / 0.6639 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1382, allocations: 0 / 0.6639 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001243/0.1384, allocations: 8 kB / 0.6639 GB, free: 14.53 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 7.725e-05/0.1384, allocations: 95.23 kB / 0.664 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.1385, allocations: 23.62 kB / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1385, allocations: 0 / 0.664 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.185e-06/0.1385, allocations: 15.88 kB / 0.664 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.1387, allocations: 7.984 kB / 0.664 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.1391, allocations: 122.3 kB / 0.6641 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.192e-05/0.1391, allocations: 55.3 kB / 0.6642 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.1392, allocations: 12.05 kB / 0.6642 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.1392, allocations: 12.5 kB / 0.6642 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.1392, allocations: 0 / 0.6642 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.00209/0.1413, allocations: 0.5442 MB / 0.6647 GB, free: 13.62 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.647139494307339]