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.0007569/0.0007573, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0007838/0.0007838, allocations: 168.7 kB / 15.95 MB, free: 200 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.202/1.202, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04106/0.04106, allocations: 9.061 MB / 279.5 MB, free: 12.25 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.0004798/0.0004798, allocations: 16 kB / 339.2 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06792/0.06841, allocations: 49.2 MB / 388.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.2392/0.3076, allocations: 119.9 MB / 0.4964 GB, free: 256 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2979/0.6055, allocations: 104 MB / 0.598 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006049/0.6062, allocations: 11.06 kB / 0.598 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002498/0.6087, allocations: 1.083 MB / 0.599 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002829/0.6115, allocations: 1.333 MB / 0.6003 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05173/0.6633, allocations: 22.4 MB / 0.6222 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.6651, allocations: 1.594 MB / 0.6238 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.6653, allocations: 100.7 kB / 0.6239 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007229/0.666, allocations: 0.5136 MB / 0.6244 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.6664, allocations: 369.3 kB / 0.6247 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.6665, allocations: 17.75 kB / 0.6247 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04803/0.7145, allocations: 27.62 MB / 0.6517 GB, free: 2.086 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.7148, allocations: 96.97 kB / 0.6518 GB, free: 2.043 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004032/0.7152, allocations: 144.2 kB / 0.6519 GB, free: 18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.7317, allocations: 8.504 MB / 0.6602 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7317, allocations: 0 / 0.6602 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.7317, allocations: 1.094 kB / 0.6602 GB, free: 12.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.7318, allocations: 0 / 0.6602 GB, free: 12.71 MB / 462.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.005714/0.7375, allocations: 2.492 MB / 0.6627 GB, free: 10.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.7375, allocations: 12.03 kB / 0.6627 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.856e-05/0.7376, allocations: 85.39 kB / 0.6628 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005834/0.7382, allocations: 92.67 kB / 0.6629 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.7386, allocations: 324.5 kB / 0.6632 GB, free: 9.797 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.7386, allocations: 31.61 kB / 0.6632 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.606e-05/0.7387, allocations: 38 kB / 0.6632 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.7398, allocations: 0.6077 MB / 0.6638 GB, free: 9.312 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.7399, allocations: 7.844 kB / 0.6638 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.7399, allocations: 16.69 kB / 0.6639 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.7399, allocations: 16.27 kB / 0.6639 GB, free: 9.289 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.7411, allocations: 0.5731 MB / 0.6644 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.7432, allocations: 2.552 MB / 0.6669 GB, free: 6.504 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.7443, allocations: 0.5132 MB / 0.6674 GB, free: 6.168 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.7447, allocations: 356.1 kB / 0.6678 GB, free: 5.965 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.39/1.135, allocations: 135.8 MB / 0.8004 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.135, allocations: 39.06 kB / 0.8004 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 2.264e-06/1.135, allocations: 0 / 0.8004 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.005188/1.14, allocations: 2.393 MB / 0.8028 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/1.14, allocations: 55.38 kB / 0.8028 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/1.14, allocations: 254.9 kB / 0.8031 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/1.14, allocations: 33.08 kB / 0.8031 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/1.14, allocations: 182 kB / 0.8033 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/1.141, allocations: 265.9 kB / 0.8035 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/1.141, allocations: 9.797 kB / 0.8035 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/1.141, allocations: 358.2 kB / 0.8039 GB, free: 159 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/1.141, allocations: 285.4 kB / 0.8041 GB, free: 159 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/1.142, allocations: 406.4 kB / 0.8045 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/1.142, allocations: 330.3 kB / 0.8048 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.142, allocations: 2.281 kB / 0.8048 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001219/1.143, allocations: 0.8075 MB / 0.8056 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/1.143, allocations: 8.828 kB / 0.8056 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.143, allocations: 7.484 kB / 0.8056 GB, free: 158.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/1.143, allocations: 62.55 kB / 0.8057 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/1.144, allocations: 106.5 kB / 0.8058 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07758/1.221, allocations: 22.03 MB / 0.8273 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000466/1.222, allocations: 51.36 kB / 0.8274 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/1.222, allocations: 23.92 kB / 0.8274 GB, free: 150 MB / 0.5762 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.0002154/1.222, allocations: 193.6 kB / 0.8276 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/1.222, allocations: 44.5 kB / 0.8276 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/1.224, allocations: 1.578 MB / 0.8292 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/1.224, allocations: 16.14 kB / 0.8292 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/1.224, allocations: 1.312 kB / 0.8292 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001092/1.225, allocations: 1.16 MB / 0.8303 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/1.227, allocations: 1.616 MB / 0.8319 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/1.227, allocations: 3.812 kB / 0.8319 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/1.227, allocations: 91.52 kB / 0.832 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/1.227, allocations: 48.23 kB / 0.832 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/1.227, allocations: 15.84 kB / 0.832 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006606/1.228, allocations: 1.328 MB / 0.8333 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.228, allocations: 2.719 kB / 0.8333 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/1.23, allocations: 1.217 MB / 0.8345 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/1.23, allocations: 141.3 kB / 0.8347 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/1.23, allocations: 11.34 kB / 0.8347 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/1.23, allocations: 50.66 kB / 0.8347 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/1.23, allocations: 50.2 kB / 0.8348 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/1.23, allocations: 12.28 kB / 0.8348 GB, free: 147.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001826/1.23, allocations: 237.4 kB / 0.835 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.23, allocations: 1.969 kB / 0.835 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006204/1.237, allocations: 3.183 MB / 0.8381 GB, free: 147 MB / 0.5762 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.01123/1.248, allocations: 5.678 MB / 0.8437 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001238/1.249, allocations: 0.9529 MB / 0.8446 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.249, allocations: 0 / 0.8446 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005714/1.25, allocations: 499.2 kB / 0.8451 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.251, allocations: 335.8 kB / 0.8454 GB, free: 144.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005795/1.257, allocations: 4.344 MB / 0.8496 GB, free: 141.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/1.257, allocations: 0.8502 MB / 0.8505 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003644/1.257, allocations: 162.5 kB / 0.8506 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/1.258, allocations: 165.9 kB / 0.8508 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/1.258, allocations: 0 / 0.8508 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2839/1.541, allocations: 122.7 MB / 0.9706 GB, free: 289.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001259/1.542, allocations: 230.6 kB / 0.9708 GB, free: 289 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.479/7.021, allocations: 3.375 kB / 0.9708 GB, free: 289 MB / 0.5762 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: