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.01071/0.01071, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002037/0.002037, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.481/1.481, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04831/0.04831, allocations: 9.096 MB / 279 MB, free: 12.09 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.001831/0.001831, allocations: 67.89 kB / 387 MB, free: 8.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3033, allocations: 48.16 MB / 435.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.0216/0.3249, allocations: 17.22 MB / 452.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.3352, allocations: 9.346 MB / 461.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.3354, allocations: 1.062 kB / 461.7 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.3368, allocations: 363 kB / 462 MB, free: 2.812 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.01438/0.3512, allocations: 4.33 MB / 466.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.62e-05/0.3513, allocations: 1.25 kB / 466.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.3516, allocations: 144.7 kB / 466.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.089e-05/0.3517, allocations: 7.938 kB / 466.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3518, allocations: 65.89 kB / 466.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.352, allocations: 49.23 kB / 466.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.352, allocations: 2.344 kB / 466.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01388/0.3659, allocations: 7.538 MB / 474.2 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.3659, allocations: 11.94 kB / 474.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3661, allocations: 51.67 kB / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008694/0.3748, allocations: 3.282 MB / 477.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3748, allocations: 0 / 477.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3748, allocations: 0 / 477.5 MB, free: 6.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3748, 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.001776/0.3766, allocations: 0.7056 MB / 478.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.3767, allocations: 8.031 kB / 478.2 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.3767, allocations: 46.55 kB / 478.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.3769, allocations: 19.83 kB / 478.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3771, allocations: 178.8 kB / 478.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3771, allocations: 12 kB / 478.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3771, allocations: 4 kB / 478.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.3774, allocations: 178.6 kB / 478.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3774, allocations: 4 kB / 478.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.3774, allocations: 11.98 kB / 478.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3775, allocations: 3.984 kB / 478.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.3778, allocations: 248.1 kB / 478.9 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.3781, allocations: 286.6 kB / 479.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3784, allocations: 230.8 kB / 479.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.3786, allocations: 185.1 kB / 479.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/0.3902, allocations: 4.259 MB / 483.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.3902, allocations: 34.56 kB / 483.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 2.475e-06/0.3902, allocations: 0 / 483.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007559/0.391, allocations: 497.9 kB / 484.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.3911, allocations: 51.41 kB / 484.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.3912, allocations: 105.8 kB / 484.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3912, allocations: 29.7 kB / 484.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.3912, allocations: 80.8 kB / 484.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.3914, allocations: 122.1 kB / 484.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.3914, allocations: 41.7 kB / 484.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.3916, allocations: 326.8 kB / 485.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3917, allocations: 112 kB / 485.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.3919, allocations: 149.7 kB / 485.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.3922, allocations: 280 kB / 485.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.3922, allocations: 0 / 485.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004076/0.3927, allocations: 330.5 kB / 486 MB, free: 13.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3927, allocations: 4 kB / 486 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.3927, allocations: 4 kB / 486 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3927, allocations: 0 / 486 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3929, allocations: 23.92 kB / 486 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.3929, allocations: 4 kB / 486 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.393, allocations: 27.72 kB / 486 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.393, allocations: 4 kB / 486 MB, free: 12.96 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.0001114/0.3931, allocations: 117.8 kB / 486.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.3932, allocations: 7.906 kB / 486.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.3938, allocations: 376.1 kB / 486.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.3938, allocations: 11.98 kB / 486.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3938, allocations: 0 / 486.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3938, allocations: 7.938 kB / 486.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.3941, allocations: 293.8 kB / 486.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.3941, allocations: 0 / 486.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3943, allocations: 31.92 kB / 486.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3943, allocations: 0 / 486.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3943, allocations: 0 / 486.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3943, allocations: 4 kB / 486.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3943, allocations: 0 / 486.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.3948, allocations: 428.9 kB / 487.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3949, allocations: 112.8 kB / 487.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.3949, allocations: 4 kB / 487.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.395, allocations: 4 kB / 487.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.3951, allocations: 11.98 kB / 487.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.3951, allocations: 8 kB / 487.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.016e-05/0.3951, allocations: 79.47 kB / 487.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3951, allocations: 0 / 487.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002364/0.3975, allocations: 0.6169 MB / 488.1 MB, free: 10.78 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.004847/0.4024, allocations: 1.862 MB / 490 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.403, allocations: 337.6 kB / 490.3 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.403, allocations: 8 kB / 490.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.4032, allocations: 205.6 kB / 490.5 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.4039, allocations: 67.84 kB / 490.6 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.4062, allocations: 0.6373 MB / 491.2 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.4065, allocations: 0.717 MB / 491.9 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.247e-05/0.4066, allocations: 20.36 kB / 492 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.4067, allocations: 35.42 kB / 492 MB, free: 6.793 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4067, allocations: 4 kB / 492 MB, free: 6.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06155/0.4683, allocations: 27.16 MB / 0.507 GB, free: 11.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.927/9.395, allocations: 15.94 kB / 0.507 GB, free: 11.62 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)