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.0006584/0.0006584, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001214/0.001873, allocations: 440 kB / 10.41 MB, free: 284 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.0006682/0.0006682, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009082/0.001576, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.04/1.04, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1194/1.16, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.04621/0.04621, allocations: 11.72 MB / 255.9 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007264/0.05347, allocations: 3.095 MB / 259 MB, free: 0.6953 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.453e-06/1.453e-06, allocations: 0 / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.585e-05, allocations: 2.312 kB / 260.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.1977/0.1977, allocations: 61.78 MB / 322.1 MB, free: 5.445 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04024/0.238, allocations: 48.38 MB / 370.5 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004254/0.2384, allocations: 15.94 kB / 370.5 MB, free: 4.918 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.2395, allocations: 442.5 kB / 370.9 MB, free: 4.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.2405, allocations: 0.5865 MB / 371.5 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05357/0.2941, allocations: 21.31 MB / 392.8 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.2959, allocations: 1.386 MB / 394.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.2962, allocations: 97.67 kB / 394.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006427/0.3026, allocations: 5.567 MB / 399.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.3031, allocations: 342.9 kB / 400.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.088e-05/0.3031, allocations: 40 kB / 400.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03495/0.3381, allocations: 17.78 MB / 418 MB, free: 5.25 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.3383, allocations: 103.6 kB / 418.1 MB, free: 5.148 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.3388, allocations: 195.8 kB / 418.3 MB, free: 4.957 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1934/0.5322, allocations: 7.141 MB / 425.4 MB, free: 68.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.927e-05/0.5322, allocations: 1.438 kB / 425.4 MB, free: 68.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5322, allocations: 0 / 425.4 MB, free: 68.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.896e-05/0.5322, allocations: 0 / 425.4 MB, free: 68.73 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.005149/0.5374, allocations: 2.5 MB / 427.9 MB, free: 67.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.5374, allocations: 10.25 kB / 428 MB, free: 67.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.5377, allocations: 92.73 kB / 428 MB, free: 67.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.5381, allocations: 253.5 kB / 428.3 MB, free: 67.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.5381, allocations: 26.47 kB / 428.3 MB, free: 67.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.5382, allocations: 38.41 kB / 428.4 MB, free: 67.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.5388, allocations: 0.5579 MB / 428.9 MB, free: 67.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.5389, allocations: 5.219 kB / 428.9 MB, free: 67.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.5389, allocations: 18.67 kB / 428.9 MB, free: 67.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.5389, allocations: 15.38 kB / 429 MB, free: 67.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.5393, allocations: 243.4 kB / 429.2 MB, free: 67.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/0.5707, allocations: 25.1 MB / 454.3 MB, free: 65.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/0.5712, allocations: 292.9 kB / 454.6 MB, free: 65.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.5713, allocations: 93.7 kB / 454.7 MB, free: 65.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07728/0.6486, allocations: 71.45 MB / 0.5138 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.6486, allocations: 38.56 kB / 0.5138 GB, free: 9.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.996e-06/0.6486, allocations: 0 / 0.5138 GB, free: 9.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=84): time 0.003028/0.6516, allocations: 1.499 MB / 0.5153 GB, free: 7.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/0.6517, allocations: 59.41 kB / 0.5153 GB, free: 7.535 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.6518, allocations: 222.2 kB / 0.5156 GB, free: 7.332 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.6518, allocations: 33.7 kB / 0.5156 GB, free: 7.293 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.6519, allocations: 187.5 kB / 0.5158 GB, free: 7.113 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.564e-05/0.6519, allocations: 286.1 kB / 0.516 GB, free: 6.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.152e-05/0.652, allocations: 113.8 kB / 0.5162 GB, free: 6.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.6521, allocations: 352.8 kB / 0.5165 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.6522, allocations: 94.92 kB / 0.5166 GB, free: 6.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.6523, allocations: 220 kB / 0.5168 GB, free: 6.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.6525, allocations: 390.8 kB / 0.5172 GB, free: 5.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6525, allocations: 4 kB / 0.5172 GB, free: 5.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004012/0.6529, allocations: 443.2 kB / 0.5176 GB, free: 5.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6529, allocations: 8.5 kB / 0.5176 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.6529, allocations: 8 kB / 0.5176 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.6532, allocations: 89.16 kB / 0.5177 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008201/0.654, allocations: 260.9 kB / 0.5179 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.6566, allocations: 5.579 MB / 0.5234 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.6568, allocations: 12 kB / 0.5234 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.6569, allocations: 19.98 kB / 0.5234 GB, free: 15.19 MB / 410.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 0.0001661/0.657, allocations: 153.5 kB / 0.5236 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.6571, allocations: 40.8 kB / 0.5236 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.6591, allocations: 3.139 MB / 0.5267 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008664/0.66, allocations: 1.348 MB / 0.528 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.66, allocations: 4 kB / 0.528 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009265/0.6609, allocations: 1.638 MB / 0.5296 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.6627, allocations: 1.904 MB / 0.5314 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.6627, allocations: 0 / 0.5314 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.6633, allocations: 187.9 kB / 0.5316 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.6634, allocations: 79.3 kB / 0.5317 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.6635, allocations: 32.81 kB / 0.5317 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.6635, allocations: 15.98 kB / 0.5317 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007471/0.6643, allocations: 1.769 MB / 0.5335 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6643, allocations: 0 / 0.5335 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.6653, allocations: 1.434 MB / 0.5349 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.6654, allocations: 22.14 kB / 0.5349 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.6655, allocations: 12 kB / 0.5349 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.6656, allocations: 40.58 kB / 0.5349 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.6656, allocations: 15.98 kB / 0.535 GB, free: 3.676 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.991e-05/0.6657, allocations: 98.67 kB / 0.5351 GB, free: 3.586 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6657, allocations: 0 / 0.5351 GB, free: 3.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003663/0.6694, allocations: 1.254 MB / 0.5363 GB, free: 2.332 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.005734/0.6751, allocations: 2.272 MB / 0.5385 GB, free: 272 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.6762, allocations: 0.9606 MB / 0.5394 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/0.6762, allocations: 5.5 kB / 0.5394 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004774/0.6767, allocations: 0.5683 MB / 0.54 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.6781, allocations: 1.536 MB / 0.5415 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006945/0.685, allocations: 1.565 MB / 0.543 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.6852, allocations: 206 kB / 0.5432 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003677/0.6855, allocations: 185 kB / 0.5434 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/0.686, allocations: 273.1 kB / 0.5437 GB, free: 10.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.864e-06/0.686, allocations: 4 kB / 0.5437 GB, free: 10.78 MB / 426.7 MB Notification: Performance of Templates: time 0.1845/0.8705, allocations: 46.66 MB / 0.5892 GB, free: 114.9 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.520004108548164]