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.001581/0.001581, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001759, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.442/1.442, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04793/0.04793, allocations: 9.096 MB / 279 MB, free: 12.06 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.00149/0.00149, allocations: 59.91 kB / 387.4 MB, free: 8.027 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2631, allocations: 48.16 MB / 435.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02176/0.2849, allocations: 17.22 MB / 452.8 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.2954, allocations: 9.35 MB / 462.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.2955, allocations: 0 / 462.2 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.2968, allocations: 363.5 kB / 462.5 MB, free: 3.027 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.01431/0.3111, allocations: 4.323 MB / 466.9 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.172e-05/0.3112, allocations: 0 / 466.9 MB, free: 228 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.3115, allocations: 154.3 kB / 467 MB, free: 132 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.3116, allocations: 11.31 kB / 467 MB, free: 124 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.3118, allocations: 65.69 kB / 467.1 MB, free: 84 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3119, allocations: 48.64 kB / 467.1 MB, free: 56 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.3119, allocations: 1.781 kB / 467.1 MB, free: 56 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01604/0.328, allocations: 7.532 MB / 474.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.328, allocations: 15.88 kB / 474.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.3282, allocations: 55.66 kB / 474.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008512/0.3368, allocations: 3.273 MB / 478 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3368, allocations: 0 / 478 MB, free: 6.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3368, allocations: 0 / 478 MB, free: 6.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.3368, allocations: 0 / 478 MB, free: 6.23 MB / 350.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.001558/0.3384, allocations: 0.7301 MB / 478.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3384, allocations: 11.97 kB / 478.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.3386, allocations: 23.83 kB / 478.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3387, allocations: 171 kB / 478.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3387, allocations: 4 kB / 478.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.3388, allocations: 8 kB / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.339, allocations: 182.6 kB / 479.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.339, allocations: 0 / 479.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3391, allocations: 0 / 479.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.3391, allocations: 11.98 kB / 479.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.3393, allocations: 240.2 kB / 479.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002773/0.3396, allocations: 294.6 kB / 479.7 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.3399, allocations: 226.8 kB / 479.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3401, allocations: 197.1 kB / 480.1 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/0.3506, allocations: 4.255 MB / 484.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3507, allocations: 34.56 kB / 484.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 2.204e-06/0.3507, allocations: 3.938 kB / 484.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006885/0.3514, allocations: 494 kB / 484.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.3514, allocations: 51.41 kB / 484.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.3515, allocations: 105.8 kB / 485 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3516, allocations: 33.7 kB / 485 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.3516, allocations: 84.8 kB / 485.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.3517, allocations: 130.8 kB / 485.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.9e-05/0.3518, allocations: 45.66 kB / 485.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3519, allocations: 326.8 kB / 485.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3521, allocations: 112 kB / 485.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.3522, allocations: 145.6 kB / 485.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.3525, allocations: 280 kB / 486.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3526, allocations: 3.938 kB / 486.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003828/0.3529, allocations: 322.7 kB / 486.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.353, allocations: 4 kB / 486.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.353, allocations: 0 / 486.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.353, allocations: 4 kB / 486.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.3531, allocations: 23.92 kB / 486.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3531, allocations: 0 / 486.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.247e-05/0.3532, allocations: 15.84 kB / 486.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3533, allocations: 16.03 kB / 486.5 MB, free: 12.89 MB / 366.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 0.0001387/0.3534, allocations: 121.7 kB / 486.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.3535, allocations: 15.84 kB / 486.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005505/0.354, allocations: 380.4 kB / 487 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.354, allocations: 7.984 kB / 487 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3541, allocations: 4 kB / 487 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3541, allocations: 0 / 487 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.3544, allocations: 297.9 kB / 487.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3544, allocations: 0 / 487.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.842e-05/0.3545, allocations: 23.98 kB / 487.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3545, allocations: 4 kB / 487.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3545, allocations: 0 / 487.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.3545, allocations: 4 kB / 487.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3545, allocations: 0 / 487.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.355, allocations: 436.8 kB / 487.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.3551, allocations: 108.9 kB / 487.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3551, allocations: 8 kB / 487.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.3552, allocations: 0 / 487.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.3553, allocations: 7.984 kB / 487.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3553, allocations: 8 kB / 487.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.863e-05/0.3553, allocations: 79.28 kB / 488 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3553, allocations: 0 / 488 MB, free: 11.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001819/0.3572, allocations: 0.6231 MB / 488.6 MB, free: 10.7 MB / 366.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.003232/0.3604, allocations: 1.013 MB / 489.6 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.3609, allocations: 345.4 kB / 490 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3609, allocations: 0 / 490 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.3611, allocations: 209.5 kB / 490.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.3616, allocations: 67.91 kB / 490.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.3624, allocations: 395 kB / 490.6 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3627, allocations: 0.7131 MB / 491.3 MB, free: 7.898 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.044e-05/0.3628, allocations: 16.44 kB / 491.3 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.3628, allocations: 27.36 kB / 491.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3629, allocations: 0 / 491.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of Templates: time 0.03599/0.3988, allocations: 25.03 MB / 0.5043 GB, free: 14.82 MB / 398.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)