Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 207.6 MB / 231.4 MB, free: 3.102 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05109/0.05109, allocations: 9.147 MB / 292.6 MB, free: 6.051 MB / 238.1 MB " [Timeout remaining time 180] 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.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") [Timeout 660] "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.002132/0.002132, allocations: 75.88 kB / 409.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3256, allocations: 50.72 MB / 459.9 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.5622/0.8878, allocations: 197.1 MB / 0.6416 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.1351/1.023, allocations: 142.1 MB / 0.7803 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009419/1.024, allocations: 11.94 kB / 0.7803 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003666/1.028, allocations: 1.619 MB / 0.7819 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004021/1.032, allocations: 1.903 MB / 0.7838 GB, free: 10.12 MB / 0.545 GB [/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.1168/1.148, allocations: 40.6 MB / 0.8234 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00343/1.152, allocations: 1.931 MB / 0.8253 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/1.152, allocations: 142.7 kB / 0.8254 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/1.154, allocations: 0.8367 MB / 0.8263 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/1.155, allocations: 0.5525 MB / 0.8268 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/1.155, allocations: 60 kB / 0.8269 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4194/1.575, allocations: 44.8 MB / 0.8706 GB, free: 36.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003587/1.575, allocations: 174.9 kB / 0.8708 GB, free: 36.9 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007846/1.576, allocations: 427 kB / 0.8712 GB, free: 36.9 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.05806/1.634, allocations: 18.86 MB / 0.8896 GB, free: 36.31 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.634, allocations: 3.594 kB / 0.8896 GB, free: 36.31 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/1.634, allocations: 2.812 kB / 0.8896 GB, free: 36.31 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.634, allocations: 1.938 kB / 0.8896 GB, free: 36.31 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.009174/1.643, allocations: 3.489 MB / 0.893 GB, free: 34.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/1.643, allocations: 10.69 kB / 0.893 GB, free: 34.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008122/1.644, allocations: 124.1 kB / 0.8931 GB, free: 34.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/1.645, allocations: 418.6 kB / 0.8935 GB, free: 34.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/1.645, allocations: 45.31 kB / 0.8936 GB, free: 34.11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/1.645, allocations: 52.11 kB / 0.8936 GB, free: 34.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/1.647, allocations: 0.8176 MB / 0.8944 GB, free: 33.98 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/1.647, allocations: 0.75 kB / 0.8944 GB, free: 33.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/1.647, allocations: 20.44 kB / 0.8945 GB, free: 33.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/1.647, allocations: 25.88 kB / 0.8945 GB, free: 33.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/1.648, allocations: 0.748 MB / 0.8952 GB, free: 33.98 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/1.652, allocations: 3.432 MB / 0.8986 GB, free: 31.71 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/1.654, allocations: 0.6444 MB / 0.8992 GB, free: 31.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007051/1.654, allocations: 437.7 kB / 0.8996 GB, free: 31.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.355/2.009, allocations: 185.3 MB / 1.081 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/2.009, allocations: 42.31 kB / 1.081 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=109): time 3.016e-06/2.009, allocations: 0 / 1.081 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of matching and sorting (n=117): time 0.009771/2.019, allocations: 3.427 MB / 1.084 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/2.019, allocations: 55.97 kB / 1.084 GB, free: 6.09 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003642/2.019, allocations: 308.2 kB / 1.084 GB, free: 5.836 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/2.02, allocations: 33.45 kB / 1.084 GB, free: 5.805 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/2.02, allocations: 248.5 kB / 1.085 GB, free: 5.602 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/2.02, allocations: 396 kB / 1.085 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/2.02, allocations: 136.7 kB / 1.085 GB, free: 5.172 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000176/2.021, allocations: 365.5 kB / 1.085 GB, free: 4.832 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/2.021, allocations: 393.4 kB / 1.086 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000802/2.022, allocations: 0.5398 MB / 1.086 GB, free: 4.191 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/2.024, allocations: 0.9805 MB / 1.087 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/2.024, allocations: 4 kB / 1.087 GB, free: 3.535 MB / 0.7637 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002299/2.026, allocations: 1.132 MB / 1.088 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/2.026, allocations: 11.98 kB / 1.088 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/2.026, allocations: 4 kB / 1.088 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/2.026, allocations: 100.9 kB / 1.089 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/2.027, allocations: 207.9 kB / 1.089 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4674/2.495, allocations: 35.29 MB / 1.123 GB, free: 220.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/2.495, allocations: 37.06 kB / 1.123 GB, free: 220.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/2.496, allocations: 26.38 kB / 1.123 GB, free: 220.2 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003485/2.496, allocations: 220.5 kB / 1.123 GB, free: 220.1 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/2.496, allocations: 66.47 kB / 1.124 GB, free: 220.1 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00298/2.499, allocations: 2.376 MB / 1.126 GB, free: 219.8 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.104e-05/2.499, allocations: 20.17 kB / 1.126 GB, free: 219.8 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/2.499, allocations: 0 / 1.126 GB, free: 219.8 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002091/2.501, allocations: 1.638 MB / 1.127 GB, free: 219.4 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/2.505, allocations: 2.45 MB / 1.13 GB, free: 219 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/2.505, allocations: 2.875 kB / 1.13 GB, free: 219 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/2.505, allocations: 114 kB / 1.13 GB, free: 219 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/2.506, allocations: 214 kB / 1.13 GB, free: 218.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/2.506, allocations: 15.42 kB / 1.13 GB, free: 218.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/2.508, allocations: 3.986 MB / 1.134 GB, free: 215.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/2.508, allocations: 3.75 kB / 1.134 GB, free: 215.2 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/2.51, allocations: 1.961 MB / 1.136 GB, free: 215 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/2.511, allocations: 138.2 kB / 1.136 GB, free: 214.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/2.511, allocations: 11.28 kB / 1.136 GB, free: 214.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000432/2.511, allocations: 42.06 kB / 1.136 GB, free: 214.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/2.511, allocations: 64.59 kB / 1.136 GB, free: 214.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/2.511, allocations: 19.47 kB / 1.136 GB, free: 214.8 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002568/2.512, allocations: 255.6 kB / 1.136 GB, free: 214.7 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/2.512, allocations: 0 / 1.136 GB, free: 214.7 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0169/2.529, allocations: 5.539 MB / 1.142 GB, free: 214.4 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.03176/2.56, allocations: 6.895 MB / 1.149 GB, free: 213 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003199/2.564, allocations: 1.499 MB / 1.15 GB, free: 212.6 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/2.564, allocations: 0 / 1.15 GB, free: 212.6 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/2.565, allocations: 0.7741 MB / 1.151 GB, free: 212.4 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/2.567, allocations: 0.534 MB / 1.151 GB, free: 212.3 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/2.569, allocations: 1.74 MB / 1.153 GB, free: 211.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/2.57, allocations: 0.9391 MB / 1.154 GB, free: 210.9 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005164/2.57, allocations: 186.4 kB / 1.154 GB, free: 210.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/2.57, allocations: 54.48 kB / 1.154 GB, free: 210.8 MB / 0.7637 GB Notification: Performance of SimCode: time 9.51e-07/2.57, allocations: 3.938 kB / 1.154 GB, free: 210.8 MB / 0.7637 GB Notification: Performance of Templates: time 0.4155/2.986, allocations: 203 MB / 1.352 GB, free: 403.4 MB / 0.7637 GB " [Timeout remaining time 657] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 30.640594348311424]