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.001203/0.001203, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001087/0.001087, allocations: 193.8 kB / 16.14 MB, free: 6.707 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.21/1.21, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04262/0.04262, allocations: 9.077 MB / 278.4 MB, free: 12.63 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.001516/0.001516, allocations: 63.91 kB / 337.4 MB, free: 25.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07483/0.07636, allocations: 48.16 MB / 385.6 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PentaneTestModel): time 0.2811/0.3575, allocations: 130.5 MB / 0.504 GB, free: 3.992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3172/0.6748, allocations: 112.9 MB / 0.6143 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006041/0.6754, allocations: 7.062 kB / 0.6143 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.6787, allocations: 1.188 MB / 0.6155 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.6822, allocations: 1.48 MB / 0.6169 GB, free: 1.105 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06355/0.7458, allocations: 24.87 MB / 0.6412 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.7481, allocations: 1.887 MB / 0.6431 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.7484, allocations: 99.97 kB / 0.6432 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009271/0.7493, allocations: 0.5123 MB / 0.6437 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004244/0.7497, allocations: 395 kB / 0.644 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.7498, allocations: 22.28 kB / 0.6441 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0554/0.8052, allocations: 31.14 MB / 0.6745 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.8055, allocations: 102.4 kB / 0.6746 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006747/0.8062, allocations: 288.5 kB / 0.6748 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04274/0.8489, allocations: 13.51 MB / 0.688 GB, free: 3.539 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.849, allocations: 0 / 0.688 GB, free: 3.539 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.849, allocations: 4 kB / 0.688 GB, free: 3.535 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.849, allocations: 0 / 0.688 GB, free: 3.535 MB / 478.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.007037/0.8561, allocations: 2.564 MB / 0.6905 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.8561, allocations: 12.03 kB / 0.6906 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.634e-05/0.8562, allocations: 89.89 kB / 0.6906 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006248/0.8569, allocations: 87.34 kB / 0.6907 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.8574, allocations: 332.1 kB / 0.691 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.8574, allocations: 36.64 kB / 0.6911 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.8575, allocations: 28 kB / 0.6911 GB, free: 320 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.8588, allocations: 0.6048 MB / 0.6917 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.8588, allocations: 7.922 kB / 0.6917 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.8589, allocations: 12 kB / 0.6917 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.8589, allocations: 22.36 kB / 0.6917 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.8602, allocations: 0.5481 MB / 0.6923 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.8627, allocations: 2.544 MB / 0.6948 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.8638, allocations: 0.5078 MB / 0.6953 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005338/0.8644, allocations: 338.3 kB / 0.6956 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4204/1.285, allocations: 139 MB / 0.8313 GB, free: 289.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/1.285, allocations: 35.28 kB / 0.8313 GB, free: 289.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.835e-06/1.285, allocations: 0 / 0.8313 GB, free: 289.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.005902/1.291, allocations: 2.34 MB / 0.8336 GB, free: 288.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/1.291, allocations: 57.53 kB / 0.8337 GB, free: 288.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/1.291, allocations: 254.3 kB / 0.8339 GB, free: 288 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.676e-05/1.291, allocations: 32.45 kB / 0.8339 GB, free: 288 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/1.291, allocations: 180.3 kB / 0.8341 GB, free: 287.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/1.291, allocations: 269.6 kB / 0.8344 GB, free: 287.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/1.292, allocations: 104 kB / 0.8345 GB, free: 287.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.26e-05/1.292, allocations: 348.4 kB / 0.8348 GB, free: 287.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/1.292, allocations: 275.1 kB / 0.8351 GB, free: 287 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/1.293, allocations: 388.1 kB / 0.8354 GB, free: 286.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009792/1.294, allocations: 0.706 MB / 0.8361 GB, free: 286.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.294, allocations: 3.969 kB / 0.8361 GB, free: 286.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00134/1.295, allocations: 0.7928 MB / 0.8369 GB, free: 285.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.295, allocations: 3.906 kB / 0.8369 GB, free: 285.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.295, allocations: 3.969 kB / 0.8369 GB, free: 285.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/1.295, allocations: 61.23 kB / 0.837 GB, free: 285.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/1.296, allocations: 101 kB / 0.8371 GB, free: 285.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0908/1.387, allocations: 22.06 MB / 0.8586 GB, free: 268.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/1.387, allocations: 51.8 kB / 0.8587 GB, free: 268.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/1.387, allocations: 20 kB / 0.8587 GB, free: 268.8 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.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002303/1.387, allocations: 195.5 kB / 0.8589 GB, free: 268.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.785e-05/1.387, allocations: 47.42 kB / 0.8589 GB, free: 268.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/1.389, allocations: 1.541 MB / 0.8604 GB, free: 266.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/1.389, allocations: 15.81 kB / 0.8604 GB, free: 266.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.389, allocations: 5.375 kB / 0.8604 GB, free: 266.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001072/1.39, allocations: 1.141 MB / 0.8615 GB, free: 265.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/1.392, allocations: 1.589 MB / 0.8631 GB, free: 264.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.392, allocations: 0 / 0.8631 GB, free: 264.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/1.392, allocations: 88.75 kB / 0.8632 GB, free: 264 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/1.392, allocations: 48.72 kB / 0.8632 GB, free: 263.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/1.392, allocations: 7.984 kB / 0.8632 GB, free: 263.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006494/1.393, allocations: 1.326 MB / 0.8645 GB, free: 262.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.393, allocations: 6.75 kB / 0.8645 GB, free: 262.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/1.395, allocations: 1.176 MB / 0.8657 GB, free: 261.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/1.395, allocations: 112.6 kB / 0.8658 GB, free: 261.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/1.395, allocations: 15.91 kB / 0.8658 GB, free: 261.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/1.395, allocations: 36.03 kB / 0.8658 GB, free: 261.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.89e-05/1.395, allocations: 39.88 kB / 0.8659 GB, free: 261 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/1.395, allocations: 19.98 kB / 0.8659 GB, free: 261 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001737/1.395, allocations: 239 kB / 0.8661 GB, free: 260.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.395, allocations: 0 / 0.8661 GB, free: 260.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006918/1.402, allocations: 3.193 MB / 0.8692 GB, free: 258 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01476/1.417, allocations: 5.644 MB / 0.8748 GB, free: 252.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001521/1.419, allocations: 0.9579 MB / 0.8757 GB, free: 251.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.419, allocations: 192 / 0.8757 GB, free: 251.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006968/1.419, allocations: 495.3 kB / 0.8762 GB, free: 251.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/1.421, allocations: 394.2 kB / 0.8765 GB, free: 250.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009835/1.431, allocations: 6.349 MB / 0.8827 GB, free: 244.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/1.431, allocations: 0.8486 MB / 0.8836 GB, free: 243.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004373/1.432, allocations: 163.9 kB / 0.8837 GB, free: 243.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/1.432, allocations: 171.4 kB / 0.8839 GB, free: 243.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.303e-06/1.432, allocations: 0 / 0.8839 GB, free: 243.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.948/4.38, allocations: 123.6 MB / 1.005 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/4.38, allocations: 252.9 kB / 1.005 GB, free: 119.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.123/10.5, allocations: 0 / 1.005 GB, free: 119.2 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/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)