Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.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.001135/0.001135, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001652/0.002787, 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.001207/0.001207, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001506/0.002713, 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.9454/0.9454, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07579/1.021, 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.04504/0.04504, allocations: 11.71 MB / 255.7 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004326/0.04936, allocations: 3.085 MB / 258.8 MB, free: 0.8164 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.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 260.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085e-05/1.228e-05, allocations: 2.312 kB / 260.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.1438/0.1438, allocations: 61.73 MB / 321.8 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03185/0.1757, allocations: 48.38 MB / 370.2 MB, free: 5.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002501/0.1759, allocations: 15.88 kB / 370.2 MB, free: 5.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008123/0.1767, allocations: 438.6 kB / 370.6 MB, free: 4.742 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008022/0.1775, allocations: 0.5904 MB / 371.2 MB, free: 4.148 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03794/0.2155, allocations: 21.29 MB / 392.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.2167, allocations: 1.386 MB / 393.9 MB, free: 13.38 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.2168, allocations: 93.69 kB / 394 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00453/0.2214, allocations: 4.943 MB / 398.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.2217, allocations: 335 kB / 399.3 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.2217, allocations: 43.94 kB / 399.3 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02482/0.2465, allocations: 17.7 MB / 417 MB, free: 6.234 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.2467, allocations: 103.6 kB / 417.1 MB, free: 6.133 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003146/0.247, allocations: 199.7 kB / 417.3 MB, free: 5.938 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1302/0.3772, allocations: 7.136 MB / 424.5 MB, free: 72.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.775e-05/0.3772, allocations: 1.062 kB / 424.5 MB, free: 72.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3772, allocations: 0 / 424.5 MB, free: 72.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.3772, allocations: 0 / 424.5 MB, free: 72.04 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.003824/0.381, allocations: 2.506 MB / 427 MB, free: 71.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3811, allocations: 9.281 kB / 427 MB, free: 71.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.3814, allocations: 95.48 kB / 427.1 MB, free: 71.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.3817, allocations: 250.7 kB / 427.3 MB, free: 70.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.3818, allocations: 27.34 kB / 427.3 MB, free: 70.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.3818, allocations: 33.78 kB / 427.4 MB, free: 70.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.3824, allocations: 0.5606 MB / 427.9 MB, free: 70.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3824, allocations: 1.344 kB / 427.9 MB, free: 70.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.3825, allocations: 17.53 kB / 427.9 MB, free: 70.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.3825, allocations: 21 kB / 428 MB, free: 70.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003766/0.3829, allocations: 242.1 kB / 428.2 MB, free: 70.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02741/0.4103, allocations: 25.07 MB / 453.3 MB, free: 68.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.4106, allocations: 299.5 kB / 453.6 MB, free: 68.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.4107, allocations: 90.95 kB / 453.7 MB, free: 68.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07147/0.4822, allocations: 71.36 MB / 0.5127 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.4822, allocations: 38.56 kB / 0.5127 GB, free: 12.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.745e-06/0.4822, allocations: 0 / 0.5127 GB, free: 12.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=84): time 0.002723/0.4849, allocations: 1.49 MB / 0.5142 GB, free: 11.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.537e-05/0.485, allocations: 55.41 kB / 0.5143 GB, free: 10.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.4851, allocations: 225.6 kB / 0.5145 GB, free: 10.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.4851, allocations: 31.34 kB / 0.5145 GB, free: 10.74 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.4851, allocations: 188.4 kB / 0.5147 GB, free: 10.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.4852, allocations: 284.8 kB / 0.515 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.4853, allocations: 111 kB / 0.5151 GB, free: 10.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.78e-05/0.4853, allocations: 357.1 kB / 0.5154 GB, free: 9.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.4854, allocations: 88.3 kB / 0.5155 GB, free: 9.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-05/0.4855, allocations: 227.1 kB / 0.5157 GB, free: 9.523 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.4857, allocations: 386 kB / 0.5161 GB, free: 9.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4857, allocations: 3.562 kB / 0.5161 GB, free: 9.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0003707/0.4861, allocations: 435.5 kB / 0.5165 GB, free: 8.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4861, allocations: 11.38 kB / 0.5165 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4861, allocations: 4 kB / 0.5165 GB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/0.4863, allocations: 85.64 kB / 0.5166 GB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007066/0.487, allocations: 266 kB / 0.5168 GB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.4891, allocations: 5.575 MB / 0.5223 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.4892, allocations: 13.88 kB / 0.5223 GB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.4893, allocations: 24.02 kB / 0.5223 GB, free: 2.648 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: 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 9.408e-05/0.4893, allocations: 144.1 kB / 0.5225 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.4894, allocations: 37.28 kB / 0.5225 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.4909, allocations: 3.147 MB / 0.5256 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008103/0.4917, allocations: 1.346 MB / 0.5269 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.4917, allocations: 0 / 0.5269 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008742/0.4926, allocations: 1.637 MB / 0.5285 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.4941, allocations: 1.914 MB / 0.5303 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4941, allocations: 0 / 0.5303 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004728/0.4946, allocations: 185.4 kB / 0.5305 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.4946, allocations: 75.31 kB / 0.5306 GB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.4948, allocations: 40.72 kB / 0.5306 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.4948, allocations: 21.55 kB / 0.5307 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006126/0.4954, allocations: 1.748 MB / 0.5324 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4954, allocations: 4 kB / 0.5324 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009773/0.4964, allocations: 1.435 MB / 0.5338 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.4964, allocations: 15.95 kB / 0.5338 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.4965, allocations: 12 kB / 0.5338 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/0.4966, allocations: 41.98 kB / 0.5338 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.4966, allocations: 15.98 kB / 0.5338 GB, free: 7.148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.934e-05/0.4967, allocations: 98.28 kB / 0.5339 GB, free: 7.059 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4967, allocations: 0 / 0.5339 GB, free: 7.059 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002406/0.4991, allocations: 1.244 MB / 0.5352 GB, free: 5.812 MB / 410.7 MB 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: 11 (volume.medium.sat.liq.phase,volume.medium.sat.vap.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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002732/0.5018, allocations: 2.274 MB / 0.5374 GB, free: 3.742 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007644/0.5026, allocations: 0.9543 MB / 0.5383 GB, free: 2.812 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/0.5026, allocations: 12 kB / 0.5383 GB, free: 2.801 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.5029, allocations: 0.5316 MB / 0.5388 GB, free: 2.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.5038, allocations: 449.7 kB / 0.5393 GB, free: 1.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007054/0.5108, allocations: 1.577 MB / 0.5408 GB, free: 292 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.5109, allocations: 202 kB / 0.541 GB, free: 68 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.5112, allocations: 187.1 kB / 0.5412 GB, free: 15.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.5116, allocations: 280.9 kB / 0.5414 GB, free: 15.61 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5116, allocations: 4 kB / 0.5414 GB, free: 15.61 MB / 426.7 MB Notification: Performance of Templates: time 0.1479/0.6596, allocations: 46.59 MB / 0.587 GB, free: 114.2 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.336102181114256]