Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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.0009549/0.0009549, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002309, 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.001028/0.001028, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002383, 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.032/1.032, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1074/1.14, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.04684/0.04684, allocations: 11.72 MB / 255.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007755/0.05459, allocations: 3.092 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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 260.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.411e-05, allocations: 9.406 kB / 260.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.2042/0.2043, allocations: 61.76 MB / 322.1 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03825/0.2425, allocations: 48.39 MB / 370.5 MB, free: 4.938 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.2429, allocations: 7.938 kB / 370.5 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.2439, allocations: 438.5 kB / 370.9 MB, free: 4.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009156/0.2448, allocations: 0.5905 MB / 371.5 MB, free: 3.906 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.05199/0.2968, allocations: 21.31 MB / 392.8 MB, free: 14.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001561/0.2984, allocations: 1.402 MB / 394.2 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.2986, allocations: 97.69 kB / 394.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006547/0.3051, allocations: 5.563 MB / 399.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.3055, allocations: 341.5 kB / 400.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.3056, allocations: 40 kB / 400.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03156/0.3371, allocations: 17.91 MB / 418.1 MB, free: 5.129 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.3374, allocations: 107.7 kB / 418.2 MB, free: 5.023 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004909/0.3378, allocations: 191.7 kB / 418.4 MB, free: 4.836 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1812/0.519, allocations: 7.193 MB / 425.6 MB, free: 67.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.685e-05/0.519, allocations: 0.6094 kB / 425.6 MB, free: 67.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.519, allocations: 0 / 425.6 MB, free: 67.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.5191, allocations: 0 / 425.6 MB, free: 67.11 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.004843/0.5239, allocations: 2.53 MB / 428.2 MB, free: 66.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.5239, allocations: 8.406 kB / 428.2 MB, free: 66.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.5242, allocations: 85.92 kB / 428.3 MB, free: 66.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.5245, allocations: 249 kB / 428.5 MB, free: 65.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.5246, allocations: 26 kB / 428.5 MB, free: 65.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.692e-05/0.5246, allocations: 43 kB / 428.6 MB, free: 65.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.5253, allocations: 0.5554 MB / 429.1 MB, free: 65.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.5253, allocations: 4.953 kB / 429.1 MB, free: 65.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.5253, allocations: 14.47 kB / 429.1 MB, free: 65.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.5253, allocations: 18 kB / 429.2 MB, free: 65.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.5258, allocations: 245.2 kB / 429.4 MB, free: 65.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.527, allocations: 1.279 MB / 430.7 MB, free: 64.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.5274, allocations: 290.3 kB / 431 MB, free: 64.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.5275, allocations: 93.34 kB / 431 MB, free: 64.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03549/0.563, allocations: 30.47 MB / 461.5 MB, free: 63.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.5631, allocations: 36.94 kB / 461.6 MB, free: 63.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 3.076e-06/0.5631, allocations: 4 kB / 461.6 MB, free: 63.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=86): time 0.005048/0.5681, allocations: 1.969 MB / 463.5 MB, free: 62.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.5681, allocations: 55.41 kB / 463.6 MB, free: 62.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.5683, allocations: 214.3 kB / 463.8 MB, free: 61.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.5683, allocations: 29.58 kB / 463.8 MB, free: 61.81 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.5684, allocations: 184.3 kB / 464 MB, free: 61.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.5685, allocations: 300.5 kB / 464.3 MB, free: 61.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.5686, allocations: 121 kB / 464.4 MB, free: 61.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.5687, allocations: 355.4 kB / 464.8 MB, free: 61.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.5688, allocations: 105.5 kB / 464.9 MB, free: 60.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.5689, allocations: 221.4 kB / 465.1 MB, free: 60.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.5692, allocations: 401.4 kB / 465.5 MB, free: 60.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5692, allocations: 2.562 kB / 465.5 MB, free: 60.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005385/0.5697, allocations: 490.9 kB / 465.9 MB, free: 60.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5698, allocations: 8 kB / 466 MB, free: 60.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.5698, allocations: 0 / 466 MB, free: 60.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003274/0.5701, allocations: 149.6 kB / 466.1 MB, free: 59.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.5706, allocations: 158.2 kB / 466.3 MB, free: 59.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.5751, allocations: 6.02 MB / 472.3 MB, free: 54.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/0.5757, allocations: 13.06 kB / 472.3 MB, free: 54.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.5757, allocations: 23.78 kB / 472.3 MB, free: 54.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.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,ambient.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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003174/0.576, allocations: 142.7 kB / 472.5 MB, free: 54.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.482e-05/0.5761, allocations: 40.44 kB / 472.5 MB, free: 54.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003019/0.5791, allocations: 3.921 MB / 476.4 MB, free: 51.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009846/0.5801, allocations: 1.668 MB / 478.1 MB, free: 50.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5801, allocations: 1.875 kB / 478.1 MB, free: 50.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009899/0.5811, allocations: 1.958 MB / 480 MB, free: 48.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.583, allocations: 2.409 MB / 482.5 MB, free: 46.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.583, allocations: 0 / 482.5 MB, free: 46.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.5835, allocations: 171 kB / 482.6 MB, free: 45.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.446e-05/0.5836, allocations: 71.33 kB / 482.7 MB, free: 45.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.5837, allocations: 54.8 kB / 482.7 MB, free: 45.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.5838, allocations: 18.56 kB / 482.8 MB, free: 45.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005932/0.5844, allocations: 1.81 MB / 484.6 MB, free: 44.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5844, allocations: 0 / 484.6 MB, free: 44.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.5855, allocations: 1.818 MB / 486.4 MB, free: 42.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.5855, allocations: 14 kB / 486.4 MB, free: 42.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5856, allocations: 14.81 kB / 486.4 MB, free: 42.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.5857, allocations: 45.84 kB / 486.5 MB, free: 42.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.5857, allocations: 11.77 kB / 486.5 MB, free: 42.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.935e-05/0.5858, allocations: 89.84 kB / 486.6 MB, free: 42.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5858, allocations: 0 / 486.6 MB, free: 42.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003375/0.5892, allocations: 1.251 MB / 487.8 MB, free: 41.08 MB / 394.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.T) * Number of discrete variables: 12 (volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,$cse7.phase,$cse8.phase,$cse9.phase,$cse11.sat.vap.phase,$cse11.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 (61): * Single equations (assignments): 54 * 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 {(2,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.003269/0.5924, allocations: 2.288 MB / 490.1 MB, free: 39.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008581/0.5933, allocations: 1.137 MB / 491.2 MB, free: 37.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/0.5933, allocations: 11.83 kB / 491.2 MB, free: 37.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.5937, allocations: 0.7185 MB / 492 MB, free: 37.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009736/0.5947, allocations: 1.492 MB / 493.5 MB, free: 35.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006887/0.6016, allocations: 1.677 MB / 495.1 MB, free: 34.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.6017, allocations: 206.1 kB / 495.3 MB, free: 33.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003292/0.6021, allocations: 194.8 kB / 495.5 MB, free: 33.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000399/0.6025, allocations: 280.6 kB / 495.8 MB, free: 33.42 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6025, allocations: 3.391 kB / 495.8 MB, free: 33.42 MB / 394.7 MB Notification: Performance of Templates: time 0.04651/0.649, allocations: 50.08 MB / 0.5331 GB, free: 0.8008 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.288557856343687]