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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 105 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001922/0.001922, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05112/0.05112, allocations: 9.156 MB / 290.8 MB, free: 13.93 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 72.86 kB / 406.4 MB, free: 46.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09801/0.1004, allocations: 50.72 MB / 457.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.4691/0.5695, allocations: 142.7 MB / 0.5857 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.109/0.6785, allocations: 97.91 MB / 0.6813 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00083/0.6793, allocations: 7.938 kB / 0.6813 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004387/0.6837, allocations: 1.554 MB / 0.6828 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.6889, allocations: 1.824 MB / 0.6846 GB, free: 5.586 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.1076/0.7965, allocations: 31.35 MB / 0.7152 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002746/0.7993, allocations: 1.414 MB / 0.7166 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.7996, allocations: 97.7 kB / 0.7167 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02238/0.822, allocations: 10.04 MB / 0.7265 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007007/0.8227, allocations: 394.4 kB / 0.7269 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.135e-05/0.8228, allocations: 44 kB / 0.7269 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5099/1.333, allocations: 36.84 MB / 0.7629 GB, free: 47.12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003936/1.333, allocations: 120.4 kB / 0.763 GB, free: 47.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007052/1.334, allocations: 307.5 kB / 0.7633 GB, free: 47.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06225/1.396, allocations: 14.61 MB / 0.7776 GB, free: 46.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.396, allocations: 0 / 0.7776 GB, free: 46.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.364e-06/1.396, allocations: 0 / 0.7776 GB, free: 46.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.198e-05/1.396, allocations: 0 / 0.7776 GB, free: 46.69 MB / 0.545 GB 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.01082/1.407, allocations: 2.773 MB / 0.7803 GB, free: 45.13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.414e-05/1.407, allocations: 10.69 kB / 0.7803 GB, free: 45.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005879/1.408, allocations: 82.67 kB / 0.7804 GB, free: 45.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/1.408, allocations: 338.1 kB / 0.7807 GB, free: 44.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/1.408, allocations: 30.19 kB / 0.7807 GB, free: 44.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/1.408, allocations: 32.53 kB / 0.7807 GB, free: 44.88 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/1.409, allocations: 0.5851 MB / 0.7813 GB, free: 44.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/1.409, allocations: 4 kB / 0.7813 GB, free: 44.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/1.409, allocations: 18.47 kB / 0.7813 GB, free: 44.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/1.409, allocations: 13.23 kB / 0.7813 GB, free: 44.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.411, allocations: 0.5219 MB / 0.7819 GB, free: 44.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/1.413, allocations: 2.482 MB / 0.7843 GB, free: 43.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/1.414, allocations: 456.5 kB / 0.7847 GB, free: 43.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004794/1.414, allocations: 305.6 kB / 0.785 GB, free: 43.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1764/1.591, allocations: 113.4 MB / 0.8958 GB, free: 22.97 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/1.591, allocations: 30.84 kB / 0.8958 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=78): time 3.125e-06/1.591, allocations: 7.984 kB / 0.8958 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.007381/1.598, allocations: 2.443 MB / 0.8982 GB, free: 21.04 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/1.598, allocations: 57.47 kB / 0.8982 GB, free: 20.97 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003356/1.599, allocations: 260.6 kB / 0.8985 GB, free: 20.75 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/1.599, allocations: 33.39 kB / 0.8985 GB, free: 20.72 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/1.599, allocations: 189.4 kB / 0.8987 GB, free: 20.56 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/1.599, allocations: 285.9 kB / 0.899 GB, free: 20.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/1.599, allocations: 100.7 kB / 0.8991 GB, free: 20.25 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001863/1.599, allocations: 353.6 kB / 0.8994 GB, free: 19.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/1.6, allocations: 277.6 kB / 0.8997 GB, free: 19.75 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/1.6, allocations: 408.4 kB / 0.9001 GB, free: 19.44 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/1.602, allocations: 0.7028 MB / 0.9008 GB, free: 18.96 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.602, allocations: 8.219 kB / 0.9008 GB, free: 18.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001568/1.603, allocations: 0.82 MB / 0.9016 GB, free: 18.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.603, allocations: 5.688 kB / 0.9016 GB, free: 18.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.603, allocations: 4 kB / 0.9016 GB, free: 18.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003037/1.603, allocations: 80.91 kB / 0.9016 GB, free: 18.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/1.604, allocations: 115.5 kB / 0.9018 GB, free: 18.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05215/1.656, allocations: 14.68 MB / 0.9161 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/1.657, allocations: 31.88 kB / 0.9161 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/1.657, allocations: 23.88 kB / 0.9161 GB, free: 3.668 MB / 0.6387 GB 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 (48): * Single equations (assignments): 42 * 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.0004109/1.657, allocations: 186.4 kB / 0.9163 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/1.657, allocations: 51.53 kB / 0.9164 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/1.66, allocations: 1.714 MB / 0.918 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/1.66, allocations: 11.61 kB / 0.9181 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.66, allocations: 11.94 kB / 0.9181 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001855/1.662, allocations: 1.252 MB / 0.9193 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/1.665, allocations: 1.741 MB / 0.921 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.665, allocations: 3.938 kB / 0.921 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/1.665, allocations: 83.94 kB / 0.9211 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003224/1.665, allocations: 121.4 kB / 0.9212 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/1.665, allocations: 15.02 kB / 0.9212 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/1.667, allocations: 2.086 MB / 0.9232 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.667, allocations: 5.625 kB / 0.9233 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/1.67, allocations: 1.426 MB / 0.9246 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/1.67, allocations: 124.7 kB / 0.9248 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.151e-05/1.67, allocations: 11.75 kB / 0.9248 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/1.67, allocations: 23.72 kB / 0.9248 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.671, allocations: 47.75 kB / 0.9248 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/1.671, allocations: 11.88 kB / 0.9249 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003348/1.671, allocations: 224.3 kB / 0.9251 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/1.671, allocations: 0 / 0.9251 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01238/1.683, allocations: 3.041 MB / 0.928 GB, free: 9.387 MB / 0.6544 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.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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 Backend phase and start with SimCode phase: time 0.0223/1.706, allocations: 3.879 MB / 0.9318 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002973/1.709, allocations: 0.9997 MB / 0.9328 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.709, allocations: 8.062 kB / 0.9328 GB, free: 5.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/1.71, allocations: 0.5095 MB / 0.9333 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/1.712, allocations: 408.5 kB / 0.9337 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/1.715, allocations: 1.22 MB / 0.9349 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006396/1.716, allocations: 0.8569 MB / 0.9357 GB, free: 2.594 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005016/1.716, allocations: 132.4 kB / 0.9359 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/1.716, allocations: 46.23 kB / 0.9359 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of SimCode: time 7.81e-07/1.716, allocations: 0 / 0.9359 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.4192/2.135, allocations: 112.3 MB / 1.046 GB, free: 298 MB / 0.6856 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.53996335528791]