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.001384/0.001384, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001566/0.001566, allocations: 177 kB / 23.36 MB, free: 1.133 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.981/0.981, allocations: 177.1 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.7568/0.7568, 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 1.293e-06/1.293e-06, allocations: 0 / 480.3 MB, free: 6.531 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.298e-05/1.427e-05, allocations: 4.422 kB / 480.4 MB, free: 6.527 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1299/0.1299, allocations: 143.1 MB / 0.6088 GB, free: 7.328 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.13, allocations: 59.67 kB / 0.6089 GB, free: 7.27 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.606e-05/0.1301, allocations: 0 / 0.6089 GB, free: 7.27 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.1302, allocations: 7.984 kB / 0.6089 GB, free: 7.262 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.1303, allocations: 11.92 kB / 0.6089 GB, free: 7.25 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.1307, allocations: 119.5 kB / 0.609 GB, free: 7.133 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.1308, allocations: 35.84 kB / 0.6091 GB, free: 7.098 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.1308, allocations: 4 kB / 0.6091 GB, free: 7.094 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.204e-05/0.1309, allocations: 19.92 kB / 0.6091 GB, free: 7.074 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.1309, allocations: 19.91 kB / 0.6091 GB, free: 7.055 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1309, allocations: 0 / 0.6091 GB, free: 7.055 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.1311, allocations: 71.75 kB / 0.6092 GB, free: 6.984 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.193e-05/0.1312, allocations: 11.97 kB / 0.6092 GB, free: 6.973 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/0.1312, allocations: 4 kB / 0.6092 GB, free: 6.969 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1313, allocations: 71.84 kB / 0.6093 GB, free: 6.898 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1313, allocations: 0 / 0.6093 GB, free: 6.898 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1313, allocations: 4 kB / 0.6093 GB, free: 6.895 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.1313, allocations: 3.938 kB / 0.6093 GB, free: 6.891 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.0002808/0.1316, allocations: 240.5 kB / 0.6095 GB, free: 6.633 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.1316, allocations: 8.031 kB / 0.6095 GB, free: 6.625 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.1318, allocations: 32.83 kB / 0.6095 GB, free: 6.594 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.618e-05/0.1319, allocations: 106.1 kB / 0.6096 GB, free: 6.465 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.1319, allocations: 59.95 kB / 0.6097 GB, free: 6.395 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.132, allocations: 4.125 kB / 0.6097 GB, free: 6.391 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.1321, allocations: 82.92 kB / 0.6098 GB, free: 6.293 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1321, allocations: 0 / 0.6098 GB, free: 6.293 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.1321, allocations: 3.984 kB / 0.6098 GB, free: 6.289 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.1321, allocations: 4 kB / 0.6098 GB, free: 6.285 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.1321, allocations: 7.938 kB / 0.6098 GB, free: 6.277 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.1323, allocations: 165.9 kB / 0.6099 GB, free: 6.098 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 2.85e-05/0.1324, allocations: 14.58 kB / 0.61 GB, free: 6.074 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.1324, allocations: 12.97 kB / 0.61 GB, free: 6.059 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-06/0.1324, allocations: 7.984 kB / 0.61 GB, free: 6.051 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1324, allocations: 34.56 kB / 0.61 GB, free: 6.008 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.1324, allocations: 0 / 0.61 GB, free: 6.008 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 9.095e-05/0.1325, allocations: 33.64 kB / 0.61 GB, free: 5.969 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.1325, allocations: 55.41 kB / 0.6101 GB, free: 5.902 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.674e-05/0.1326, allocations: 106.7 kB / 0.6102 GB, free: 5.785 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.1326, allocations: 25.7 kB / 0.6102 GB, free: 5.754 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.1326, allocations: 95.98 kB / 0.6103 GB, free: 5.656 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.1326, allocations: 0 / 0.6103 GB, free: 5.656 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.1327, allocations: 17.72 kB / 0.6103 GB, free: 5.633 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.1327, allocations: 322.9 kB / 0.6106 GB, free: 5.309 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-06/0.1327, allocations: 4 kB / 0.6106 GB, free: 5.305 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.1328, allocations: 18.58 kB / 0.6107 GB, free: 5.277 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.938e-05/0.1328, allocations: 37.27 kB / 0.6107 GB, free: 5.23 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1328, allocations: 0 / 0.6107 GB, free: 5.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.692e-05/0.1328, allocations: 49.62 kB / 0.6107 GB, free: 5.176 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.1328, allocations: 4 kB / 0.6107 GB, free: 5.172 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1328, allocations: 4.094 kB / 0.6108 GB, free: 5.168 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1329, allocations: 4 kB / 0.6108 GB, free: 5.164 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.614e-05/0.1329, allocations: 7.938 kB / 0.6108 GB, free: 5.156 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.1329, allocations: 0 / 0.6108 GB, free: 5.156 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.1329, allocations: 11.95 kB / 0.6108 GB, free: 5.145 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.1329, allocations: 0 / 0.6108 GB, free: 5.145 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 5.533e-05/0.133, allocations: 120.5 kB / 0.6109 GB, free: 5.016 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.133, allocations: 0 / 0.6109 GB, free: 5.016 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.133, allocations: 10.38 kB / 0.6109 GB, free: 5.004 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.133, allocations: 4 kB / 0.6109 GB, free: 5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.133, allocations: 4 kB / 0.6109 GB, free: 4.996 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.133, allocations: 0 / 0.6109 GB, free: 4.996 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.1332, allocations: 266.9 kB / 0.6112 GB, free: 4.707 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1332, allocations: 0 / 0.6112 GB, free: 4.707 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-06/0.1332, allocations: 0 / 0.6112 GB, free: 4.707 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1332, allocations: 0 / 0.6112 GB, free: 4.707 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-06/0.1332, allocations: 0 / 0.6112 GB, free: 4.707 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1332, allocations: 4 kB / 0.6112 GB, free: 4.703 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.1332, allocations: 3.938 kB / 0.6112 GB, free: 4.699 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.834e-05/0.1332, allocations: 57.06 kB / 0.6112 GB, free: 4.625 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-06/0.1332, allocations: 8.062 kB / 0.6112 GB, free: 4.617 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.1332, allocations: 0 / 0.6112 GB, free: 4.617 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.1333, allocations: 4.25 kB / 0.6112 GB, free: 4.613 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.1333, allocations: 8.078 kB / 0.6112 GB, free: 4.605 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-07/0.1333, allocations: 0 / 0.6112 GB, free: 4.605 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.253e-05/0.1333, allocations: 12.84 kB / 0.6113 GB, free: 4.59 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-08/0.1333, allocations: 0 / 0.6113 GB, free: 4.59 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001006/0.1334, allocations: 12 kB / 0.6113 GB, free: 4.578 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.763e-05/0.1335, allocations: 76.42 kB / 0.6113 GB, free: 4.496 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 4.619e-05/0.1335, allocations: 16.8 kB / 0.6114 GB, free: 4.477 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1335, allocations: 4 kB / 0.6114 GB, free: 4.473 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 3.987e-06/0.1335, allocations: 4.859 kB / 0.6114 GB, free: 4.465 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.234e-05/0.1336, allocations: 11.92 kB / 0.6114 GB, free: 4.453 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.1339, allocations: 135.1 kB / 0.6115 GB, free: 4.297 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.847e-05/0.1339, allocations: 59.34 kB / 0.6116 GB, free: 4.219 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.796e-05/0.134, allocations: 4.25 kB / 0.6116 GB, free: 4.215 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.134, allocations: 59.36 kB / 0.6116 GB, free: 4.156 MB / 0.573 GB Notification: Performance of SimCode: time 6.61e-07/0.134, allocations: 0 / 0.6116 GB, free: 4.156 MB / 0.573 GB Notification: Performance of Templates: time 0.001907/0.1359, allocations: 0.6146 MB / 0.6122 GB, free: 3.578 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.746115371119231]