Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_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.00173/0.00173, allocations: 88.72 kB / 19.44 MB, free: 360 kB / 13.93 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.001788/0.001788, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05976/0.05976, allocations: 7.514 MB / 267.1 MB, free: 6.031 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 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_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.235e-05, allocations: 2.312 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3674/0.3674, allocations: 126.8 MB / 464.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1315/0.4989, allocations: 86.74 MB / 0.5386 GB, free: 4.617 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008083/0.4997, allocations: 11.94 kB / 0.5386 GB, free: 4.605 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004479/0.5042, allocations: 1.249 MB / 0.5398 GB, free: 3.352 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005454/0.5097, allocations: 1.598 MB / 0.5414 GB, free: 1.746 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3368/0.8465, allocations: 31.77 MB / 0.5724 GB, free: 14.74 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.8486, allocations: 1.436 MB / 0.5738 GB, free: 14.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.8489, allocations: 85.7 kB / 0.5739 GB, free: 14.39 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:621:5-621:120:writable] Warning: assert triggered: setState_pTX: d_min and d_max did not bracket the root Notification: Performance of NFEvalConstants.evaluate: time 0.01871/0.8676, allocations: 10.43 MB / 0.5841 GB, free: 13.89 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009191/0.8685, allocations: 336.1 kB / 0.5844 GB, free: 13.85 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.8687, allocations: 42.78 kB / 0.5844 GB, free: 13.85 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04301/0.9117, allocations: 21.76 MB / 0.6057 GB, free: 12.02 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.912, allocations: 134.7 kB / 0.6058 GB, free: 11.97 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006366/0.9126, allocations: 215.5 kB / 0.606 GB, free: 11.94 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04032/0.9529, allocations: 12.75 MB / 0.6185 GB, free: 7.109 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.9529, allocations: 0 / 0.6185 GB, free: 7.109 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.9529, allocations: 0 / 0.6185 GB, free: 7.109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.9529, allocations: 8 kB / 0.6185 GB, free: 7.102 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006431/0.9594, allocations: 2.278 MB / 0.6207 GB, free: 4.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.9594, allocations: 12.62 kB / 0.6207 GB, free: 4.883 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006879/0.9601, allocations: 158.6 kB / 0.6209 GB, free: 4.738 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.9607, allocations: 286.3 kB / 0.6211 GB, free: 4.492 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.9608, allocations: 34.03 kB / 0.6212 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/0.9608, allocations: 39 kB / 0.6212 GB, free: 4.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.9621, allocations: 0.7473 MB / 0.6219 GB, free: 3.832 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.9622, allocations: 0 / 0.6219 GB, free: 3.832 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/0.9622, allocations: 14.81 kB / 0.6219 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.9623, allocations: 22.52 kB / 0.622 GB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.9634, allocations: 0.5306 MB / 0.6225 GB, free: 3.449 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.9657, allocations: 1.643 MB / 0.6241 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.9668, allocations: 472.9 kB / 0.6245 GB, free: 1.832 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/0.9673, allocations: 325.6 kB / 0.6249 GB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1837/1.151, allocations: 37.65 MB / 0.6616 GB, free: 12 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/1.151, allocations: 38.59 kB / 0.6617 GB, free: 15.97 MB / 474.7 MB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/1.151, allocations: 0 / 0.6617 GB, free: 15.97 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.007113/1.158, allocations: 2.283 MB / 0.6639 GB, free: 14.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/1.158, allocations: 55.41 kB / 0.6639 GB, free: 14.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/1.159, allocations: 229.7 kB / 0.6642 GB, free: 13.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.474e-05/1.159, allocations: 31.7 kB / 0.6642 GB, free: 13.95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000443/1.159, allocations: 195.5 kB / 0.6644 GB, free: 13.79 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/1.159, allocations: 279.3 kB / 0.6646 GB, free: 13.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/1.16, allocations: 101.8 kB / 0.6647 GB, free: 13.48 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002225/1.16, allocations: 346.9 kB / 0.6651 GB, free: 13.15 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/1.16, allocations: 289.8 kB / 0.6653 GB, free: 12.98 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/1.161, allocations: 400.8 kB / 0.6657 GB, free: 12.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/1.163, allocations: 0.7153 MB / 0.6664 GB, free: 12.17 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/1.163, allocations: 7.938 kB / 0.6664 GB, free: 12.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001906/1.164, allocations: 0.8383 MB / 0.6673 GB, free: 11.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/1.164, allocations: 8 kB / 0.6673 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/1.164, allocations: 4 kB / 0.6673 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/1.165, allocations: 115.3 kB / 0.6674 GB, free: 11.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/1.166, allocations: 109.1 kB / 0.6675 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07893/1.245, allocations: 18.71 MB / 0.6858 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/1.245, allocations: 32.06 kB / 0.6858 GB, free: 8.562 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/1.245, allocations: 23.09 kB / 0.6858 GB, free: 8.543 MB / 490.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,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 (47): * Single equations (assignments): 40 * 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, 2} * 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.0003996/1.246, allocations: 180.8 kB / 0.686 GB, free: 8.359 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/1.246, allocations: 67.64 kB / 0.686 GB, free: 8.293 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003508/1.249, allocations: 1.725 MB / 0.6877 GB, free: 6.504 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.572e-05/1.249, allocations: 19.11 kB / 0.6877 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.249, allocations: 0 / 0.6877 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002278/1.252, allocations: 1.287 MB / 0.689 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/1.255, allocations: 1.632 MB / 0.6906 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/1.255, allocations: 4.031 kB / 0.6906 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/1.256, allocations: 77.48 kB / 0.6907 GB, free: 3.379 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/1.256, allocations: 185.5 kB / 0.6908 GB, free: 3.191 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/1.256, allocations: 15.98 kB / 0.6909 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/1.259, allocations: 2.463 MB / 0.6933 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.259, allocations: 0 / 0.6933 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003629/1.263, allocations: 1.492 MB / 0.6947 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/1.263, allocations: 43.73 kB / 0.6948 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/1.263, allocations: 4 kB / 0.6948 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/1.263, allocations: 31.97 kB / 0.6948 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/1.263, allocations: 50.77 kB / 0.6949 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/1.264, allocations: 12 kB / 0.6949 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003135/1.264, allocations: 201.2 kB / 0.6951 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/1.264, allocations: 0 / 0.6951 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008135/1.272, allocations: 2.146 MB / 0.6971 GB, free: 12.57 MB / 0.4948 GB 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: 10 ($cse4.phase,$cse5.phase,$cse6.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.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 (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 2 systems {(1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01382/1.286, allocations: 3.295 MB / 0.7004 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003024/1.289, allocations: 0.9413 MB / 0.7013 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.289, allocations: 3.938 kB / 0.7013 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/1.29, allocations: 0.5013 MB / 0.7018 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/1.292, allocations: 374.9 kB / 0.7021 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/1.295, allocations: 1.148 MB / 0.7033 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/1.295, allocations: 258.1 kB / 0.7035 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005431/1.296, allocations: 111.4 kB / 0.7036 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/1.296, allocations: 36.5 kB / 0.7036 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of SimCode: time 1.924e-06/1.296, allocations: 0 / 0.7036 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.3685/1.665, allocations: 73.74 MB / 0.7757 GB, free: 141.1 MB / 0.5417 GB " [Timeout remaining time 658] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.538379215984605]