Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.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.0007822/0.0007822, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001819, 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.0007826/0.0007826, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001802, 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.8963/0.8963, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07667/0.9729, allocations: 53.66 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.05346/0.05346, allocations: 11.71 MB / 255.7 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00524/0.0587, allocations: 3.092 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.PropyleneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 260.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.757e-05, allocations: 9.484 kB / 260.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel): time 0.1473/0.1473, allocations: 61.98 MB / 322.1 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03128/0.1786, allocations: 48.77 MB / 370.8 MB, free: 4.539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.1788, allocations: 7.938 kB / 370.8 MB, free: 4.531 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007743/0.1796, allocations: 482.5 kB / 371.3 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000675/0.1803, allocations: 0.6685 MB / 372 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03497/0.2152, allocations: 23.87 MB / 395.9 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.2163, allocations: 1.503 MB / 397.4 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.2164, allocations: 93.69 kB / 397.4 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/0.2204, allocations: 4.278 MB / 401.7 MB, free: 5.547 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.2207, allocations: 331 kB / 402 MB, free: 5.223 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.2207, allocations: 44 kB / 402.1 MB, free: 5.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02039/0.2411, allocations: 18.35 MB / 420.4 MB, free: 2.809 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.2412, allocations: 103.6 kB / 420.5 MB, free: 2.707 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.2414, allocations: 191.8 kB / 420.7 MB, free: 2.52 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1391/0.3804, allocations: 7.108 MB / 427.8 MB, free: 50.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.877e-05/0.3805, allocations: 0 / 427.8 MB, free: 50.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3805, allocations: 0 / 427.8 MB, free: 50.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.3805, allocations: 1.156 kB / 427.8 MB, free: 50.81 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.004572/0.3851, allocations: 2.506 MB / 430.3 MB, free: 49.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3851, allocations: 12.34 kB / 430.4 MB, free: 49.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.3854, allocations: 92.97 kB / 430.4 MB, free: 49.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.3857, allocations: 245.5 kB / 430.7 MB, free: 49.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.3857, allocations: 26.78 kB / 430.7 MB, free: 49.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.3858, allocations: 37.06 kB / 430.7 MB, free: 49.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006939/0.3865, allocations: 0.5559 MB / 431.3 MB, free: 49.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3865, allocations: 1 kB / 431.3 MB, free: 49.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.3865, allocations: 19.06 kB / 431.3 MB, free: 49.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.3865, allocations: 17.61 kB / 431.3 MB, free: 49.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.387, allocations: 248.3 kB / 431.6 MB, free: 49.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.3882, allocations: 1.249 MB / 432.8 MB, free: 48.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.3886, allocations: 301.8 kB / 433.1 MB, free: 48.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.966e-05/0.3887, allocations: 92.81 kB / 433.2 MB, free: 48.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08804/0.4767, allocations: 70.86 MB / 0.4923 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.4768, allocations: 38.44 kB / 0.4923 GB, free: 15.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 4.919e-06/0.4768, allocations: 1.531 kB / 0.4923 GB, free: 15.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=85): time 0.006731/0.4835, allocations: 1.481 MB / 0.4937 GB, free: 14.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.4835, allocations: 61.11 kB / 0.4938 GB, free: 14.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.4837, allocations: 218.9 kB / 0.494 GB, free: 14.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4837, allocations: 33.52 kB / 0.494 GB, free: 14.21 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.4837, allocations: 184 kB / 0.4942 GB, free: 14.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.4838, allocations: 286 kB / 0.4945 GB, free: 13.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.484, allocations: 115.5 kB / 0.4946 GB, free: 13.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.484, allocations: 358.8 kB / 0.4949 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.4841, allocations: 96.11 kB / 0.495 GB, free: 13.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.4842, allocations: 191.9 kB / 0.4952 GB, free: 13.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.4845, allocations: 364.3 kB / 0.4956 GB, free: 12.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.4845, allocations: 2.062 kB / 0.4956 GB, free: 12.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003527/0.488, allocations: 423.1 kB / 0.496 GB, free: 12.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4881, allocations: 4.375 kB / 0.496 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4881, allocations: 9.688 kB / 0.496 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.4883, allocations: 91.83 kB / 0.4961 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4894, allocations: 258.3 kB / 0.4963 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/0.4952, allocations: 5.541 MB / 0.5017 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.4955, allocations: 19.23 kB / 0.5017 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.4955, allocations: 15.38 kB / 0.5018 GB, free: 6.477 MB / 394.7 MB 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 (51): * Single equations (assignments): 44 * 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, 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.0001601/0.4957, allocations: 162.3 kB / 0.5019 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.064e-05/0.4958, allocations: 31.78 kB / 0.5019 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004922/0.5007, allocations: 3.193 MB / 0.5051 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008172/0.5015, allocations: 1.39 MB / 0.5064 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5015, allocations: 3.938 kB / 0.5064 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008542/0.5024, allocations: 1.687 MB / 0.5081 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004997/0.5074, allocations: 1.944 MB / 0.51 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5074, allocations: 4 kB / 0.51 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.5081, allocations: 188.8 kB / 0.5102 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.743e-05/0.5082, allocations: 75.33 kB / 0.5102 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001484/0.5083, allocations: 40.7 kB / 0.5103 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.5084, allocations: 12.56 kB / 0.5103 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003873/0.5122, allocations: 1.766 MB / 0.512 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5122, allocations: 1.562 kB / 0.512 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.5136, allocations: 1.45 MB / 0.5134 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.5136, allocations: 15.06 kB / 0.5134 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001776/0.5138, allocations: 15.36 kB / 0.5135 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.5139, allocations: 40.36 kB / 0.5135 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.5139, allocations: 11.88 kB / 0.5135 GB, free: 11.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.9e-05/0.514, allocations: 91.17 kB / 0.5136 GB, free: 11.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.514, allocations: 0 / 0.5136 GB, free: 11.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009732/0.5237, allocations: 1.242 MB / 0.5148 GB, free: 9.973 MB / 410.7 MB 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: 12 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse5.phase,$cse6.phase,$cse7.phase,$cse9.sat.vap.phase,$cse9.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008016/0.5317, allocations: 2.233 MB / 0.517 GB, free: 7.996 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004196/0.5359, allocations: 0.9542 MB / 0.5179 GB, free: 7.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.58e-05/0.536, allocations: 11.94 kB / 0.5179 GB, free: 7.066 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005786/0.5365, allocations: 0.5683 MB / 0.5185 GB, free: 6.527 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00427/0.5408, allocations: 444.1 kB / 0.5189 GB, free: 6.168 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.5521, allocations: 1.578 MB / 0.5204 GB, free: 4.719 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.5523, allocations: 206.7 kB / 0.5206 GB, free: 4.496 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004914/0.5528, allocations: 173.3 kB / 0.5208 GB, free: 4.332 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005481/0.5534, allocations: 278.1 kB / 0.5211 GB, free: 4.066 MB / 410.7 MB Notification: Performance of SimCode: time 1.944e-06/0.5534, allocations: 0 / 0.5211 GB, free: 4.066 MB / 410.7 MB Notification: Performance of Templates: time 0.0471/0.6005, allocations: 44.72 MB / 0.5647 GB, free: 8.551 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropyleneTestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.2326857736334205]