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.0009419/0.0009419, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009454/0.0009454, allocations: 177.3 kB / 23.36 MB, free: 1.137 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.923/0.923, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7694/0.7694, allocations: 154.6 MB / 414.9 MB, free: 0.5078 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.392e-06/1.392e-06, allocations: 0 / 480 MB, free: 6.902 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.401e-05, allocations: 2.312 kB / 480 MB, free: 6.898 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1297/0.1297, allocations: 143.1 MB / 0.6085 GB, free: 7.68 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0001306/0.1298, allocations: 51.75 kB / 0.6086 GB, free: 7.629 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.1299, allocations: 0 / 0.6086 GB, free: 7.629 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.13, allocations: 7.922 kB / 0.6086 GB, free: 7.621 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.271e-05/0.13, allocations: 7.938 kB / 0.6086 GB, free: 7.613 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.1304, allocations: 123.6 kB / 0.6087 GB, free: 7.492 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.055e-05/0.1305, allocations: 31.86 kB / 0.6087 GB, free: 7.461 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.1306, allocations: 7.984 kB / 0.6087 GB, free: 7.453 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.1306, allocations: 19.92 kB / 0.6088 GB, free: 7.434 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.41e-05/0.1307, allocations: 7.984 kB / 0.6088 GB, free: 7.426 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.1307, allocations: 0 / 0.6088 GB, free: 7.426 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.1309, allocations: 79.67 kB / 0.6088 GB, free: 7.348 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.022e-05/0.1309, allocations: 15.98 kB / 0.6088 GB, free: 7.332 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.1309, allocations: 4 kB / 0.6089 GB, free: 7.328 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.131, allocations: 75.77 kB / 0.6089 GB, free: 7.254 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.131, allocations: 0 / 0.6089 GB, free: 7.254 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.131, allocations: 0 / 0.6089 GB, free: 7.254 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.131, allocations: 0 / 0.6089 GB, free: 7.254 MB / 0.573 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.0002642/0.1313, allocations: 236.6 kB / 0.6092 GB, free: 7 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.1313, allocations: 8.031 kB / 0.6092 GB, free: 6.992 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.1315, allocations: 29.19 kB / 0.6092 GB, free: 6.965 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.541e-05/0.1316, allocations: 117.8 kB / 0.6093 GB, free: 6.824 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.1316, allocations: 55.91 kB / 0.6094 GB, free: 6.758 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.1316, allocations: 12.09 kB / 0.6094 GB, free: 6.746 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1318, allocations: 86.91 kB / 0.6094 GB, free: 6.645 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1318, allocations: 0 / 0.6094 GB, free: 6.645 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1318, allocations: 0 / 0.6094 GB, free: 6.645 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.1318, allocations: 4 kB / 0.6095 GB, free: 6.641 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.1318, allocations: 4 kB / 0.6095 GB, free: 6.637 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.132, allocations: 169.9 kB / 0.6096 GB, free: 6.453 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 2.909e-05/0.132, allocations: 18.56 kB / 0.6096 GB, free: 6.426 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.1322, allocations: 12.91 kB / 0.6096 GB, free: 6.41 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.1322, allocations: 0 / 0.6096 GB, free: 6.41 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.1322, allocations: 34.5 kB / 0.6097 GB, free: 6.367 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.1322, allocations: 0 / 0.6097 GB, free: 6.367 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 8.342e-05/0.1323, allocations: 29.7 kB / 0.6097 GB, free: 6.332 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.1324, allocations: 59.34 kB / 0.6098 GB, free: 6.262 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.948e-05/0.1324, allocations: 106.7 kB / 0.6099 GB, free: 6.145 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.1324, allocations: 33.83 kB / 0.6099 GB, free: 6.105 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.1325, allocations: 95.98 kB / 0.61 GB, free: 6.008 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-06/0.1325, allocations: 3.984 kB / 0.61 GB, free: 6.004 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.1325, allocations: 17.7 kB / 0.61 GB, free: 5.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.1326, allocations: 314.8 kB / 0.6103 GB, free: 5.664 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-06/0.1326, allocations: 256 / 0.6103 GB, free: 5.664 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.1326, allocations: 18.58 kB / 0.6103 GB, free: 5.637 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.1326, allocations: 49.25 kB / 0.6104 GB, free: 5.578 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1326, allocations: 0 / 0.6104 GB, free: 5.578 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.577e-05/0.1327, allocations: 49.62 kB / 0.6104 GB, free: 5.523 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.1327, allocations: 4 kB / 0.6104 GB, free: 5.52 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1327, allocations: 4 kB / 0.6104 GB, free: 5.516 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1327, allocations: 0 / 0.6104 GB, free: 5.516 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.408e-05/0.1327, allocations: 4 kB / 0.6104 GB, free: 5.512 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.1327, allocations: 4 kB / 0.6104 GB, free: 5.508 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.921e-05/0.1327, allocations: 3.953 kB / 0.6104 GB, free: 5.504 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.1327, allocations: 0 / 0.6104 GB, free: 5.504 MB / 0.573 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 4.817e-05/0.1328, allocations: 120.6 kB / 0.6106 GB, free: 5.375 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.1328, allocations: 8.078 kB / 0.6106 GB, free: 5.367 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.1328, allocations: 7.875 kB / 0.6106 GB, free: 5.363 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1328, allocations: 0 / 0.6106 GB, free: 5.363 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1328, allocations: 0 / 0.6106 GB, free: 5.363 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1328, allocations: 0 / 0.6106 GB, free: 5.363 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.133, allocations: 258.9 kB / 0.6108 GB, free: 5.082 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.133, allocations: 0 / 0.6108 GB, free: 5.082 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-06/0.133, allocations: 0 / 0.6108 GB, free: 5.082 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.133, allocations: 4 kB / 0.6108 GB, free: 5.078 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-06/0.133, allocations: 0 / 0.6108 GB, free: 5.078 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.133, allocations: 4.031 kB / 0.6108 GB, free: 5.074 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.133, allocations: 0 / 0.6108 GB, free: 5.074 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.785e-05/0.133, allocations: 65 kB / 0.6109 GB, free: 4.992 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.133, allocations: 7.938 kB / 0.6109 GB, free: 4.984 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.133, allocations: 0 / 0.6109 GB, free: 4.984 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.964e-05/0.1331, allocations: 4 kB / 0.6109 GB, free: 4.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-06/0.1331, allocations: 96 / 0.6109 GB, free: 4.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.31e-07/0.1331, allocations: 0 / 0.6109 GB, free: 4.98 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.282e-05/0.1331, allocations: 20.83 kB / 0.6109 GB, free: 4.957 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1331, allocations: 0 / 0.6109 GB, free: 4.957 MB / 0.573 GB Notification: Performance of remove unused functions: time 9.421e-05/0.1332, allocations: 8 kB / 0.6109 GB, free: 4.949 MB / 0.573 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.479e-05/0.1333, allocations: 80.45 kB / 0.611 GB, free: 4.863 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 4.825e-05/0.1333, allocations: 20.78 kB / 0.611 GB, free: 4.84 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1333, allocations: 0 / 0.611 GB, free: 4.84 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.1333, allocations: 4.859 kB / 0.611 GB, free: 4.832 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.1334, allocations: 15.92 kB / 0.611 GB, free: 4.816 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.1337, allocations: 119.7 kB / 0.6112 GB, free: 4.672 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.786e-05/0.1338, allocations: 59.34 kB / 0.6112 GB, free: 4.594 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.1338, allocations: 4 kB / 0.6112 GB, free: 4.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.1339, allocations: 59.3 kB / 0.6113 GB, free: 4.531 MB / 0.573 GB Notification: Performance of SimCode: time 7.11e-07/0.1339, allocations: 0 / 0.6113 GB, free: 4.531 MB / 0.573 GB Notification: Performance of Templates: time 0.001911/0.1358, allocations: 0.6208 MB / 0.6119 GB, free: 3.949 MB / 0.573 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: 3.7323764548636973]