Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 90] 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_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005402/0.005402, allocations: 96.89 kB / 15.73 MB, free: 6 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.001486/0.001486, allocations: 189.8 kB / 16.67 MB, free: 5.93 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.338/1.338, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04872/0.04872, allocations: 9.092 MB / 279 MB, free: 12.09 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.002054/0.002054, allocations: 76.39 kB / 387.5 MB, free: 7.961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2404, allocations: 48.15 MB / 435.7 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.1564/0.3968, allocations: 142.2 MB / 0.5643 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3095/0.7064, allocations: 97.69 MB / 0.6597 GB, free: 308 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004588/0.7069, allocations: 5.375 kB / 0.6597 GB, free: 308 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.7095, allocations: 1.37 MB / 0.6611 GB, free: 300 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.7124, allocations: 1.652 MB / 0.6627 GB, free: 252 kB / 478.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.06882/0.7812, allocations: 29.56 MB / 0.6916 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001896/0.7832, allocations: 1.408 MB / 0.6929 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.7834, allocations: 136.3 kB / 0.6931 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0162/0.7996, allocations: 9.859 MB / 0.7027 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005079/0.8002, allocations: 376.6 kB / 0.7031 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.837e-05/0.8002, allocations: 40 kB / 0.7031 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05338/0.8536, allocations: 31.4 MB / 0.7338 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.8539, allocations: 118.5 kB / 0.7339 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005066/0.8544, allocations: 309.5 kB / 0.7342 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.03468/0.8891, allocations: 12.69 MB / 0.7466 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8892, allocations: 0 / 0.7466 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8892, allocations: 0 / 0.7466 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.8892, allocations: 0 / 0.7466 GB, free: 5.008 MB / 0.5294 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.005471/0.8946, allocations: 2.381 MB / 0.7489 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.8947, allocations: 8.031 kB / 0.7489 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005383/0.8952, allocations: 87.62 kB / 0.749 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.8957, allocations: 342.4 kB / 0.7493 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.8958, allocations: 28.66 kB / 0.7493 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.847e-05/0.8959, allocations: 35.94 kB / 0.7494 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.8971, allocations: 0.5928 MB / 0.7499 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.8971, allocations: 3.938 kB / 0.7499 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.8971, allocations: 12 kB / 0.75 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.8972, allocations: 18.34 kB / 0.75 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.8984, allocations: 0.522 MB / 0.7505 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.901, allocations: 2.491 MB / 0.7529 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.9021, allocations: 0.4957 MB / 0.7534 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.9026, allocations: 334.3 kB / 0.7537 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3613/1.264, allocations: 121.8 MB / 0.8727 GB, free: 240.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/1.264, allocations: 34.84 kB / 0.8727 GB, free: 240.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 2.796e-06/1.264, allocations: 3.938 kB / 0.8727 GB, free: 240.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005061/1.269, allocations: 2.403 MB / 0.8751 GB, free: 239.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/1.269, allocations: 61.12 kB / 0.8751 GB, free: 239.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/1.269, allocations: 252 kB / 0.8754 GB, free: 239 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/1.269, allocations: 37.55 kB / 0.8754 GB, free: 239 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/1.269, allocations: 187.3 kB / 0.8756 GB, free: 238.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/1.27, allocations: 286.9 kB / 0.8759 GB, free: 238.6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.27, allocations: 97.7 kB / 0.876 GB, free: 238.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.558e-05/1.27, allocations: 346.7 kB / 0.8763 GB, free: 238.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/1.27, allocations: 280 kB / 0.8766 GB, free: 238.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/1.271, allocations: 392.8 kB / 0.8769 GB, free: 237.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008637/1.271, allocations: 0.7105 MB / 0.8776 GB, free: 237.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.271, allocations: 3.969 kB / 0.8776 GB, free: 237.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001204/1.273, allocations: 0.8017 MB / 0.8784 GB, free: 236.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.273, allocations: 3.969 kB / 0.8784 GB, free: 236.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.273, allocations: 3.969 kB / 0.8784 GB, free: 236.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00046/1.273, allocations: 111.3 kB / 0.8785 GB, free: 236.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/1.274, allocations: 113.7 kB / 0.8786 GB, free: 236.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06231/1.336, allocations: 19.21 MB / 0.8974 GB, free: 219.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/1.336, allocations: 27.98 kB / 0.8974 GB, free: 219.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/1.336, allocations: 19.98 kB / 0.8974 GB, free: 219.6 MB / 0.6075 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.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 (47): * Single equations (assignments): 40 * 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, 2} * 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.0002182/1.337, allocations: 192 kB / 0.8976 GB, free: 219.4 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.092e-05/1.337, allocations: 47.78 kB / 0.8977 GB, free: 219.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/1.338, allocations: 1.695 MB / 0.8993 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/1.338, allocations: 11.98 kB / 0.8993 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/1.338, allocations: 7.938 kB / 0.8993 GB, free: 217.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/1.34, allocations: 1.262 MB / 0.9006 GB, free: 216.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/1.341, allocations: 1.746 MB / 0.9023 GB, free: 214.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.341, allocations: 0 / 0.9023 GB, free: 214.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/1.342, allocations: 83.97 kB / 0.9024 GB, free: 214.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002958/1.342, allocations: 188.5 kB / 0.9025 GB, free: 214.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/1.342, allocations: 4 kB / 0.9025 GB, free: 214.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/1.343, allocations: 2.583 MB / 0.9051 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.343, allocations: 4.031 kB / 0.9051 GB, free: 211.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/1.345, allocations: 1.453 MB / 0.9065 GB, free: 209.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/1.345, allocations: 119.3 kB / 0.9066 GB, free: 209.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/1.345, allocations: 8 kB / 0.9066 GB, free: 209.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/1.345, allocations: 27.97 kB / 0.9066 GB, free: 209.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/1.346, allocations: 51.94 kB / 0.9067 GB, free: 209.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/1.346, allocations: 14.94 kB / 0.9067 GB, free: 209.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001866/1.346, allocations: 227.1 kB / 0.9069 GB, free: 209.4 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/1.346, allocations: 3.938 kB / 0.9069 GB, free: 209.4 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.009039/1.355, allocations: 3.278 MB / 0.9101 GB, free: 206.5 MB / 0.6075 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: 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), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01235/1.367, allocations: 4.209 MB / 0.9142 GB, free: 202.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001899/1.369, allocations: 0.9982 MB / 0.9152 GB, free: 201.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.369, allocations: 4 kB / 0.9152 GB, free: 201.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007154/1.37, allocations: 0.5188 MB / 0.9157 GB, free: 201.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.372, allocations: 398.4 kB / 0.9161 GB, free: 200.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/1.374, allocations: 1.202 MB / 0.9173 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/1.374, allocations: 0.8526 MB / 0.9181 GB, free: 198.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002862/1.374, allocations: 119.2 kB / 0.9182 GB, free: 198.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/1.374, allocations: 35.44 kB / 0.9183 GB, free: 198.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/1.374, allocations: 0 / 0.9183 GB, free: 198.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.112/1.486, allocations: 122.2 MB / 1.038 GB, free: 76.11 MB / 0.6075 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 480]