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.001462/0.001462, allocations: 92.22 kB / 19.65 MB, free: 276 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.001114/0.001114, allocations: 169 kB / 23.02 MB, free: 1.551 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.096/1.096, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.03271/0.03271, allocations: 7.523 MB / 267.5 MB, free: 5.992 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.733e-06/1.733e-06, allocations: 0 / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.101e-05, allocations: 4.703 kB / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01569/0.01572, allocations: 17.3 MB / 355.9 MB, free: 9.629 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00692/0.02264, allocations: 9.302 MB / 365.2 MB, free: 304 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-05/0.02273, allocations: 4 kB / 365.2 MB, free: 300 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000885/0.02362, allocations: 327.6 kB / 365.6 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009332/0.03295, allocations: 4.618 MB / 370.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.333e-05/0.03297, allocations: 0 / 370.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.03318, allocations: 151 kB / 370.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.03323, allocations: 5.312 kB / 370.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.0334, allocations: 95.56 kB / 370.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.987e-05/0.03346, allocations: 31.92 kB / 370.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.03347, allocations: 4 kB / 370.5 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007721/0.04119, allocations: 5.386 MB / 375.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.04123, allocations: 15.88 kB / 375.9 MB, free: 5.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.04132, allocations: 27.94 kB / 375.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006183/0.0475, allocations: 3.168 MB / 379.1 MB, free: 2.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.04751, allocations: 0 / 379.1 MB, free: 2.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04751, allocations: 0 / 379.1 MB, free: 2.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.04751, allocations: 4 kB / 379.1 MB, free: 2.426 MB / 298.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.001139/0.04865, allocations: 0.7389 MB / 379.8 MB, free: 1.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.0487, allocations: 12.61 kB / 379.8 MB, free: 1.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.04889, allocations: 31.78 kB / 379.8 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.049, allocations: 115.9 kB / 380 MB, free: 1.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.04901, allocations: 4 kB / 380 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.04903, allocations: 11.98 kB / 380 MB, free: 1.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.0492, allocations: 95.25 kB / 380.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.04921, allocations: 4 kB / 380.1 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.04922, allocations: 4 kB / 380.1 MB, free: 1.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.04923, allocations: 7.984 kB / 380.1 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.04934, allocations: 100.3 kB / 380.2 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.04954, allocations: 209.6 kB / 380.4 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.0497, allocations: 119.3 kB / 380.5 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.04977, allocations: 76 kB / 380.6 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004929/0.0547, allocations: 1.897 MB / 382.5 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.05473, allocations: 41.39 kB / 382.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 2.235e-06/0.05473, allocations: 0 / 382.5 MB, free: 14.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004141/0.05514, allocations: 359.5 kB / 382.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.05518, allocations: 55.41 kB / 382.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.125e-05/0.05527, allocations: 161.9 kB / 383.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.05528, allocations: 25.7 kB / 383.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.05532, allocations: 131.5 kB / 383.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.0554, allocations: 138.8 kB / 383.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.05546, allocations: 59.34 kB / 383.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.05558, allocations: 0.4923 MB / 383.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.05565, allocations: 55.98 kB / 384 MB, free: 13.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.847e-05/0.05574, allocations: 96.27 kB / 384.1 MB, free: 13.19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.05589, allocations: 164.6 kB / 384.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.05589, allocations: 3.938 kB / 384.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002259/0.05612, allocations: 227.1 kB / 384.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.05614, allocations: 8 kB / 384.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.05615, allocations: 4.031 kB / 384.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.05617, allocations: 7.938 kB / 384.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.05626, allocations: 23.92 kB / 384.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.05626, allocations: 0 / 384.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.0563, allocations: 19.84 kB / 384.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.05632, allocations: 4 kB / 384.5 MB, free: 12.72 MB / 314.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 8.501e-05/0.0564, allocations: 164.5 kB / 384.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.05643, allocations: 15.91 kB / 384.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.05679, allocations: 281.3 kB / 385 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.0568, allocations: 15.92 kB / 385 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.0568, allocations: 4 kB / 385 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.05681, allocations: 0 / 385 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.05699, allocations: 201 kB / 385.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.057, allocations: 4 kB / 385.2 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.05706, allocations: 23.98 kB / 385.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.05706, allocations: 0 / 385.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.05707, allocations: 4 kB / 385.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.05708, allocations: 0 / 385.2 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.05708, allocations: 3.938 kB / 385.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.05734, allocations: 398.2 kB / 385.6 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.05738, allocations: 43.75 kB / 385.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.05739, allocations: 4 kB / 385.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/0.05743, allocations: 0 / 385.7 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.05746, allocations: 11.92 kB / 385.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.05747, allocations: 8 kB / 385.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.786e-05/0.05751, allocations: 123.2 kB / 385.8 MB, free: 11.37 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05751, allocations: 0 / 385.8 MB, free: 11.37 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001399/0.05891, allocations: 0.6308 MB / 386.4 MB, free: 10.73 MB / 314.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.002077/0.06098, allocations: 1.077 MB / 387.5 MB, free: 9.648 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.06124, allocations: 208.5 kB / 387.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.06125, allocations: 0 / 387.7 MB, free: 9.438 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/0.06134, allocations: 129.3 kB / 387.8 MB, free: 9.301 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.06169, allocations: 75.84 kB / 387.9 MB, free: 9.227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008992/0.06259, allocations: 355.2 kB / 388.3 MB, free: 8.852 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.883e-05/0.06264, allocations: 80.34 kB / 388.3 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.0627, allocations: 20.47 kB / 388.4 MB, free: 8.734 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.06274, allocations: 24.5 kB / 388.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.06274, allocations: 0 / 388.4 MB, free: 8.711 MB / 314.7 MB Notification: Performance of Templates: time 0.1415/0.2042, allocations: 25.44 MB / 413.8 MB, free: 61.41 MB / 330.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.90882895514369]