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.001425/0.001425, allocations: 108 kB / 15.61 MB, free: 152 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.00174/0.00174, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.636/1.636, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05088/0.05088, allocations: 9.092 MB / 278.9 MB, free: 12.18 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.002233/0.002233, allocations: 67.91 kB / 338.1 MB, free: 25.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1082, allocations: 48.15 MB / 386.3 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02236/0.1306, allocations: 17.22 MB / 403.5 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00943/0.1401, allocations: 9.343 MB / 412.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.543e-05/0.1402, allocations: 0 / 412.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.1414, allocations: 363.6 kB / 413.2 MB, free: 14.09 MB / 318.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.0116/0.153, allocations: 4.331 MB / 417.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.459e-05/0.1531, allocations: 0 / 417.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1533, allocations: 143.1 kB / 417.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.107e-05/0.1534, allocations: 9.109 kB / 417.7 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1535, allocations: 63.61 kB / 417.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.1536, allocations: 39.8 kB / 417.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1536, allocations: 4 kB / 417.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/0.1675, allocations: 7.478 MB / 425.3 MB, free: 2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.527e-05/0.1676, allocations: 11.86 kB / 425.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.1677, allocations: 55.67 kB / 425.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2434/0.4111, allocations: 3.265 MB / 428.6 MB, free: 25.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.4112, allocations: 0 / 428.6 MB, free: 25.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4112, allocations: 5.125 kB / 428.6 MB, free: 25.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.4112, allocations: 0 / 428.6 MB, free: 25.29 MB / 318.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.001886/0.4131, allocations: 0.7013 MB / 429.3 MB, free: 24.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.4132, allocations: 9.688 kB / 429.3 MB, free: 24.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.4132, allocations: 46.73 kB / 429.4 MB, free: 24.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.4133, allocations: 18.56 kB / 429.4 MB, free: 24.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.556e-05/0.4135, allocations: 174 kB / 429.6 MB, free: 24.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4135, allocations: 2.469 kB / 429.6 MB, free: 24.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.4135, allocations: 11.02 kB / 429.6 MB, free: 24.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.4138, allocations: 185.4 kB / 429.8 MB, free: 24.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4138, allocations: 1.438 kB / 429.8 MB, free: 24.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.4138, allocations: 3.625 kB / 429.8 MB, free: 24.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.4138, allocations: 5.016 kB / 429.8 MB, free: 24.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.4141, allocations: 242.6 kB / 430 MB, free: 24.49 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.4144, allocations: 291 kB / 430.3 MB, free: 24.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.4147, allocations: 227.2 kB / 430.5 MB, free: 24.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/0.4149, allocations: 189.8 kB / 430.7 MB, free: 24.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/0.4265, allocations: 4.257 MB / 434.9 MB, free: 21.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.4266, allocations: 32.55 kB / 435 MB, free: 21.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 3.466e-06/0.4266, allocations: 0 / 435 MB, free: 21.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007678/0.4274, allocations: 499.9 kB / 435.5 MB, free: 21.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4274, allocations: 55.48 kB / 435.5 MB, free: 21.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/0.4275, allocations: 102.1 kB / 435.6 MB, free: 20.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.4275, allocations: 30.39 kB / 435.6 MB, free: 20.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.4276, allocations: 84.05 kB / 435.7 MB, free: 20.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.4277, allocations: 123.1 kB / 435.9 MB, free: 20.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.4278, allocations: 45.89 kB / 435.9 MB, free: 20.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/0.4278, allocations: 321.6 kB / 436.2 MB, free: 20.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.428, allocations: 115.7 kB / 436.3 MB, free: 20.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.4282, allocations: 143.9 kB / 436.5 MB, free: 20.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.4285, allocations: 279.1 kB / 436.7 MB, free: 20.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4285, allocations: 0 / 436.7 MB, free: 20.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003913/0.4289, allocations: 320 kB / 437 MB, free: 20.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.429, allocations: 5.5 kB / 437.1 MB, free: 20.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.429, allocations: 7.438 kB / 437.1 MB, free: 20.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.429, allocations: 5.125 kB / 437.1 MB, free: 20.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.4291, allocations: 23.73 kB / 437.1 MB, free: 20.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4292, allocations: 1.219 kB / 437.1 MB, free: 20.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.993e-05/0.4292, allocations: 22.53 kB / 437.1 MB, free: 20.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.4293, allocations: 7.312 kB / 437.1 MB, free: 20.3 MB / 318.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 8.373e-05/0.4294, allocations: 121.9 kB / 437.2 MB, free: 20.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.4294, allocations: 16.2 kB / 437.3 MB, free: 20.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005712/0.43, allocations: 374.6 kB / 437.6 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.43, allocations: 9.812 kB / 437.6 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.43, allocations: 1.719 kB / 437.6 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.43, allocations: 0.7031 kB / 437.6 MB, free: 20.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.4303, allocations: 294.5 kB / 437.9 MB, free: 19.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.4303, allocations: 5.453 kB / 437.9 MB, free: 19.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.176e-05/0.4304, allocations: 23.61 kB / 437.9 MB, free: 19.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4305, allocations: 1.844 kB / 438 MB, free: 19.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4305, allocations: 6.062 kB / 438 MB, free: 19.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4305, allocations: 1.797 kB / 438 MB, free: 19.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4305, allocations: 0 / 438 MB, free: 19.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.431, allocations: 433.1 kB / 438.4 MB, free: 19.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.431, allocations: 107 kB / 438.5 MB, free: 19.65 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.4311, allocations: 1.125 kB / 438.5 MB, free: 19.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.57e-05/0.4312, allocations: 5.812 kB / 438.5 MB, free: 19.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.4312, allocations: 12.38 kB / 438.5 MB, free: 19.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.4312, allocations: 8.156 kB / 438.5 MB, free: 19.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.99e-05/0.4312, allocations: 81.31 kB / 438.6 MB, free: 19.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4313, allocations: 1 kB / 438.6 MB, free: 19.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003533/0.4348, allocations: 0.6171 MB / 439.2 MB, free: 19.47 MB / 318.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.006063/0.4409, allocations: 1.864 MB / 441.1 MB, free: 18.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005187/0.4414, allocations: 348.6 kB / 441.4 MB, free: 18.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4414, allocations: 0 / 441.4 MB, free: 18.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.4416, allocations: 201.8 kB / 441.6 MB, free: 18.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006084/0.4423, allocations: 66.94 kB / 441.7 MB, free: 18.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.4449, allocations: 0.6543 MB / 442.3 MB, free: 18.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.445, allocations: 0.7153 MB / 443 MB, free: 17.54 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.4452, allocations: 27.88 kB / 443.1 MB, free: 17.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.471e-05/0.4452, allocations: 39.02 kB / 443.1 MB, free: 17.52 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4453, allocations: 0 / 443.1 MB, free: 17.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05759/0.5028, allocations: 27.18 MB / 470.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.62/10.12, allocations: 7.938 kB / 470.3 MB, free: 15.64 MB / 334.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)