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: "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007731/0.007731, allocations: 98.42 kB / 15.73 MB, free: 6.496 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.001282/0.001283, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.514/1.514, allocations: 205.1 MB / 222.6 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05267/0.05267, allocations: 9.095 MB / 279 MB, free: 12.07 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.002079/0.002079, allocations: 71.89 kB / 387 MB, free: 8.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2977, allocations: 48.15 MB / 435.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02175/0.3195, allocations: 17.22 MB / 452.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.3297, allocations: 9.341 MB / 461.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.3299, allocations: 5.156 kB / 461.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.3311, allocations: 366.7 kB / 462.1 MB, free: 2.777 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.01235/0.3435, allocations: 4.33 MB / 466.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.226e-05/0.3435, allocations: 1.219 kB / 466.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.3439, allocations: 148.9 kB / 466.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.3439, allocations: 8 kB / 466.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3441, allocations: 57.8 kB / 466.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.84e-05/0.3442, allocations: 44.36 kB / 466.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.3442, allocations: 3.094 kB / 466.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01405/0.3582, allocations: 7.538 MB / 474.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.3583, allocations: 15.92 kB / 474.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.3584, allocations: 47.62 kB / 474.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008791/0.3672, allocations: 3.285 MB / 477.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3673, allocations: 0 / 477.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.3673, allocations: 0 / 477.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3673, allocations: 4 kB / 477.5 MB, free: 6.289 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.001458/0.3688, allocations: 0.7223 MB / 478.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.3688, allocations: 8.031 kB / 478.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.794e-05/0.3689, allocations: 46.55 kB / 478.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.369, allocations: 23.83 kB / 478.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3692, allocations: 171 kB / 478.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3692, allocations: 8 kB / 478.5 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.3692, allocations: 4 kB / 478.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.3695, allocations: 182.5 kB / 478.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3695, allocations: 8 kB / 478.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3695, allocations: 4 kB / 478.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.3696, allocations: 3.984 kB / 478.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.3699, allocations: 248.2 kB / 478.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.3702, allocations: 294.6 kB / 479.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.3705, allocations: 222.8 kB / 479.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.3707, allocations: 185.1 kB / 479.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.3819, allocations: 4.267 MB / 483.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.382, allocations: 38.56 kB / 483.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 2.144e-06/0.382, allocations: 0 / 483.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007323/0.3828, allocations: 490.1 kB / 484.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.3828, allocations: 51.41 kB / 484.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.3829, allocations: 109.8 kB / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3829, allocations: 29.7 kB / 484.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.383, allocations: 84.73 kB / 484.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.3831, allocations: 126.8 kB / 484.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.3832, allocations: 53.64 kB / 484.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3833, allocations: 326.8 kB / 485.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.3835, allocations: 108 kB / 485.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.3837, allocations: 149.6 kB / 485.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.384, allocations: 272 kB / 485.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.384, allocations: 4 kB / 485.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003972/0.3844, allocations: 326.6 kB / 486 MB, free: 12.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3844, allocations: 4 kB / 486 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3844, allocations: 4 kB / 486 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3845, allocations: 0 / 486 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3846, allocations: 19.98 kB / 486 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3846, allocations: 4 kB / 486 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.3847, allocations: 23.78 kB / 486.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.3847, allocations: 7.938 kB / 486.1 MB, free: 12.91 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.0001048/0.3848, allocations: 125.8 kB / 486.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.3849, allocations: 11.91 kB / 486.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005537/0.3854, allocations: 380.4 kB / 486.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3854, allocations: 8 kB / 486.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3855, allocations: 0 / 486.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3855, allocations: 3.984 kB / 486.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.3858, allocations: 289.9 kB / 486.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.3858, allocations: 7.984 kB / 486.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.06e-05/0.3859, allocations: 20 kB / 486.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3859, allocations: 8 kB / 486.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3859, allocations: 4 kB / 486.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3859, allocations: 0 / 486.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3859, allocations: 3.984 kB / 486.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.3864, allocations: 428.8 kB / 487.3 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/0.3865, allocations: 108.9 kB / 487.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.3865, allocations: 7.984 kB / 487.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.3866, allocations: 4 kB / 487.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.3866, allocations: 8 kB / 487.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3867, allocations: 11.98 kB / 487.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.973e-05/0.3867, allocations: 79.28 kB / 487.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3867, allocations: 0 / 487.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002159/0.3889, allocations: 0.6231 MB / 488.2 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.003736/0.3926, allocations: 1.876 MB / 490.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006457/0.3933, allocations: 349.4 kB / 490.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3933, allocations: 0 / 490.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.3935, allocations: 205.6 kB / 490.6 MB, free: 8.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.3941, allocations: 65.06 kB / 490.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.3957, allocations: 0.6512 MB / 491.3 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3961, allocations: 0.717 MB / 492 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.571e-05/0.3962, allocations: 20.38 kB / 492 MB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.391e-05/0.3962, allocations: 35.42 kB / 492.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3963, allocations: 0 / 492.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06162/0.4579, allocations: 27.19 MB / 0.5071 GB, free: 11.49 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.195/9.653, allocations: 7.938 kB / 0.5071 GB, free: 11.48 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.08 HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1)