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.001006/0.001006, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001331/0.002336, allocations: 443.8 kB / 10.29 MB, free: 404 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.001037/0.001037, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001299/0.002336, allocations: 475.6 kB / 11.64 MB, free: 2.531 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.8998/0.8998, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07567/0.9755, allocations: 53.67 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.04603/0.04603, allocations: 11.71 MB / 255.6 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004474/0.05051, allocations: 3.084 MB / 258.7 MB, free: 0.8438 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.363e-06/1.363e-06, allocations: 0 / 260 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.237e-05, allocations: 6.25 kB / 260 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.1534/0.1534, allocations: 61.55 MB / 321.6 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03582/0.1892, allocations: 48.21 MB / 369.8 MB, free: 5.578 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003223/0.1895, allocations: 7.938 kB / 369.8 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008658/0.1904, allocations: 442.5 kB / 370.2 MB, free: 5.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008341/0.1912, allocations: 0.5866 MB / 370.8 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04306/0.2343, allocations: 21.29 MB / 392.1 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001275/0.2355, allocations: 1.398 MB / 393.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.2357, allocations: 93.69 kB / 393.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004858/0.2406, allocations: 4.919 MB / 398.5 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.2409, allocations: 327 kB / 398.8 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.2409, allocations: 40 kB / 398.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02757/0.2685, allocations: 17.5 MB / 416.4 MB, free: 6.867 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.2687, allocations: 107.6 kB / 416.5 MB, free: 6.762 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.2691, allocations: 191.8 kB / 416.6 MB, free: 6.574 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.137/0.406, allocations: 7.186 MB / 423.8 MB, free: 72.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.4061, allocations: 0.5312 kB / 423.8 MB, free: 72.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4061, allocations: 4.422 kB / 423.8 MB, free: 72.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.4061, allocations: 0 / 423.8 MB, free: 72.96 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.003266/0.4094, allocations: 2.526 MB / 426.4 MB, free: 72.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.4094, allocations: 9.656 kB / 426.4 MB, free: 72.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00025/0.4096, allocations: 91.81 kB / 426.5 MB, free: 72.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.4099, allocations: 251.8 kB / 426.7 MB, free: 71.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.4099, allocations: 27.78 kB / 426.7 MB, free: 71.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.41, allocations: 36.81 kB / 426.8 MB, free: 71.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.4106, allocations: 0.5554 MB / 427.3 MB, free: 71.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4106, allocations: 2.031 kB / 427.3 MB, free: 71.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.4106, allocations: 18.69 kB / 427.3 MB, free: 71.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.4106, allocations: 19.22 kB / 427.4 MB, free: 71.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000375/0.411, allocations: 243.2 kB / 427.6 MB, free: 71.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.4121, allocations: 1.274 MB / 428.9 MB, free: 70.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.4125, allocations: 300.1 kB / 429.2 MB, free: 70.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.4126, allocations: 89.88 kB / 429.3 MB, free: 70.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03294/0.4455, allocations: 30.43 MB / 459.7 MB, free: 69.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.4456, allocations: 38.19 kB / 459.7 MB, free: 69.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 2.274e-06/0.4456, allocations: 0 / 459.7 MB, free: 69.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=86): time 0.00456/0.4501, allocations: 1.944 MB / 461.7 MB, free: 68.44 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.526e-05/0.4501, allocations: 55.41 kB / 461.7 MB, free: 68.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4503, allocations: 215.5 kB / 461.9 MB, free: 68.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.4503, allocations: 32.38 kB / 462 MB, free: 68.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.4503, allocations: 182.3 kB / 462.1 MB, free: 68.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/0.4504, allocations: 292.6 kB / 462.4 MB, free: 67.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.744e-05/0.4505, allocations: 125.7 kB / 462.6 MB, free: 67.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.345e-05/0.4505, allocations: 355.4 kB / 462.9 MB, free: 67.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.4506, allocations: 100.3 kB / 463 MB, free: 67.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.4507, allocations: 224.5 kB / 463.2 MB, free: 67.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.451, allocations: 397.5 kB / 463.6 MB, free: 66.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.451, allocations: 0 / 463.6 MB, free: 66.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0004452/0.4514, allocations: 489.1 kB / 464.1 MB, free: 66.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4514, allocations: 8 kB / 464.1 MB, free: 66.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.4514, allocations: 0 / 464.1 MB, free: 66.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000275/0.4517, allocations: 153 kB / 464.2 MB, free: 66.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.4522, allocations: 171.2 kB / 464.4 MB, free: 66.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.4551, allocations: 5.996 MB / 470.4 MB, free: 60.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.4553, allocations: 11.62 kB / 470.4 MB, free: 60.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.4553, allocations: 24.72 kB / 470.4 MB, free: 60.82 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 9.778e-05/0.4554, allocations: 147.6 kB / 470.6 MB, free: 60.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.4554, allocations: 39.69 kB / 470.6 MB, free: 60.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.4573, allocations: 3.92 MB / 474.5 MB, free: 58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007972/0.4581, allocations: 1.665 MB / 476.2 MB, free: 56.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.4581, allocations: 4.875 kB / 476.2 MB, free: 56.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008288/0.459, allocations: 1.962 MB / 478.2 MB, free: 54.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.4605, allocations: 2.401 MB / 480.6 MB, free: 52.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.4605, allocations: 1.531 kB / 480.6 MB, free: 52.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004449/0.4609, allocations: 165.9 kB / 480.7 MB, free: 52.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001179/0.461, allocations: 46.91 kB / 480.8 MB, free: 52.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.4611, allocations: 15.69 kB / 480.8 MB, free: 52.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004919/0.4616, allocations: 1.814 MB / 482.6 MB, free: 50.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4616, allocations: 0 / 482.6 MB, free: 50.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.4626, allocations: 1.81 MB / 484.4 MB, free: 48.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.4626, allocations: 77.2 kB / 484.5 MB, free: 48.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.4627, allocations: 11.88 kB / 484.5 MB, free: 48.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4628, allocations: 21.67 kB / 484.5 MB, free: 48.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.4628, allocations: 39.05 kB / 484.6 MB, free: 48.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.4628, allocations: 14.06 kB / 484.6 MB, free: 48.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.416e-05/0.4629, allocations: 88.44 kB / 484.7 MB, free: 48.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4629, allocations: 0 / 484.7 MB, free: 48.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002042/0.4649, allocations: 1.244 MB / 485.9 MB, free: 47.52 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.002414/0.4673, allocations: 2.293 MB / 488.2 MB, free: 45.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007131/0.4681, allocations: 1.135 MB / 489.3 MB, free: 44.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.4681, allocations: 4 kB / 489.3 MB, free: 44.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/0.4685, allocations: 0.6829 MB / 490 MB, free: 43.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/0.4692, allocations: 445.2 kB / 490.5 MB, free: 43.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.4707, allocations: 1.725 MB / 492.2 MB, free: 41.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.522e-05/0.4708, allocations: 214.6 kB / 492.4 MB, free: 41.65 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.471, allocations: 185.4 kB / 492.6 MB, free: 41.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.4714, allocations: 280.9 kB / 492.9 MB, free: 41.2 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4714, allocations: 0 / 492.9 MB, free: 41.2 MB / 394.7 MB Notification: Performance of Templates: time 0.03673/0.5081, allocations: 49.92 MB / 0.53 GB, free: 8.719 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.096658392809331]