Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.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.001183/0.001183, allocations: 80.88 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.001101/0.001101, allocations: 181 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.9193/0.9193, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.03553/0.03553, allocations: 7.52 MB / 267.8 MB, free: 5.887 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") translateModel(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 285.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.149e-05, allocations: 9.203 kB / 285.8 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.1248/0.1248, allocations: 17.17 MB / 303 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005842/0.1307, allocations: 9.211 MB / 312.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.1307, allocations: 1.156 kB / 312.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007574/0.1315, allocations: 337.6 kB / 312.5 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007962/0.1395, allocations: 4.639 MB / 317.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.591e-05/0.1395, allocations: 8 kB / 317.2 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1396, allocations: 147 kB / 317.3 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.1397, allocations: 10.67 kB / 317.3 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1398, allocations: 91.61 kB / 317.4 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/0.1398, allocations: 31.92 kB / 317.5 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1398, allocations: 4 kB / 317.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006371/0.1462, allocations: 5.34 MB / 322.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.1462, allocations: 7.875 kB / 322.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.397e-05/0.1463, allocations: 39.92 kB / 322.9 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0052/0.1515, allocations: 3.16 MB / 326 MB, free: 8.984 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1515, allocations: 0 / 326 MB, free: 8.984 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1515, allocations: 0 / 326 MB, free: 8.984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.1515, allocations: 0 / 326 MB, free: 8.984 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001099/0.1526, allocations: 0.6201 MB / 326.6 MB, free: 8.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.1526, allocations: 12.56 kB / 326.6 MB, free: 8.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.1528, allocations: 31.86 kB / 326.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.021e-05/0.1528, allocations: 117.1 kB / 326.8 MB, free: 8.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1528, allocations: 8 kB / 326.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.1529, allocations: 4 kB / 326.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.153, allocations: 94.03 kB / 326.9 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.153, allocations: 0 / 326.9 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.153, allocations: 13.3 kB / 326.9 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.153, allocations: 4 kB / 326.9 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.674e-05/0.153, allocations: 72.3 kB / 327 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.1532, allocations: 139.9 kB / 327.1 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.424e-05/0.1533, allocations: 103.2 kB / 327.2 MB, free: 7.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.1533, allocations: 65.17 kB / 327.3 MB, free: 7.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003667/0.157, allocations: 1.329 MB / 328.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.157, allocations: 34.56 kB / 328.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=39): time 1.934e-06/0.157, allocations: 0 / 328.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=39): time 0.000259/0.1573, allocations: 320.6 kB / 329 MB, free: 5.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.1573, allocations: 59.34 kB / 329 MB, free: 5.863 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.121e-05/0.1573, allocations: 102.7 kB / 329.1 MB, free: 5.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.1574, allocations: 29.7 kB / 329.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.1574, allocations: 84.78 kB / 329.2 MB, free: 5.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.354e-05/0.1574, allocations: 138.7 kB / 329.4 MB, free: 5.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.1575, allocations: 41.67 kB / 329.4 MB, free: 5.445 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.52e-05/0.1575, allocations: 322.8 kB / 329.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.1576, allocations: 46.81 kB / 329.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.1576, allocations: 69.61 kB / 329.8 MB, free: 5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.658e-05/0.1577, allocations: 141.7 kB / 330 MB, free: 4.855 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1577, allocations: 0 / 330 MB, free: 4.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001434/0.1579, allocations: 174 kB / 330.1 MB, free: 4.676 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1579, allocations: 7.938 kB / 330.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.1579, allocations: 4 kB / 330.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1579, allocations: 0.5625 kB / 330.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.158, allocations: 23.92 kB / 330.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.158, allocations: 7.969 kB / 330.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.233e-05/0.158, allocations: 15.89 kB / 330.2 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.158, allocations: 6.188 kB / 330.2 MB, free: 4.613 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.264e-05/0.1581, allocations: 113.8 kB / 330.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1581, allocations: 7.984 kB / 330.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1583, allocations: 224.3 kB / 330.5 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1583, allocations: 8 kB / 330.6 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1583, allocations: 3.938 kB / 330.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1583, allocations: 0 / 330.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.1585, allocations: 154.3 kB / 330.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1585, allocations: 0 / 330.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.1585, allocations: 23.98 kB / 330.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1585, allocations: 0.7031 kB / 330.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1585, allocations: 4 kB / 330.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1585, allocations: 0 / 330.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1585, allocations: 0 / 330.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.1587, allocations: 336.5 kB / 331.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.1588, allocations: 23.84 kB / 331.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.1588, allocations: 0 / 331.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.1588, allocations: 11.98 kB / 331.1 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.1588, allocations: 11.98 kB / 331.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.1588, allocations: 0.6875 kB / 331.1 MB, free: 3.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.066e-05/0.1588, allocations: 11.25 kB / 331.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1588, allocations: 0 / 331.1 MB, free: 3.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009754/0.1598, allocations: 0.6386 MB / 331.8 MB, free: 3.008 MB / 282.7 MB 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.001765/0.1616, allocations: 1.109 MB / 332.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1618, allocations: 170.4 kB / 333 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1618, allocations: 0 / 333 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.909e-05/0.1618, allocations: 107.3 kB / 333.1 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.1621, allocations: 67.3 kB / 333.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/0.1628, allocations: 342.6 kB / 333.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.1629, allocations: 76.33 kB / 333.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.1629, allocations: 25.69 kB / 333.6 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1631, allocations: 99.33 kB / 333.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1631, allocations: 0 / 333.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of Templates: time 0.02673/0.1898, allocations: 29.53 MB / 363.3 MB, free: 3.562 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6282226988114417]