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.005195/0.005195, allocations: 97.42 kB / 15.73 MB, free: 5.988 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.001293/0.001293, allocations: 187 kB / 16.67 MB, free: 5.918 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.398/1.398, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0523/0.0523, allocations: 9.107 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.002078/0.002078, allocations: 75.89 kB / 387 MB, free: 8.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2719, allocations: 48.16 MB / 435.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01955/0.2915, allocations: 17.22 MB / 452.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0108/0.3023, allocations: 9.346 MB / 461.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.3025, allocations: 0 / 461.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.3037, allocations: 372 kB / 462.1 MB, free: 2.797 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.01157/0.3152, allocations: 4.325 MB / 466.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.796e-05/0.3153, allocations: 1.156 kB / 466.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.3155, allocations: 144.7 kB / 466.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.3156, allocations: 11.69 kB / 466.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3157, allocations: 62.52 kB / 466.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.3158, allocations: 44.17 kB / 466.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.3158, allocations: 2.75 kB / 466.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01346/0.3293, allocations: 7.543 MB / 474.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.3294, allocations: 11.94 kB / 474.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.3295, allocations: 51.56 kB / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007409/0.3369, allocations: 3.281 MB / 477.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3369, allocations: 0 / 477.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3369, allocations: 0 / 477.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3369, allocations: 0 / 477.5 MB, free: 6.32 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.001297/0.3383, allocations: 0.7262 MB / 478.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3383, allocations: 8.031 kB / 478.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.813e-05/0.3384, allocations: 46.55 kB / 478.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.3385, allocations: 27.83 kB / 478.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3386, allocations: 171 kB / 478.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3387, allocations: 11.94 kB / 478.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3387, allocations: 4 kB / 478.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.339, allocations: 178.6 kB / 478.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.339, allocations: 0 / 478.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.339, allocations: 8 kB / 478.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.339, allocations: 3.984 kB / 478.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.3393, allocations: 244.2 kB / 478.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.3396, allocations: 302.6 kB / 479.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.3399, allocations: 222.8 kB / 479.4 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.3401, allocations: 189.1 kB / 479.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.3513, allocations: 4.263 MB / 483.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3513, allocations: 34.56 kB / 483.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.733e-06/0.3513, allocations: 0 / 483.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006943/0.352, allocations: 494.1 kB / 484.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.3521, allocations: 55.34 kB / 484.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.3522, allocations: 105.8 kB / 484.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.3522, allocations: 29.7 kB / 484.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.3523, allocations: 80.8 kB / 484.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.3524, allocations: 126.9 kB / 484.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/0.3524, allocations: 45.64 kB / 484.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3526, allocations: 326.8 kB / 485.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.3528, allocations: 124 kB / 485.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.3529, allocations: 137.6 kB / 485.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.3533, allocations: 280 kB / 485.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3533, allocations: 0 / 485.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000422/0.3537, allocations: 322.6 kB / 486 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3538, allocations: 4 kB / 486 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3538, allocations: 4 kB / 486 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3538, allocations: 4.031 kB / 486 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3539, allocations: 23.92 kB / 486 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3539, allocations: 4 kB / 486 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.69e-05/0.354, allocations: 27.72 kB / 486.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.354, allocations: 4 kB / 486.1 MB, free: 12.93 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.0001131/0.3542, allocations: 125.8 kB / 486.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.3542, allocations: 12.09 kB / 486.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000567/0.3548, allocations: 380.5 kB / 486.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.3548, allocations: 7.984 kB / 486.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3548, allocations: 0 / 486.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3548, allocations: 0 / 486.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.3552, allocations: 297.9 kB / 486.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3552, allocations: 3.938 kB / 486.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.3553, allocations: 20 kB / 486.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3553, allocations: 0 / 486.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3553, allocations: 3.984 kB / 486.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3553, allocations: 4 kB / 486.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3553, allocations: 0 / 486.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.3558, allocations: 432.8 kB / 487.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.581e-05/0.3559, allocations: 116.9 kB / 487.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3559, allocations: 0 / 487.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.356, allocations: 0 / 487.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.356, allocations: 12 kB / 487.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.3561, allocations: 7.984 kB / 487.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.544e-05/0.3561, allocations: 75.28 kB / 487.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3561, allocations: 8 kB / 487.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001653/0.3578, allocations: 0.627 MB / 488.2 MB, free: 10.73 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.003667/0.3615, allocations: 1.872 MB / 490.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005066/0.362, allocations: 345.5 kB / 490.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.362, allocations: 0 / 490.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.3622, allocations: 205.6 kB / 490.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.3628, allocations: 76.98 kB / 490.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3643, allocations: 0.6511 MB / 491.3 MB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3646, allocations: 0.7131 MB / 492 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.978e-05/0.3647, allocations: 16.38 kB / 492 MB, free: 6.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/0.3648, allocations: 43.42 kB / 492.1 MB, free: 6.707 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3648, allocations: 0 / 492.1 MB, free: 6.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06079/0.4256, allocations: 27.18 MB / 0.5071 GB, free: 11.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.214/9.639, allocations: 7.938 kB / 0.5071 GB, free: 11.52 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)