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.0009898/0.0009898, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009989/0.0009989, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.015/1.015, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.777/0.777, allocations: 154.9 MB / 415.1 MB, free: 240 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 8.82e-07/8.82e-07, allocations: 0 / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.105e-05, allocations: 4.281 kB / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1238/0.1239, allocations: 143.1 MB / 0.6089 GB, free: 7.27 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.124, allocations: 59.73 kB / 0.609 GB, free: 7.211 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.339e-05/0.124, allocations: 0 / 0.609 GB, free: 7.211 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.1241, allocations: 7.875 kB / 0.609 GB, free: 7.203 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.219e-05/0.1242, allocations: 7.984 kB / 0.609 GB, free: 7.195 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1246, allocations: 119.5 kB / 0.6091 GB, free: 7.078 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.587e-05/0.1246, allocations: 39.86 kB / 0.6092 GB, free: 7.039 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.1247, allocations: 3.984 kB / 0.6092 GB, free: 7.035 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.204e-05/0.1247, allocations: 23.91 kB / 0.6092 GB, free: 7.012 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.954e-05/0.1248, allocations: 8 kB / 0.6092 GB, free: 7.004 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.1248, allocations: 4 kB / 0.6092 GB, free: 7 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.125, allocations: 79.66 kB / 0.6093 GB, free: 6.922 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.1251, allocations: 8 kB / 0.6093 GB, free: 6.914 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.762e-05/0.1251, allocations: 11.97 kB / 0.6093 GB, free: 6.902 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.1252, allocations: 71.8 kB / 0.6094 GB, free: 6.832 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1252, allocations: 0 / 0.6094 GB, free: 6.832 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1252, allocations: 4 kB / 0.6094 GB, free: 6.828 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1252, allocations: 0 / 0.6094 GB, free: 6.828 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.0002896/0.1255, allocations: 232.6 kB / 0.6096 GB, free: 6.578 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.1255, allocations: 8.031 kB / 0.6096 GB, free: 6.57 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.1257, allocations: 24.86 kB / 0.6096 GB, free: 6.547 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.29e-05/0.1258, allocations: 118 kB / 0.6097 GB, free: 6.406 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.1258, allocations: 55.95 kB / 0.6098 GB, free: 6.34 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.1258, allocations: 12.12 kB / 0.6098 GB, free: 6.328 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.126, allocations: 78.92 kB / 0.6099 GB, free: 6.234 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.126, allocations: 4 kB / 0.6099 GB, free: 6.23 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.126, allocations: 0 / 0.6099 GB, free: 6.23 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.126, allocations: 0 / 0.6099 GB, free: 6.23 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.126, allocations: 11.98 kB / 0.6099 GB, free: 6.219 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.1262, allocations: 157.9 kB / 0.61 GB, free: 6.047 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 2.462e-05/0.1262, allocations: 22.52 kB / 0.6101 GB, free: 6.016 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.143e-05/0.1262, allocations: 4.859 kB / 0.6101 GB, free: 6.008 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-06/0.1262, allocations: 4 kB / 0.6101 GB, free: 6.004 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.1263, allocations: 38.62 kB / 0.6101 GB, free: 5.957 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.1263, allocations: 0 / 0.6101 GB, free: 5.957 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 8.702e-05/0.1264, allocations: 37.67 kB / 0.6101 GB, free: 5.914 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.1264, allocations: 51.41 kB / 0.6102 GB, free: 5.852 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.424e-05/0.1264, allocations: 110.7 kB / 0.6103 GB, free: 5.73 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.1264, allocations: 25.7 kB / 0.6103 GB, free: 5.699 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.1265, allocations: 99.95 kB / 0.6104 GB, free: 5.598 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-06/0.1265, allocations: 4 kB / 0.6104 GB, free: 5.594 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.1265, allocations: 13.72 kB / 0.6104 GB, free: 5.574 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.1266, allocations: 311 kB / 0.6107 GB, free: 5.262 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-06/0.1266, allocations: 8 kB / 0.6107 GB, free: 5.254 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.725e-05/0.1266, allocations: 30.5 kB / 0.6108 GB, free: 5.215 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.1266, allocations: 33.27 kB / 0.6108 GB, free: 5.172 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1266, allocations: 0 / 0.6108 GB, free: 5.172 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.569e-05/0.1267, allocations: 45.62 kB / 0.6108 GB, free: 5.121 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1267, allocations: 9.875 kB / 0.6108 GB, free: 5.113 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.1267, allocations: 96 / 0.6108 GB, free: 5.113 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1267, allocations: 4 kB / 0.6108 GB, free: 5.109 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.026e-05/0.1267, allocations: 11.98 kB / 0.6109 GB, free: 5.098 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.1267, allocations: 0 / 0.6109 GB, free: 5.098 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.1268, allocations: 11.95 kB / 0.6109 GB, free: 5.086 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-06/0.1268, allocations: 0 / 0.6109 GB, free: 5.086 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.643e-05/0.1268, allocations: 116.6 kB / 0.611 GB, free: 4.961 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.1268, allocations: 7.938 kB / 0.611 GB, free: 4.953 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.781e-05/0.1268, allocations: 6.391 kB / 0.611 GB, free: 4.945 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1268, allocations: 0 / 0.611 GB, free: 4.945 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.1268, allocations: 0 / 0.611 GB, free: 4.945 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.1268, allocations: 4 kB / 0.611 GB, free: 4.941 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.127, allocations: 259 kB / 0.6112 GB, free: 4.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.127, allocations: 96 / 0.6112 GB, free: 4.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-06/0.127, allocations: 4 kB / 0.6112 GB, free: 4.656 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.127, allocations: 3.984 kB / 0.6113 GB, free: 4.652 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-06/0.127, allocations: 0 / 0.6113 GB, free: 4.652 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.127, allocations: 3.984 kB / 0.6113 GB, free: 4.648 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.127, allocations: 0 / 0.6113 GB, free: 4.648 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.946e-05/0.127, allocations: 69 kB / 0.6113 GB, free: 4.562 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-06/0.127, allocations: 0 / 0.6113 GB, free: 4.562 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.127, allocations: 8.062 kB / 0.6113 GB, free: 4.555 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-05/0.1271, allocations: 4.234 kB / 0.6113 GB, free: 4.551 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.1271, allocations: 0 / 0.6113 GB, free: 4.551 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.1271, allocations: 4 kB / 0.6113 GB, free: 4.547 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.048e-05/0.1271, allocations: 12.86 kB / 0.6113 GB, free: 4.531 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1271, allocations: 0 / 0.6113 GB, free: 4.531 MB / 0.573 GB Notification: Performance of remove unused functions: time 9.546e-05/0.1272, allocations: 4 kB / 0.6114 GB, free: 4.527 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.324e-05/0.1273, allocations: 80.41 kB / 0.6114 GB, free: 4.441 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 4.916e-05/0.1273, allocations: 24.8 kB / 0.6115 GB, free: 4.414 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1273, allocations: 0 / 0.6115 GB, free: 4.414 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.629e-06/0.1273, allocations: 12.8 kB / 0.6115 GB, free: 4.398 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.424e-05/0.1274, allocations: 12.48 kB / 0.6115 GB, free: 4.387 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.1277, allocations: 127.1 kB / 0.6116 GB, free: 4.238 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.601e-05/0.1278, allocations: 51.36 kB / 0.6116 GB, free: 4.168 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.849e-05/0.1278, allocations: 8.25 kB / 0.6117 GB, free: 4.16 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.1279, allocations: 71.33 kB / 0.6117 GB, free: 4.09 MB / 0.573 GB Notification: Performance of SimCode: time 6.01e-07/0.1279, allocations: 0 / 0.6117 GB, free: 4.09 MB / 0.573 GB Notification: Performance of Templates: time 0.001894/0.1297, allocations: 0.6039 MB / 0.6123 GB, free: 3.527 MB / 0.573 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.722984956111759]