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.001157/0.001157, 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.001305/0.001305, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.451/1.451, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04772/0.04772, allocations: 9.099 MB / 278.9 MB, free: 12.16 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.001467/0.001467, allocations: 63.84 kB / 338.1 MB, free: 25.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1049, allocations: 48.16 MB / 386.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.03393/0.1389, allocations: 17.23 MB / 403.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.1546, allocations: 9.339 MB / 412.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.1547, allocations: 0 / 412.9 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.1561, allocations: 359.6 kB / 413.2 MB, free: 14.11 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.01167/0.1678, allocations: 4.331 MB / 417.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.646e-05/0.1679, allocations: 4 kB / 417.5 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.1681, allocations: 147.1 kB / 417.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.1682, allocations: 5.125 kB / 417.7 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.1684, allocations: 63.61 kB / 417.8 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.745e-05/0.1685, allocations: 43.78 kB / 417.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1685, allocations: 4 kB / 417.8 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01315/0.1816, allocations: 7.474 MB / 425.3 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.1817, allocations: 19.8 kB / 425.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1818, allocations: 43.75 kB / 425.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2164/0.3982, allocations: 3.27 MB / 428.6 MB, free: 24.79 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/0.3983, allocations: 2.5 kB / 428.6 MB, free: 24.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.3983, allocations: 3.828 kB / 428.6 MB, free: 24.79 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.3983, allocations: 0 / 428.6 MB, free: 24.79 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.003796/0.4021, allocations: 0.7003 MB / 429.3 MB, free: 24.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.439e-05/0.4022, allocations: 10.31 kB / 429.3 MB, free: 24.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.846e-05/0.4023, allocations: 45.78 kB / 429.4 MB, free: 24.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.4025, allocations: 16.89 kB / 429.4 MB, free: 24.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.4027, allocations: 177.9 kB / 429.6 MB, free: 24.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.4027, allocations: 3.562 kB / 429.6 MB, free: 24.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.4028, allocations: 9.281 kB / 429.6 MB, free: 24.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.4032, allocations: 184.8 kB / 429.8 MB, free: 23.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.4032, allocations: 1.375 kB / 429.8 MB, free: 23.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.4033, allocations: 6.484 kB / 429.8 MB, free: 23.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.4033, allocations: 7.156 kB / 429.8 MB, free: 23.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.4037, allocations: 237.1 kB / 430 MB, free: 23.99 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.4042, allocations: 293.4 kB / 430.3 MB, free: 23.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.4046, allocations: 225.2 kB / 430.5 MB, free: 23.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/0.4048, allocations: 190.5 kB / 430.7 MB, free: 23.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0171/0.422, allocations: 4.257 MB / 434.9 MB, free: 20.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.422, allocations: 33.25 kB / 435 MB, free: 20.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 3.356e-06/0.422, allocations: 2.094 kB / 435 MB, free: 20.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.000971/0.423, allocations: 496.3 kB / 435.5 MB, free: 20.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.4231, allocations: 53.83 kB / 435.5 MB, free: 20.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.4232, allocations: 101 kB / 435.6 MB, free: 20.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.4232, allocations: 27.52 kB / 435.6 MB, free: 20.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.4232, allocations: 88.34 kB / 435.7 MB, free: 20.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.4233, allocations: 122 kB / 435.9 MB, free: 20.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-05/0.4234, allocations: 41.17 kB / 435.9 MB, free: 20.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.4235, allocations: 332.4 kB / 436.2 MB, free: 19.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.4237, allocations: 110.9 kB / 436.3 MB, free: 19.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.424, allocations: 145.3 kB / 436.5 MB, free: 19.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004462/0.4245, allocations: 277.7 kB / 436.7 MB, free: 19.86 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4245, allocations: 0 / 436.7 MB, free: 19.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006459/0.4251, allocations: 322.4 kB / 437.1 MB, free: 19.81 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4252, allocations: 6.844 kB / 437.1 MB, free: 19.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.4252, allocations: 2.672 kB / 437.1 MB, free: 19.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4252, allocations: 1.781 kB / 437.1 MB, free: 19.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.4254, allocations: 27.66 kB / 437.1 MB, free: 19.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4255, allocations: 1.766 kB / 437.1 MB, free: 19.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.4256, allocations: 21.03 kB / 437.1 MB, free: 19.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.4256, allocations: 8.625 kB / 437.1 MB, free: 19.8 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 9.495e-05/0.4257, allocations: 118 kB / 437.2 MB, free: 19.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.4258, allocations: 14.56 kB / 437.3 MB, free: 19.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.4266, allocations: 389.4 kB / 437.6 MB, free: 19.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.4267, allocations: 8.078 kB / 437.6 MB, free: 19.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4267, allocations: 1.156 kB / 437.6 MB, free: 19.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.4267, allocations: 0.5625 kB / 437.6 MB, free: 19.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.4271, allocations: 291.4 kB / 437.9 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.4271, allocations: 6.109 kB / 437.9 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.4273, allocations: 19.92 kB / 438 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4273, allocations: 6.938 kB / 438 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.4273, allocations: 6.469 kB / 438 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.4273, allocations: 1.188 kB / 438 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4274, allocations: 0 / 438 MB, free: 19.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.428, allocations: 429.8 kB / 438.4 MB, free: 19.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.4281, allocations: 106.6 kB / 438.5 MB, free: 19.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.4281, allocations: 5.438 kB / 438.5 MB, free: 19.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4283, allocations: 5.969 kB / 438.5 MB, free: 19.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.4284, allocations: 10.47 kB / 438.5 MB, free: 19.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.4284, allocations: 8.797 kB / 438.5 MB, free: 19.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.403e-05/0.4284, allocations: 86.88 kB / 438.6 MB, free: 19.08 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4285, allocations: 0 / 438.6 MB, free: 19.08 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003458/0.4319, allocations: 0.6115 MB / 439.2 MB, free: 18.98 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.007837/0.4398, allocations: 1.866 MB / 441.1 MB, free: 18.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007265/0.4405, allocations: 343.7 kB / 441.4 MB, free: 18.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4406, allocations: 0 / 441.4 MB, free: 18.08 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.4409, allocations: 208.3 kB / 441.6 MB, free: 18.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009976/0.4419, allocations: 70 kB / 441.7 MB, free: 18.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.445, allocations: 0.6469 MB / 442.3 MB, free: 17.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.4452, allocations: 0.7194 MB / 443.1 MB, free: 17.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.4453, allocations: 19.73 kB / 443.1 MB, free: 17.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.4454, allocations: 40.27 kB / 443.1 MB, free: 17.02 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4455, allocations: 0 / 443.1 MB, free: 17.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06653/0.512, allocations: 27.17 MB / 470.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/9.3, allocations: 7.875 kB / 470.3 MB, free: 15.27 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 & 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)