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.006729/0.006729, allocations: 102 kB / 15.73 MB, free: 6.039 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.001306/0.001306, allocations: 193 kB / 16.67 MB, free: 5.961 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.516/1.516, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0487/0.0487, allocations: 9.1 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.001522/0.001522, allocations: 62.41 kB / 387 MB, free: 8.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2543, allocations: 48.16 MB / 435.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01794/0.2723, allocations: 17.22 MB / 452.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00865/0.281, allocations: 9.342 MB / 461.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.825e-05/0.2811, allocations: 0 / 461.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009386/0.2821, allocations: 368.3 kB / 462 MB, free: 2.805 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.0112/0.2933, allocations: 4.325 MB / 466.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.445e-05/0.2934, allocations: 1.656 kB / 466.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.2937, allocations: 149.4 kB / 466.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.081e-05/0.2938, allocations: 10.5 kB / 466.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.2939, allocations: 55.33 kB / 466.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.294, allocations: 52.09 kB / 466.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.294, allocations: 6.75 kB / 466.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/0.3054, allocations: 7.533 MB / 474.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.127e-05/0.3055, allocations: 11.92 kB / 474.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.622e-05/0.3056, allocations: 51.69 kB / 474.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006537/0.3121, allocations: 3.289 MB / 477.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3121, allocations: 0 / 477.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3121, allocations: 0 / 477.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3122, allocations: 0 / 477.5 MB, free: 6.301 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.001398/0.3136, allocations: 0.6978 MB / 478.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.3136, allocations: 16.02 kB / 478.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.046e-05/0.3137, allocations: 42.55 kB / 478.3 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.3138, allocations: 23.84 kB / 478.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3139, allocations: 178.8 kB / 478.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.314, allocations: 0 / 478.5 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.314, allocations: 11.98 kB / 478.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.3142, allocations: 178.6 kB / 478.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3143, allocations: 4 kB / 478.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3143, allocations: 7.969 kB / 478.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.3143, allocations: 8 kB / 478.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.3146, allocations: 248.1 kB / 478.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.3149, allocations: 294.6 kB / 479.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.3151, allocations: 222.8 kB / 479.4 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.3153, allocations: 181.1 kB / 479.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.3262, allocations: 4.267 MB / 483.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.3264, allocations: 34.56 kB / 483.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 3.858e-06/0.3264, allocations: 0 / 483.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007318/0.3271, allocations: 497.9 kB / 484.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.3272, allocations: 55.41 kB / 484.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.3273, allocations: 101.8 kB / 484.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3273, allocations: 25.7 kB / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.3273, allocations: 84.8 kB / 484.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-05/0.3274, allocations: 126.1 kB / 484.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-05/0.3275, allocations: 45.69 kB / 484.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3276, allocations: 318.8 kB / 485.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.3278, allocations: 116 kB / 485.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.3279, allocations: 141.6 kB / 485.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.3282, allocations: 284 kB / 485.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3282, allocations: 0 / 485.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004433/0.3287, allocations: 322.4 kB / 486 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3287, allocations: 8 kB / 486 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.3288, allocations: 3.938 kB / 486 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3288, allocations: 0 / 486 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.3289, allocations: 27.98 kB / 486 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3289, allocations: 0 / 486 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.998e-05/0.329, allocations: 19.69 kB / 486 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.329, allocations: 7.938 kB / 486 MB, free: 12.95 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.0001127/0.3291, allocations: 129.8 kB / 486.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.3292, allocations: 11.91 kB / 486.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005339/0.3297, allocations: 379.9 kB / 486.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.3297, allocations: 7.984 kB / 486.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3298, allocations: 0 / 486.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3298, allocations: 0 / 486.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.3301, allocations: 293.8 kB / 486.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.3301, allocations: 4 kB / 486.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-05/0.3302, allocations: 19.94 kB / 486.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3302, allocations: 7.938 kB / 486.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.3302, allocations: 11.98 kB / 486.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3302, allocations: 0 / 486.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.3303, allocations: 4 kB / 486.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.3307, allocations: 424.8 kB / 487.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3308, allocations: 112.8 kB / 487.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3309, allocations: 4 kB / 487.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.331, allocations: 4 kB / 487.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.331, allocations: 11.98 kB / 487.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.331, allocations: 4 kB / 487.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.951e-05/0.3311, allocations: 83.47 kB / 487.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3311, allocations: 0 / 487.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002209/0.3333, allocations: 0.6169 MB / 488.1 MB, free: 10.75 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.005064/0.3384, allocations: 1.854 MB / 490 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007081/0.3391, allocations: 337.5 kB / 490.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3392, allocations: 0 / 490.3 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.3395, allocations: 209.6 kB / 490.5 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.3402, allocations: 71.91 kB / 490.6 MB, free: 8.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.3422, allocations: 0.6412 MB / 491.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3425, allocations: 0.7131 MB / 491.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.763e-05/0.3426, allocations: 16.38 kB / 492 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.3427, allocations: 43.42 kB / 492 MB, free: 6.77 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3427, allocations: 0 / 492 MB, free: 6.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/0.3935, allocations: 27.27 MB / 0.5071 GB, free: 11.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.57/8.963, allocations: 12 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1)