Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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: translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000923/0.0009229, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0009249/0.0009249, allocations: 172.7 kB / 15.95 MB, free: 208 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.499/1.499, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04714/0.04714, allocations: 9.066 MB / 279.5 MB, free: 12.13 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.0004832/0.0004832, allocations: 16 kB / 339.1 MB, free: 25.97 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09942, allocations: 49.2 MB / 388.3 MB, free: 8.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.3406/0.4401, allocations: 132.4 MB / 0.5086 GB, free: 3.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3731/0.8132, allocations: 91.39 MB / 0.5978 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.814, allocations: 6.781 kB / 0.5978 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003152/0.8171, allocations: 1.072 MB / 0.5989 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004031/0.8212, allocations: 1.322 MB / 0.6002 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07812/0.8993, allocations: 22.63 MB / 0.6223 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002475/0.9018, allocations: 1.576 MB / 0.6238 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002505/0.9021, allocations: 94.72 kB / 0.6239 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01876/0.9208, allocations: 9.782 MB / 0.6334 GB, free: 9.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006345/0.9215, allocations: 366.4 kB / 0.6338 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.9216, allocations: 24.84 kB / 0.6338 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05881/0.9804, allocations: 28.63 MB / 0.6618 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004734/0.981, allocations: 92.19 kB / 0.6618 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007354/0.9817, allocations: 144.9 kB / 0.662 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02543/1.007, allocations: 8.91 MB / 0.6707 GB, free: 3.762 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.007, allocations: 0 / 0.6707 GB, free: 3.762 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.796e-06/1.007, allocations: 0 / 0.6707 GB, free: 3.762 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/1.007, allocations: 0 / 0.6707 GB, free: 3.762 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.007178/1.014, allocations: 2.586 MB / 0.6732 GB, free: 1.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/1.014, allocations: 8.031 kB / 0.6732 GB, free: 1.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005068/1.015, allocations: 83.31 kB / 0.6733 GB, free: 1.145 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/1.015, allocations: 323.3 kB / 0.6736 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/1.015, allocations: 37.16 kB / 0.6736 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/1.016, allocations: 35.72 kB / 0.6737 GB, free: 0.793 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.017, allocations: 0.5845 MB / 0.6742 GB, free: 384 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/1.017, allocations: 9.125 kB / 0.6743 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/1.017, allocations: 16.88 kB / 0.6743 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/1.017, allocations: 20.11 kB / 0.6743 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/1.018, allocations: 0.5409 MB / 0.6748 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/1.021, allocations: 2.494 MB / 0.6773 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009847/1.022, allocations: 0.4933 MB / 0.6777 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/1.022, allocations: 348.7 kB / 0.6781 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4517/1.474, allocations: 111.4 MB / 0.7869 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/1.474, allocations: 37.45 kB / 0.7869 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 4.509e-06/1.474, allocations: 1.25 kB / 0.7869 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.009472/1.483, allocations: 2.503 MB / 0.7894 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.484, allocations: 55.75 kB / 0.7894 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/1.484, allocations: 253.8 kB / 0.7897 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/1.484, allocations: 33.73 kB / 0.7897 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/1.484, allocations: 194.5 kB / 0.7899 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/1.484, allocations: 263.8 kB / 0.7902 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/1.484, allocations: 9.875 kB / 0.7902 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.485, allocations: 353.5 kB / 0.7905 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006034/1.485, allocations: 290.9 kB / 0.7908 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/1.486, allocations: 409.2 kB / 0.7912 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006151/1.486, allocations: 340 kB / 0.7915 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.486, allocations: 1.688 kB / 0.7915 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001857/1.488, allocations: 0.8385 MB / 0.7923 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.488, allocations: 9.312 kB / 0.7923 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/1.488, allocations: 4.812 kB / 0.7923 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/1.489, allocations: 87.16 kB / 0.7924 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/1.489, allocations: 115.5 kB / 0.7925 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04069/1.53, allocations: 13.22 MB / 0.8054 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/1.531, allocations: 55.67 kB / 0.8055 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/1.531, allocations: 18.42 kB / 0.8055 GB, free: 164 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002871/1.531, allocations: 185.1 kB / 0.8057 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.57e-05/1.531, allocations: 47.08 kB / 0.8057 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/1.533, allocations: 1.747 MB / 0.8074 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/1.533, allocations: 14.58 kB / 0.8074 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/1.533, allocations: 0 / 0.8074 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001378/1.534, allocations: 1.292 MB / 0.8087 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/1.537, allocations: 1.776 MB / 0.8104 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.537, allocations: 0.875 kB / 0.8104 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/1.537, allocations: 93.78 kB / 0.8105 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003238/1.537, allocations: 119.4 kB / 0.8106 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/1.537, allocations: 15.67 kB / 0.8107 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/1.539, allocations: 1.98 MB / 0.8126 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.539, allocations: 0 / 0.8126 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/1.541, allocations: 1.459 MB / 0.814 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/1.541, allocations: 139.1 kB / 0.8141 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.527e-05/1.541, allocations: 9.391 kB / 0.8142 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/1.541, allocations: 51.91 kB / 0.8142 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/1.541, allocations: 56.59 kB / 0.8143 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/1.541, allocations: 16.98 kB / 0.8143 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000208/1.542, allocations: 219.2 kB / 0.8145 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.71e-07/1.542, allocations: 0 / 0.8145 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00839/1.55, allocations: 2.985 MB / 0.8174 GB, free: 160.4 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01409/1.564, allocations: 3.849 MB / 0.8212 GB, free: 160 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001979/1.566, allocations: 1.069 MB / 0.8222 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/1.566, allocations: 0 / 0.8222 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007882/1.567, allocations: 0.5635 MB / 0.8228 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/1.569, allocations: 322.1 kB / 0.8231 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/1.57, allocations: 1.478 MB / 0.8245 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/1.57, allocations: 0.8547 MB / 0.8253 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003866/1.571, allocations: 132.1 kB / 0.8255 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/1.571, allocations: 36.06 kB / 0.8255 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/1.571, allocations: 2.406 kB / 0.8255 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1223/1.693, allocations: 110.7 MB / 0.9336 GB, free: 63.63 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile Environment - environmentSimulation: (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) Environment - environmentSimulation: