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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009757/0.0009757, allocations: 99.23 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009941/0.0009942, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04548/0.04548, allocations: 9.058 MB / 279.4 MB, free: 12.28 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008521/0.0008522, allocations: 16.22 kB / 339.1 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.114, allocations: 49.19 MB / 388.3 MB, free: 8.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01613/0.1302, allocations: 14.37 MB / 402.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007938/0.1382, allocations: 7.921 MB / 410.6 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.1383, allocations: 0 / 410.6 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009575/0.1393, allocations: 326.9 kB / 410.9 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.1496, allocations: 3.609 MB / 414.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.228e-05/0.1496, allocations: 4 kB / 414.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.1498, allocations: 111.8 kB / 414.6 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.983e-05/0.1499, allocations: 9.109 kB / 414.6 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.1501, allocations: 87.62 kB / 414.7 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.1502, allocations: 47.78 kB / 414.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.427e-06/0.1502, allocations: 0 / 414.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01528/0.1655, allocations: 7.399 MB / 422.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.1656, allocations: 7.922 kB / 422.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.485e-05/0.1657, allocations: 49.64 kB / 422.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004298/0.17, allocations: 1.704 MB / 423.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.17, allocations: 4 kB / 423.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.17, allocations: 0 / 423.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.17, allocations: 4 kB / 423.9 MB, free: 5.047 MB / 318.1 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.001624/0.1717, allocations: 0.69 MB / 424.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.1717, allocations: 8.031 kB / 424.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.1718, allocations: 15.86 kB / 424.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.172, allocations: 174.9 kB / 424.8 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.172, allocations: 4 kB / 424.8 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.1721, allocations: 8 kB / 424.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.1723, allocations: 186.6 kB / 425 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1724, allocations: 0 / 425 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1724, allocations: 3.938 kB / 425 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1724, allocations: 8 kB / 425 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.1727, allocations: 240.2 kB / 425.2 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.173, allocations: 294.5 kB / 425.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.1733, allocations: 222.8 kB / 425.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2215/0.3948, allocations: 4.17 MB / 429.9 MB, free: 45.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.3949, allocations: 36.53 kB / 430 MB, free: 45.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 3.516e-06/0.3949, allocations: 6.656 kB / 430 MB, free: 45.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007785/0.3957, allocations: 0.6444 MB / 430.6 MB, free: 45.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.3957, allocations: 59.53 kB / 430.7 MB, free: 45.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.3958, allocations: 96.2 kB / 430.8 MB, free: 45.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.3958, allocations: 30.73 kB / 430.8 MB, free: 45.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.3959, allocations: 85.8 kB / 430.9 MB, free: 45.08 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.829e-05/0.396, allocations: 125.7 kB / 431 MB, free: 45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.396, allocations: 7.75 kB / 431 MB, free: 45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.3961, allocations: 328.9 kB / 431.3 MB, free: 44.69 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.3962, allocations: 111.5 kB / 431.4 MB, free: 44.69 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.3964, allocations: 140.4 kB / 431.6 MB, free: 44.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3965, allocations: 123.1 kB / 431.7 MB, free: 44.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3966, allocations: 1.406 kB / 431.7 MB, free: 44.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004651/0.397, allocations: 316.1 kB / 432 MB, free: 44.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.3971, allocations: 10.22 kB / 432 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3971, allocations: 2.828 kB / 432 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.3971, allocations: 0.9688 kB / 432 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.3973, allocations: 22.45 kB / 432 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3973, allocations: 5.688 kB / 432 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.115e-05/0.3974, allocations: 18.06 kB / 432.1 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.3974, allocations: 9.219 kB / 432.1 MB, free: 44.61 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.3975, allocations: 125 kB / 432.2 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.3976, allocations: 17.22 kB / 432.2 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.3982, allocations: 381.4 kB / 432.6 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.3983, allocations: 7 kB / 432.6 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3983, allocations: 0 / 432.6 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3983, allocations: 1.609 kB / 432.6 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.3986, allocations: 288.3 kB / 432.9 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.3986, allocations: 5.438 kB / 432.9 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.3987, allocations: 19.25 kB / 432.9 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3987, allocations: 1.5 kB / 432.9 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3987, allocations: 10.75 kB / 432.9 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3987, allocations: 2 kB / 432.9 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3987, allocations: 0 / 432.9 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.3992, allocations: 432.4 kB / 433.3 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.3993, allocations: 106.4 kB / 433.4 MB, free: 43.85 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.3993, allocations: 7.234 kB / 433.4 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.3994, allocations: 5.125 kB / 433.4 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.3994, allocations: 11.77 kB / 433.5 MB, free: 43.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3994, allocations: 3.922 kB / 433.5 MB, free: 43.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.435e-05/0.3995, allocations: 85.8 kB / 433.5 MB, free: 43.76 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3995, allocations: 0 / 433.5 MB, free: 43.76 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001873/0.4014, allocations: 0.6096 MB / 434.2 MB, free: 43.73 MB / 318.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002854/0.4042, allocations: 0.9984 MB / 435.2 MB, free: 43.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004237/0.4047, allocations: 335.6 kB / 435.5 MB, free: 43.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4047, allocations: 3.625 kB / 435.5 MB, free: 43.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.4049, allocations: 201 kB / 435.7 MB, free: 43.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.4054, allocations: 62.97 kB / 435.7 MB, free: 43.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/0.4062, allocations: 468 kB / 436.2 MB, free: 42.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.4064, allocations: 0.7182 MB / 436.9 MB, free: 42.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.41e-05/0.4065, allocations: 22.62 kB / 436.9 MB, free: 42.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.4065, allocations: 17.86 kB / 437 MB, free: 42.23 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4065, allocations: 0 / 437 MB, free: 42.23 MB / 318.1 MB Notification: Performance of Templates: time 0.02996/0.4365, allocations: 24.78 MB / 461.7 MB, free: 23.63 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: