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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002509, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002442, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8894/0.8894, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07243/0.9619, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04591/0.04591, allocations: 11.72 MB / 255.7 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0051/0.05101, allocations: 3.08 MB / 258.8 MB, free: 0.8242 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 260.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.317e-06/1.064e-05, allocations: 2.312 kB / 260.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.1392/0.1392, allocations: 62.52 MB / 322.6 MB, free: 4.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03132/0.1706, allocations: 48.49 MB / 371.1 MB, free: 4.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.1709, allocations: 15.88 kB / 371.1 MB, free: 4.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.1716, allocations: 429.8 kB / 371.5 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000945/0.1726, allocations: 0.9056 MB / 372.4 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03709/0.2097, allocations: 23.12 MB / 395.6 MB, free: 11.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001654/0.2113, allocations: 2.06 MB / 397.6 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.2115, allocations: 143 kB / 397.8 MB, free: 9.492 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009026/0.2124, allocations: 1.146 MB / 398.9 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.2129, allocations: 471.8 kB / 399.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.2129, allocations: 64 kB / 399.4 MB, free: 7.82 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02558/0.2385, allocations: 18.08 MB / 417.5 MB, free: 5.715 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.2387, allocations: 147.5 kB / 417.7 MB, free: 5.57 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.2392, allocations: 267.6 kB / 417.9 MB, free: 5.309 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1301/0.3693, allocations: 7.267 MB / 425.2 MB, free: 69.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.536e-05/0.3693, allocations: 0 / 425.2 MB, free: 69.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3693, allocations: 1.219 kB / 425.2 MB, free: 69.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.3694, allocations: 0 / 425.2 MB, free: 69.68 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.003633/0.373, allocations: 2.726 MB / 427.9 MB, free: 68.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.373, allocations: 12.53 kB / 427.9 MB, free: 68.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000298/0.3733, allocations: 136.8 kB / 428.1 MB, free: 68.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.3736, allocations: 289.3 kB / 428.3 MB, free: 68.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.3737, allocations: 36.41 kB / 428.4 MB, free: 68.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.3737, allocations: 54.78 kB / 428.4 MB, free: 68.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007479/0.3745, allocations: 0.7498 MB / 429.2 MB, free: 68.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3745, allocations: 5.312 kB / 429.2 MB, free: 68.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.3745, allocations: 21.31 kB / 429.2 MB, free: 68.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.3745, allocations: 19.25 kB / 429.2 MB, free: 68.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.3751, allocations: 336.9 kB / 429.5 MB, free: 67.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.3764, allocations: 1.684 MB / 431.2 MB, free: 67.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.377, allocations: 436.2 kB / 431.7 MB, free: 67.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.3771, allocations: 132.4 kB / 431.8 MB, free: 67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07465/0.4518, allocations: 70.86 MB / 0.4909 GB, free: 32.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.4518, allocations: 41.84 kB / 0.4909 GB, free: 32.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=113): time 2.705e-06/0.4518, allocations: 0 / 0.4909 GB, free: 32.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=121): time 0.004254/0.4561, allocations: 2.343 MB / 0.4932 GB, free: 30.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.748e-05/0.4561, allocations: 59.41 kB / 0.4932 GB, free: 30.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.4562, allocations: 261.9 kB / 0.4935 GB, free: 30.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.4562, allocations: 36.95 kB / 0.4935 GB, free: 30.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.4563, allocations: 225 kB / 0.4937 GB, free: 29.96 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4564, allocations: 412.5 kB / 0.4941 GB, free: 29.61 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.4565, allocations: 167.5 kB / 0.4943 GB, free: 29.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.4566, allocations: 378.1 kB / 0.4947 GB, free: 29.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.4567, allocations: 134.8 kB / 0.4948 GB, free: 29.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.4568, allocations: 283.5 kB / 0.4951 GB, free: 28.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.4571, allocations: 0.5063 MB / 0.4956 GB, free: 28.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4571, allocations: 4 kB / 0.4956 GB, free: 28.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0005432/0.4577, allocations: 0.6181 MB / 0.4962 GB, free: 27.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4577, allocations: 11.19 kB / 0.4962 GB, free: 27.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4577, allocations: 4 kB / 0.4962 GB, free: 27.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003044/0.458, allocations: 162 kB / 0.4963 GB, free: 27.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.4592, allocations: 473.3 kB / 0.4968 GB, free: 27.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003738/0.463, allocations: 9.923 MB / 0.5065 GB, free: 16.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.4632, allocations: 16 kB / 0.5065 GB, free: 16.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.4632, allocations: 33.36 kB / 0.5065 GB, free: 16.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.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 (77): * Single equations (assignments): 66 * 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.0001224/0.4633, allocations: 168.5 kB / 0.5067 GB, free: 16.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.4634, allocations: 55.94 kB / 0.5067 GB, free: 16.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.4658, allocations: 5.135 MB / 0.5118 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001167/0.4669, allocations: 2.544 MB / 0.5142 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.4669, allocations: 0 / 0.5142 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.4681, allocations: 2.751 MB / 0.5169 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.4701, allocations: 3.256 MB / 0.5201 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4701, allocations: 0 / 0.5201 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007707/0.4709, allocations: 318.5 kB / 0.5204 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.471, allocations: 130.8 kB / 0.5205 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001674/0.4711, allocations: 73.61 kB / 0.5206 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.4712, allocations: 19 kB / 0.5206 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008931/0.4721, allocations: 3.512 MB / 0.524 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4721, allocations: 0 / 0.524 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.474, allocations: 2.526 MB / 0.5265 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.474, allocations: 20.11 kB / 0.5265 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.4742, allocations: 23.72 kB / 0.5266 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.4742, allocations: 60.83 kB / 0.5266 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.4743, allocations: 25.36 kB / 0.5266 GB, free: 12.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.033e-05/0.4743, allocations: 106.3 kB / 0.5267 GB, free: 12.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-08/0.4743, allocations: 0 / 0.5267 GB, free: 12.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002779/0.4771, allocations: 1.305 MB / 0.528 GB, free: 11.15 MB / 410.7 MB 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: 18 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse9.phase,$cse11.sat.vap.phase,$cse11.sat.liq.phase,$cse13.phase,$cse14.phase,$cse15.phase,$cse17.sat.vap.phase,$cse17.sat.liq.phase,volume.medium.state.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 (83): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00294/0.4801, allocations: 2.246 MB / 0.5302 GB, free: 9.105 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.4813, allocations: 1.669 MB / 0.5318 GB, free: 7.473 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/0.4813, allocations: 10.81 kB / 0.5318 GB, free: 7.465 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007162/0.4821, allocations: 0.9762 MB / 0.5328 GB, free: 6.488 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.4832, allocations: 0.6091 MB / 0.5334 GB, free: 5.914 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009612/0.4928, allocations: 2.534 MB / 0.5359 GB, free: 3.387 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.493, allocations: 311.9 kB / 0.5362 GB, free: 3.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003898/0.4934, allocations: 249.4 kB / 0.5364 GB, free: 2.828 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005565/0.494, allocations: 371 kB / 0.5368 GB, free: 2.457 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.494, allocations: 0 / 0.5368 GB, free: 2.457 MB / 410.7 MB Notification: Performance of Templates: time 0.1533/0.6473, allocations: 54.49 MB / 0.59 GB, free: 116.1 MB / 442.7 MB " [Timeout remaining time 659] 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.643504965119064]