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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") translateModel(HelmholtzMedia.Examples.Validation.idealGasLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 185 kB / 15.98 MB, free: 5.789 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0453/0.0453, allocations: 9.086 MB / 25.82 MB, free: 3.426 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009174/0.0009175, allocations: 95.48 kB / 282.1 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 52.14 kB / 341.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1769, allocations: 48.17 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01255/0.1895, allocations: 17.45 MB / 406.7 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006066/0.1956, allocations: 9.542 MB / 416.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.1957, allocations: 0 / 416.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007487/0.1965, allocations: 331.9 kB / 416.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00711/0.2036, allocations: 3.667 MB / 420.2 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.566e-05/0.2036, allocations: 0 / 420.2 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.2038, allocations: 143.1 kB / 420.4 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.2038, allocations: 17.12 kB / 420.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.2039, allocations: 63.61 kB / 420.4 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.204, allocations: 39.8 kB / 420.5 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.204, allocations: 0 / 420.5 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008184/0.2122, allocations: 7.047 MB / 427.5 MB, free: 120 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.2122, allocations: 23.8 kB / 427.5 MB, free: 96 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.797e-05/0.2123, allocations: 39.75 kB / 427.6 MB, free: 56 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005631/0.2179, allocations: 3.118 MB / 430.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.218, allocations: 0 / 430.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.218, allocations: 4 kB / 430.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.218, allocations: 0 / 430.7 MB, free: 12.93 MB / 314.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.001048/0.219, allocations: 0.7017 MB / 431.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2191, allocations: 12.03 kB / 431.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.2192, allocations: 23.77 kB / 431.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2193, allocations: 174.9 kB / 431.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.2194, allocations: 4 kB / 431.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.2194, allocations: 4 kB / 431.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.2196, allocations: 186.6 kB / 431.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2196, allocations: 0 / 431.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2197, allocations: 4 kB / 431.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.2197, allocations: 7.984 kB / 431.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.2199, allocations: 240.2 kB / 432 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.2202, allocations: 290.6 kB / 432.3 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.2204, allocations: 222.8 kB / 432.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.2206, allocations: 189.1 kB / 432.7 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01019/0.2308, allocations: 4.267 MB / 437 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2308, allocations: 42.5 kB / 437 MB, free: 5.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 1.703e-06/0.2308, allocations: 0 / 437 MB, free: 5.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.0006126/0.2315, allocations: 497.6 kB / 437.5 MB, free: 5.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.2315, allocations: 55.41 kB / 437.6 MB, free: 5.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.2316, allocations: 101.8 kB / 437.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.2316, allocations: 25.7 kB / 437.7 MB, free: 5.141 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.2316, allocations: 80.8 kB / 437.8 MB, free: 5.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.739e-05/0.2317, allocations: 138 kB / 437.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.2318, allocations: 37.7 kB / 438 MB, free: 4.875 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.808e-05/0.2319, allocations: 322.8 kB / 438.3 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.232, allocations: 116 kB / 438.4 MB, free: 4.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.2322, allocations: 149.2 kB / 438.5 MB, free: 4.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.2325, allocations: 276 kB / 438.8 MB, free: 4.016 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2325, allocations: 4 kB / 438.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003517/0.2329, allocations: 322.5 kB / 439.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2329, allocations: 8 kB / 439.1 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2329, allocations: 0 / 439.1 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2329, allocations: 3.984 kB / 439.1 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.233, allocations: 27.92 kB / 439.2 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.233, allocations: 0 / 439.2 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.149e-05/0.2331, allocations: 19.75 kB / 439.2 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.2331, allocations: 4 kB / 439.2 MB, free: 3.629 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 9.564e-05/0.2332, allocations: 121.9 kB / 439.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.2333, allocations: 15.78 kB / 439.3 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004956/0.2338, allocations: 387.8 kB / 439.7 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.2338, allocations: 7.984 kB / 439.7 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2338, allocations: 0 / 439.7 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2338, allocations: 0 / 439.7 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.2341, allocations: 297.8 kB / 440 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.2341, allocations: 8 kB / 440 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.2342, allocations: 19.98 kB / 440 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2342, allocations: 0 / 440 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2342, allocations: 4 kB / 440 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2342, allocations: 0 / 440 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2342, allocations: 0 / 440 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007902/0.235, allocations: 1.151 MB / 441.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.2351, allocations: 112.8 kB / 441.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.2351, allocations: 4 kB / 441.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.2352, allocations: 0 / 441.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.2353, allocations: 15.92 kB / 441.3 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2353, allocations: 8 kB / 441.3 MB, free: 1.359 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.336e-05/0.2353, allocations: 83.22 kB / 441.4 MB, free: 1.277 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2353, allocations: 0 / 441.4 MB, free: 1.277 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001571/0.2369, allocations: 0.6208 MB / 442 MB, free: 0.6562 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.002707/0.2396, allocations: 0.9948 MB / 443 MB, free: 15.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003935/0.24, allocations: 337.5 kB / 443.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.24, allocations: 0 / 443.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.2402, allocations: 209.6 kB / 443.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000538/0.2408, allocations: 64.92 kB / 443.6 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.2417, allocations: 0.6604 MB / 444.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2419, allocations: 0.729 MB / 445 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.669e-05/0.242, allocations: 24.36 kB / 445 MB, free: 13.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.808e-05/0.2421, allocations: 23.44 kB / 445 MB, free: 13.54 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2421, allocations: 0 / 445 MB, free: 13.54 MB / 330.7 MB Notification: Performance of Templates: time 0.03058/0.2727, allocations: 24.98 MB / 470 MB, free: 4.543 MB / 346.7 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.makefile (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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1)