Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.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.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel",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.0009011/0.0009011, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009829/0.0009831, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04113/0.04113, allocations: 9.066 MB / 279.4 MB, free: 12.27 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.0004679/0.000468, allocations: 12 kB / 339.2 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07941/0.07989, allocations: 49.19 MB / 388.4 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.2678/0.3477, allocations: 106.6 MB / 495 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.08918/0.4369, allocations: 88.62 MB / 0.57 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006781/0.4377, allocations: 4 kB / 0.57 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003093/0.4408, allocations: 1.145 MB / 0.5711 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.4439, allocations: 1.297 MB / 0.5723 GB, free: 1.242 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2637/0.7076, allocations: 22.38 MB / 0.5942 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.709, allocations: 0.7942 MB / 0.595 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.7092, allocations: 98.44 kB / 0.5951 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.7103, allocations: 0.559 MB / 0.5956 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003896/0.7107, allocations: 267 kB / 0.5959 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.7108, allocations: 19.12 kB / 0.5959 GB, free: 16.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04287/0.7536, allocations: 24.76 MB / 0.6201 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.7539, allocations: 92.34 kB / 0.6202 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.7543, allocations: 143.1 kB / 0.6203 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01559/0.7699, allocations: 6.385 MB / 0.6265 GB, free: 15.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.7699, allocations: 4 kB / 0.6265 GB, free: 15.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7699, allocations: 0 / 0.6265 GB, free: 15.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.77, allocations: 0 / 0.6265 GB, free: 15.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005229/0.7752, allocations: 2.002 MB / 0.6285 GB, free: 14.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.7753, allocations: 9.688 kB / 0.6285 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.445e-05/0.7753, allocations: 85.31 kB / 0.6286 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005349/0.7759, allocations: 97.5 kB / 0.6287 GB, free: 14.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.7762, allocations: 322.6 kB / 0.629 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.7763, allocations: 30.81 kB / 0.629 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.7763, allocations: 33.09 kB / 0.629 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.7774, allocations: 0.6044 MB / 0.6296 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.7774, allocations: 5.688 kB / 0.6296 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.694e-05/0.7775, allocations: 13.38 kB / 0.6296 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.7775, allocations: 23.44 kB / 0.6297 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.7787, allocations: 0.5695 MB / 0.6302 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/0.7811, allocations: 2.554 MB / 0.6327 GB, free: 28.56 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.7821, allocations: 0.5224 MB / 0.6332 GB, free: 28.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2196/1.002, allocations: 136.2 MB / 0.7662 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/1.002, allocations: 42.34 kB / 0.7663 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.637e-06/1.002, allocations: 0 / 0.7663 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006292/1.008, allocations: 2.699 MB / 0.7689 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/1.008, allocations: 58.25 kB / 0.769 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/1.008, allocations: 253.7 kB / 0.7692 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/1.009, allocations: 30.95 kB / 0.7692 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/1.009, allocations: 184.9 kB / 0.7694 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/1.009, allocations: 264.2 kB / 0.7697 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/1.009, allocations: 7.188 kB / 0.7697 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.009, allocations: 360.8 kB / 0.77 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/1.01, allocations: 276.2 kB / 0.7703 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/1.01, allocations: 409.8 kB / 0.7707 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/1.011, allocations: 336.2 kB / 0.771 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.011, allocations: 0 / 0.771 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001429/1.012, allocations: 0.8082 MB / 0.7718 GB, free: 20 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.012, allocations: 8 kB / 0.7718 GB, free: 12 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.012, allocations: 4 kB / 0.7718 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002725/1.012, allocations: 74.25 kB / 0.7719 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/1.013, allocations: 103.8 kB / 0.772 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3215/1.334, allocations: 21.98 MB / 0.7934 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/1.335, allocations: 55.94 kB / 0.7935 GB, free: 185.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/1.335, allocations: 19.17 kB / 0.7935 GB, free: 185.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002665/1.335, allocations: 191 kB / 0.7937 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/1.335, allocations: 40.5 kB / 0.7937 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/1.337, allocations: 1.581 MB / 0.7953 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/1.337, allocations: 16.39 kB / 0.7953 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.337, allocations: 2.625 kB / 0.7953 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001304/1.339, allocations: 1.165 MB / 0.7964 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/1.341, allocations: 1.615 MB / 0.798 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.341, allocations: 1.125 kB / 0.798 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003438/1.341, allocations: 90.88 kB / 0.7981 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/1.341, allocations: 49.55 kB / 0.7981 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/1.341, allocations: 11.58 kB / 0.7981 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007479/1.342, allocations: 1.334 MB / 0.7994 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.342, allocations: 1.531 kB / 0.7994 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/1.344, allocations: 1.225 MB / 0.8006 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/1.344, allocations: 143.9 kB / 0.8008 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/1.344, allocations: 14.78 kB / 0.8008 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/1.345, allocations: 54.12 kB / 0.8008 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/1.345, allocations: 45.31 kB / 0.8009 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/1.345, allocations: 13.38 kB / 0.8009 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000216/1.345, allocations: 239.4 kB / 0.8011 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.345, allocations: 0 / 0.8011 GB, free: 183.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007978/1.353, allocations: 3.181 MB / 0.8042 GB, free: 183 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01621/1.369, allocations: 5.749 MB / 0.8098 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001703/1.371, allocations: 0.9602 MB / 0.8108 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.371, allocations: 192 / 0.8108 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006434/1.371, allocations: 496.2 kB / 0.8113 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.373, allocations: 326.7 kB / 0.8116 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009612/1.383, allocations: 6.45 MB / 0.8179 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/1.383, allocations: 0.8578 MB / 0.8187 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004998/1.384, allocations: 158.4 kB / 0.8189 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/1.384, allocations: 165 kB / 0.819 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.442e-06/1.384, allocations: 0 / 0.819 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1425/1.526, allocations: 122.7 MB / 0.9388 GB, free: 70.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/1.526, allocations: 218.1 kB / 0.939 GB, free: 69.81 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.52/7.046, allocations: 0 / 0.939 GB, free: 69.81 MB / 0.5919 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PentaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel.pipe 2>&1) Environment - environmentSimulation: