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.001019/0.001019, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001071/0.001071, allocations: 195.1 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04275/0.04275, allocations: 9.077 MB / 278.4 MB, free: 12.41 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.001282/0.001282, allocations: 63.92 kB / 337.3 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08029/0.08159, allocations: 48.17 MB / 385.5 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01757/0.0992, allocations: 17.45 MB / 403 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007765/0.107, allocations: 9.544 MB / 412.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.1071, allocations: 0 / 412.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008183/0.108, allocations: 331.9 kB / 412.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008727/0.1167, allocations: 3.663 MB / 416.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.438e-05/0.1167, allocations: 4 kB / 416.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1169, allocations: 139.1 kB / 416.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.877e-05/0.117, allocations: 9.125 kB / 416.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1171, allocations: 55.61 kB / 416.7 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.014e-05/0.1172, allocations: 55.67 kB / 416.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1172, allocations: 0 / 416.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.011/0.1282, allocations: 7.059 MB / 423.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.1283, allocations: 7.922 kB / 423.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1284, allocations: 51.69 kB / 423.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006966/0.1354, allocations: 3.121 MB / 427 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1354, allocations: 4 kB / 427 MB, free: 48 kB / 318.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1355, allocations: 0 / 427 MB, free: 48 kB / 318.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1355, allocations: 0 / 427 MB, free: 48 kB / 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.1419/0.2773, allocations: 0.685 MB / 427.7 MB, free: 47.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2774, allocations: 9.25 kB / 427.7 MB, free: 47.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.2775, allocations: 22.06 kB / 427.7 MB, free: 47.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.2777, allocations: 175.9 kB / 427.9 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.2777, allocations: 5.656 kB / 427.9 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.2777, allocations: 6.125 kB / 427.9 MB, free: 47.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.278, allocations: 182.9 kB / 428.1 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.278, allocations: 3.828 kB / 428.1 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.278, allocations: 11.53 kB / 428.1 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.278, allocations: 4.672 kB / 428.1 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.2783, allocations: 240.3 kB / 428.3 MB, free: 47.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.2786, allocations: 293.5 kB / 428.6 MB, free: 47.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.2788, allocations: 222.1 kB / 428.8 MB, free: 47.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/0.279, allocations: 191.6 kB / 429 MB, free: 47.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.2902, allocations: 4.263 MB / 433.3 MB, free: 43.98 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.2902, allocations: 32.53 kB / 433.3 MB, free: 43.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.484e-06/0.2902, allocations: 1 kB / 433.3 MB, free: 43.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006901/0.2909, allocations: 493 kB / 433.8 MB, free: 43.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.291, allocations: 53.56 kB / 433.8 MB, free: 43.63 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.509e-05/0.291, allocations: 97.88 kB / 433.9 MB, free: 43.53 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.2911, allocations: 31.3 kB / 434 MB, free: 43.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.251e-05/0.2911, allocations: 86.8 kB / 434.1 MB, free: 43.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/0.2912, allocations: 120.8 kB / 434.2 MB, free: 43.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.2912, allocations: 43.84 kB / 434.2 MB, free: 43.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.2913, allocations: 334.7 kB / 434.5 MB, free: 42.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.2915, allocations: 113.4 kB / 434.6 MB, free: 42.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.2916, allocations: 146.8 kB / 434.8 MB, free: 42.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.2919, allocations: 282.1 kB / 435.1 MB, free: 42.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2919, allocations: 3.5 kB / 435.1 MB, free: 42.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003591/0.2923, allocations: 318.6 kB / 435.4 MB, free: 42.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2923, allocations: 5.5 kB / 435.4 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.2924, allocations: 1.984 kB / 435.4 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2924, allocations: 1.375 kB / 435.4 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2925, allocations: 27.89 kB / 435.4 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.2925, allocations: 5.734 kB / 435.4 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.2926, allocations: 20.97 kB / 435.4 MB, free: 42.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.2926, allocations: 8.891 kB / 435.5 MB, free: 42.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.857e-05/0.2927, allocations: 118.8 kB / 435.6 MB, free: 42.4 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.2928, allocations: 13.31 kB / 435.6 MB, free: 42.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.2933, allocations: 377.1 kB / 435.9 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.2933, allocations: 8.672 kB / 436 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2933, allocations: 2.297 kB / 436 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2933, allocations: 3.562 kB / 436 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.2935, allocations: 290.2 kB / 436.2 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.2936, allocations: 5.594 kB / 436.3 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.2936, allocations: 24.19 kB / 436.3 MB, free: 41.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2937, allocations: 1.656 kB / 436.3 MB, free: 41.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2937, allocations: 2.062 kB / 436.3 MB, free: 41.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2937, allocations: 1.531 kB / 436.3 MB, free: 41.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2937, allocations: 0 / 436.3 MB, free: 41.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.2941, allocations: 438.4 kB / 436.7 MB, free: 41.67 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.386e-05/0.2941, allocations: 104.8 kB / 436.8 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.2942, allocations: 5.984 kB / 436.8 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.2942, allocations: 1.562 kB / 436.8 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.2943, allocations: 9.203 kB / 436.8 MB, free: 41.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.2943, allocations: 7.375 kB / 436.8 MB, free: 41.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.272e-05/0.2943, allocations: 84.12 kB / 436.9 MB, free: 41.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2943, allocations: 0 / 436.9 MB, free: 41.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001898/0.2962, allocations: 0.6206 MB / 437.5 MB, free: 41.35 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 (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.00292/0.2992, allocations: 0.988 MB / 438.5 MB, free: 41.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.2996, allocations: 353.1 kB / 438.9 MB, free: 40.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2996, allocations: 0 / 438.9 MB, free: 40.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2997, allocations: 204.4 kB / 439.1 MB, free: 40.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.3003, allocations: 67.83 kB / 439.1 MB, free: 40.8 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.301, allocations: 459.7 kB / 439.6 MB, free: 40.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.3012, allocations: 0.718 MB / 440.3 MB, free: 39.81 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.925e-05/0.3013, allocations: 21.98 kB / 440.3 MB, free: 39.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.3013, allocations: 18.45 kB / 440.3 MB, free: 39.8 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3013, allocations: 0 / 440.3 MB, free: 39.8 MB / 318.1 MB Notification: Performance of Templates: time 0.02502/0.3264, allocations: 24.91 MB / 465.2 MB, free: 19.47 MB / 318.1 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)