Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel",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.0007542/0.0007542, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004472/0.004473, allocations: 168.6 kB / 16.26 MB, free: 6.66 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.243/1.243, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04309/0.04309, allocations: 9.063 MB / 279.8 MB, free: 12.15 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.0004906/0.0004907, allocations: 12.61 kB / 339.8 MB, free: 25.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08457/0.08507, allocations: 49.18 MB / 389 MB, free: 8.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.2915/0.3766, allocations: 128.9 MB / 0.5058 GB, free: 6.906 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3378/0.7144, allocations: 111.5 MB / 0.6147 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00069/0.7152, allocations: 4.656 kB / 0.6147 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002971/0.7181, allocations: 1.176 MB / 0.6158 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.7215, allocations: 1.47 MB / 0.6172 GB, free: 1.734 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06842/0.79, allocations: 25.11 MB / 0.6418 GB, free: 484 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.7923, allocations: 1.844 MB / 0.6436 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.7926, allocations: 100.2 kB / 0.6437 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01601/0.8086, allocations: 9.23 MB / 0.6527 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004688/0.8091, allocations: 379.9 kB / 0.653 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.8092, allocations: 20.31 kB / 0.6531 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05509/0.8643, allocations: 31.36 MB / 0.6837 GB, free: 10.7 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.8646, allocations: 98.23 kB / 0.6838 GB, free: 10.65 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005766/0.8652, allocations: 307.5 kB / 0.6841 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04331/0.9085, allocations: 13.62 MB / 0.6974 GB, free: 68 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.9086, allocations: 0 / 0.6974 GB, free: 68 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.9086, allocations: 0 / 0.6974 GB, free: 68 kB / 478.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.9086, allocations: 0 / 0.6974 GB, free: 68 kB / 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.006844/0.9155, allocations: 2.483 MB / 0.6998 GB, free: 13.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.9155, allocations: 12.03 kB / 0.6998 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.422e-05/0.9156, allocations: 80.08 kB / 0.6999 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005706/0.9162, allocations: 94.98 kB / 0.7 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.9166, allocations: 338.8 kB / 0.7003 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.9167, allocations: 36.09 kB / 0.7003 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.9167, allocations: 30.88 kB / 0.7004 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.918, allocations: 0.6093 MB / 0.701 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.918, allocations: 0 / 0.701 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.9181, allocations: 17.72 kB / 0.701 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.9181, allocations: 11.75 kB / 0.701 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.9194, allocations: 0.58 MB / 0.7016 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.9219, allocations: 2.518 MB / 0.704 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.9229, allocations: 0.4984 MB / 0.7045 GB, free: 9.484 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.9235, allocations: 354.3 kB / 0.7048 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3931/1.317, allocations: 135.8 MB / 0.8375 GB, free: 258.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/1.317, allocations: 46.47 kB / 0.8375 GB, free: 258.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.507e-06/1.317, allocations: 3.469 kB / 0.8375 GB, free: 258.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.005419/1.322, allocations: 2.403 MB / 0.8399 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/1.322, allocations: 63.12 kB / 0.8399 GB, free: 257.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/1.322, allocations: 249.2 kB / 0.8402 GB, free: 257.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/1.322, allocations: 37.58 kB / 0.8402 GB, free: 257 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/1.323, allocations: 195.1 kB / 0.8404 GB, free: 256.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/1.323, allocations: 264.8 kB / 0.8406 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/1.323, allocations: 64.61 kB / 0.8407 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.906e-05/1.323, allocations: 354.6 kB / 0.841 GB, free: 256.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/1.323, allocations: 282.2 kB / 0.8413 GB, free: 256.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/1.324, allocations: 388.5 kB / 0.8417 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009565/1.325, allocations: 0.718 MB / 0.8424 GB, free: 255.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.325, allocations: 0 / 0.8424 GB, free: 255.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001254/1.326, allocations: 0.812 MB / 0.8432 GB, free: 255 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.326, allocations: 7.656 kB / 0.8432 GB, free: 255 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.326, allocations: 3.75 kB / 0.8432 GB, free: 255 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002415/1.326, allocations: 64.7 kB / 0.8432 GB, free: 255 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/1.327, allocations: 138.5 kB / 0.8434 GB, free: 254.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0899/1.417, allocations: 24.83 MB / 0.8676 GB, free: 234.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/1.417, allocations: 47.94 kB / 0.8677 GB, free: 234.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/1.417, allocations: 16 kB / 0.8677 GB, free: 234.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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.0002817/1.418, allocations: 196.7 kB / 0.8679 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/1.418, allocations: 43.44 kB / 0.8679 GB, free: 234.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/1.419, allocations: 1.698 MB / 0.8696 GB, free: 232.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/1.42, allocations: 19.19 kB / 0.8696 GB, free: 232.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.42, allocations: 0 / 0.8696 GB, free: 232.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/1.421, allocations: 1.278 MB / 0.8708 GB, free: 230.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/1.423, allocations: 1.729 MB / 0.8725 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/1.423, allocations: 1 kB / 0.8725 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/1.423, allocations: 87.88 kB / 0.8726 GB, free: 229 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000303/1.423, allocations: 115.2 kB / 0.8727 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.423, allocations: 11.98 kB / 0.8727 GB, free: 228.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009374/1.424, allocations: 1.898 MB / 0.8746 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.424, allocations: 4.109 kB / 0.8746 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/1.426, allocations: 1.34 MB / 0.8759 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/1.426, allocations: 136.4 kB / 0.876 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/1.426, allocations: 8 kB / 0.876 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/1.427, allocations: 51.89 kB / 0.8761 GB, free: 225.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/1.427, allocations: 44.86 kB / 0.8761 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/1.427, allocations: 15.98 kB / 0.8761 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001764/1.427, allocations: 227.1 kB / 0.8764 GB, free: 225 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.427, allocations: 0 / 0.8764 GB, free: 225 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008022/1.435, allocations: 3.181 MB / 0.8795 GB, free: 222.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.01659/1.451, allocations: 5.832 MB / 0.8852 GB, free: 216.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00178/1.453, allocations: 1.014 MB / 0.8861 GB, free: 215.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/1.453, allocations: 0 / 0.8861 GB, free: 215.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006378/1.454, allocations: 0.5151 MB / 0.8866 GB, free: 215.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/1.456, allocations: 380.4 kB / 0.887 GB, free: 214.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.466, allocations: 6.401 MB / 0.8933 GB, free: 208.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/1.466, allocations: 0.8565 MB / 0.8941 GB, free: 207.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004095/1.467, allocations: 143.9 kB / 0.8942 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/1.467, allocations: 167.4 kB / 0.8944 GB, free: 207.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/1.467, allocations: 0 / 0.8944 GB, free: 207.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/1.612, allocations: 124 MB / 1.016 GB, free: 83.04 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/1.613, allocations: 248.2 kB / 1.016 GB, free: 82.78 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.513/8.126, allocations: 0 / 1.016 GB, free: 82.78 MB / 0.5762 GB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_MediaTestModels_PropaneTestModel.fmu > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.pipe 2>&1)