Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001006/0.001006, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.302/1.302, allocations: 205.1 MB / 223.2 MB, free: 12.11 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04687/0.04687, allocations: 9.092 MB / 279.6 MB, free: 2.949 MB / 222.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.001465/0.001465, allocations: 67.91 kB / 339.5 MB, free: 6.969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2655, allocations: 48.14 MB / 387.6 MB, free: 51.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.1149/0.3805, allocations: 128.6 MB / 0.5041 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.268/0.6486, allocations: 111 MB / 0.6125 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005728/0.6492, allocations: 8.906 kB / 0.6125 GB, free: 14.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.6521, allocations: 1.377 MB / 0.6139 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003212/0.6553, allocations: 1.646 MB / 0.6155 GB, free: 13.82 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.07755/0.7329, allocations: 29.24 MB / 0.644 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.7349, allocations: 1.405 MB / 0.6454 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.7352, allocations: 128.4 kB / 0.6455 GB, free: 8.766 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01704/0.7523, allocations: 10.48 MB / 0.6558 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000746/0.7531, allocations: 381.8 kB / 0.6561 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.7532, allocations: 44 kB / 0.6562 GB, free: 14.28 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06141/0.8146, allocations: 34.53 MB / 0.6899 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002267/0.8149, allocations: 118.3 kB / 0.69 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005083/0.8154, allocations: 310.7 kB / 0.6903 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04198/0.8574, allocations: 13.93 MB / 0.7039 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8574, allocations: 0 / 0.7039 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.8574, allocations: 0 / 0.7039 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.8575, allocations: 0 / 0.7039 GB, free: 15.56 MB / 0.4981 GB 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.005754/0.8632, allocations: 2.569 MB / 0.7064 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.8633, allocations: 12.03 kB / 0.7064 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006386/0.8639, allocations: 79.41 kB / 0.7065 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.8645, allocations: 341 kB / 0.7068 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.8645, allocations: 32.66 kB / 0.7069 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.8646, allocations: 35.91 kB / 0.7069 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.8659, allocations: 0.6075 MB / 0.7075 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.8659, allocations: 3.938 kB / 0.7075 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.866, allocations: 12 kB / 0.7075 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.866, allocations: 16 kB / 0.7075 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.8673, allocations: 0.5562 MB / 0.7081 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.8699, allocations: 2.449 MB / 0.7105 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.871, allocations: 0.4901 MB / 0.7109 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.8716, allocations: 339.5 kB / 0.7113 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3486/1.22, allocations: 139 MB / 0.847 GB, free: 86.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/1.22, allocations: 38.55 kB / 0.847 GB, free: 85.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=77): time 2.805e-06/1.22, allocations: 0 / 0.847 GB, free: 85.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=81): time 0.005364/1.226, allocations: 2.342 MB / 0.8493 GB, free: 83.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/1.226, allocations: 55.41 kB / 0.8494 GB, free: 83.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/1.226, allocations: 261.6 kB / 0.8496 GB, free: 83.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/1.226, allocations: 33.7 kB / 0.8497 GB, free: 83.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/1.226, allocations: 187.5 kB / 0.8498 GB, free: 83.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/1.226, allocations: 263.8 kB / 0.8501 GB, free: 82.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/1.226, allocations: 102.1 kB / 0.8502 GB, free: 82.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.065e-05/1.226, allocations: 346.8 kB / 0.8505 GB, free: 82.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/1.227, allocations: 281.2 kB / 0.8508 GB, free: 82.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/1.227, allocations: 394.6 kB / 0.8512 GB, free: 81.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008966/1.228, allocations: 0.6951 MB / 0.8518 GB, free: 80.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.228, allocations: 4 kB / 0.8518 GB, free: 80.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001236/1.229, allocations: 0.7957 MB / 0.8526 GB, free: 80.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.229, allocations: 8.781 kB / 0.8526 GB, free: 80.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.229, allocations: 4 kB / 0.8526 GB, free: 80.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/1.23, allocations: 69.98 kB / 0.8527 GB, free: 79.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006879/1.23, allocations: 135.8 kB / 0.8528 GB, free: 79.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06377/1.294, allocations: 18.42 MB / 0.8708 GB, free: 60.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/1.295, allocations: 23.98 kB / 0.8708 GB, free: 60.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/1.295, allocations: 21.36 kB / 0.8709 GB, free: 60.86 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 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.0002437/1.295, allocations: 187 kB / 0.871 GB, free: 60.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/1.295, allocations: 43.44 kB / 0.8711 GB, free: 60.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/1.297, allocations: 1.717 MB / 0.8728 GB, free: 58.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/1.297, allocations: 8 kB / 0.8728 GB, free: 58.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.297, allocations: 3.984 kB / 0.8728 GB, free: 58.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/1.298, allocations: 1.292 MB / 0.874 GB, free: 57.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/1.3, allocations: 1.754 MB / 0.8757 GB, free: 55.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.3, allocations: 0 / 0.8757 GB, free: 55.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/1.3, allocations: 71.95 kB / 0.8758 GB, free: 55.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/1.301, allocations: 170.3 kB / 0.876 GB, free: 55.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/1.301, allocations: 8.5 kB / 0.876 GB, free: 55.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/1.302, allocations: 2.578 MB / 0.8785 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.302, allocations: 3.938 kB / 0.8785 GB, free: 52.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/1.303, allocations: 1.375 MB / 0.8798 GB, free: 51.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/1.304, allocations: 120.5 kB / 0.88 GB, free: 51.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.107e-05/1.304, allocations: 15.94 kB / 0.88 GB, free: 51.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/1.304, allocations: 23.97 kB / 0.88 GB, free: 51.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.304, allocations: 51.81 kB / 0.88 GB, free: 51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/1.304, allocations: 15.98 kB / 0.8801 GB, free: 50.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001813/1.304, allocations: 219.1 kB / 0.8803 GB, free: 50.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.304, allocations: 0 / 0.8803 GB, free: 50.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007826/1.312, allocations: 3.516 MB / 0.8837 GB, free: 47.71 MB / 0.4981 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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01552/1.328, allocations: 4.457 MB / 0.8881 GB, free: 43.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002106/1.33, allocations: 1.053 MB / 0.8891 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.33, allocations: 0 / 0.8891 GB, free: 42.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007/1.331, allocations: 0.511 MB / 0.8896 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/1.332, allocations: 388.1 kB / 0.89 GB, free: 41.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/1.334, allocations: 1.193 MB / 0.8911 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/1.334, allocations: 0.8564 MB / 0.892 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003447/1.334, allocations: 130.4 kB / 0.8921 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/1.335, allocations: 39.44 kB / 0.8921 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/1.335, allocations: 3.938 kB / 0.8921 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.2792/1.614, allocations: 126.5 MB / 1.016 GB, free: 149.1 MB / 0.4981 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.pipe 2>&1)