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.002046/0.002046, allocations: 84.73 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.002492/0.002492, allocations: 161.7 kB / 22.76 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.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.05349/0.05349, allocations: 7.508 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_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.803e-06/1.803e-06, allocations: 0 / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/2.91e-05, allocations: 2.312 kB / 338 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.3221/0.3221, allocations: 126.8 MB / 464.8 MB, free: 9.656 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1109/0.433, allocations: 86.75 MB / 0.5386 GB, free: 4.484 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006857/0.4337, allocations: 7.938 kB / 0.5386 GB, free: 4.477 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004042/0.4378, allocations: 1.241 MB / 0.5398 GB, free: 3.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005542/0.4433, allocations: 1.594 MB / 0.5414 GB, free: 1.629 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3506/0.7939, allocations: 31.78 MB / 0.5724 GB, free: 14.77 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001855/0.7958, allocations: 1.426 MB / 0.5738 GB, free: 14.44 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.796, allocations: 80.64 kB / 0.5739 GB, free: 14.43 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.01706/0.8131, allocations: 10.44 MB / 0.5841 GB, free: 13.93 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006335/0.8137, allocations: 333.5 kB / 0.5844 GB, free: 13.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.185e-05/0.8138, allocations: 42.44 kB / 0.5844 GB, free: 13.89 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05016/0.864, allocations: 24.86 MB / 0.6087 GB, free: 11.17 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.8643, allocations: 122 kB / 0.6088 GB, free: 11.13 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006174/0.8649, allocations: 223.9 kB / 0.609 GB, free: 11.09 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0434/0.9083, allocations: 14.55 MB / 0.6232 GB, free: 3.586 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.9083, allocations: 4 kB / 0.6232 GB, free: 3.582 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.9083, allocations: 0 / 0.6232 GB, free: 3.582 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.9084, allocations: 4 kB / 0.6233 GB, free: 3.578 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.006388/0.9147, allocations: 2.575 MB / 0.6258 GB, free: 1.078 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.9148, allocations: 15.72 kB / 0.6258 GB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000691/0.9155, allocations: 178.2 kB / 0.626 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.9159, allocations: 290.7 kB / 0.6262 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.916, allocations: 27.53 kB / 0.6263 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.916, allocations: 41.14 kB / 0.6263 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.9173, allocations: 0.7604 MB / 0.627 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.9173, allocations: 3.984 kB / 0.627 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.9173, allocations: 14.69 kB / 0.6271 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.9173, allocations: 13.86 kB / 0.6271 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.9187, allocations: 0.5625 MB / 0.6276 GB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.9213, allocations: 1.644 MB / 0.6292 GB, free: 14.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.9225, allocations: 483.6 kB / 0.6297 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.9231, allocations: 318.3 kB / 0.63 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2561/1.179, allocations: 44.11 MB / 0.6731 GB, free: 5.238 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.835e-05/1.179, allocations: 36.03 kB / 0.6731 GB, free: 5.199 MB / 474.7 MB Notification: Performance of pre-optimization done (n=78): time 4.618e-06/1.179, allocations: 0 / 0.6731 GB, free: 5.199 MB / 474.7 MB Notification: Performance of matching and sorting (n=82): time 0.007559/1.187, allocations: 2.285 MB / 0.6753 GB, free: 3.484 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/1.187, allocations: 57.41 kB / 0.6754 GB, free: 3.418 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/1.187, allocations: 226.7 kB / 0.6756 GB, free: 3.219 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/1.187, allocations: 30.02 kB / 0.6756 GB, free: 3.188 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/1.187, allocations: 201.9 kB / 0.6758 GB, free: 3.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/1.188, allocations: 281.3 kB / 0.6761 GB, free: 2.777 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/1.188, allocations: 102.2 kB / 0.6762 GB, free: 2.707 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002213/1.188, allocations: 346.6 kB / 0.6765 GB, free: 2.375 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005849/1.189, allocations: 281.9 kB / 0.6768 GB, free: 2.203 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007145/1.189, allocations: 413.1 kB / 0.6772 GB, free: 1.828 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/1.191, allocations: 0.7351 MB / 0.6779 GB, free: 1.062 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.191, allocations: 0 / 0.6779 GB, free: 1.062 MB / 474.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001857/1.193, allocations: 0.835 MB / 0.6787 GB, free: 244 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.193, allocations: 8 kB / 0.6787 GB, free: 236 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.193, allocations: 4 kB / 0.6787 GB, free: 232 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/1.193, allocations: 65.67 kB / 0.6788 GB, free: 160 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006962/1.194, allocations: 129.5 kB / 0.6789 GB, free: 36 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07524/1.269, allocations: 18.62 MB / 0.6971 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/1.269, allocations: 31.97 kB / 0.6971 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.776e-05/1.269, allocations: 16 kB / 0.6971 GB, free: 12.92 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * 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.0003919/1.27, allocations: 186.8 kB / 0.6973 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/1.27, allocations: 59.66 kB / 0.6974 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002731/1.273, allocations: 1.619 MB / 0.699 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/1.273, allocations: 10.73 kB / 0.699 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.273, allocations: 0 / 0.699 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001945/1.275, allocations: 1.205 MB / 0.7001 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/1.278, allocations: 1.534 MB / 0.7016 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/1.278, allocations: 0 / 0.7016 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/1.278, allocations: 75.22 kB / 0.7017 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/1.279, allocations: 113.6 kB / 0.7018 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/1.279, allocations: 15.92 kB / 0.7018 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/1.281, allocations: 1.865 MB / 0.7037 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/1.281, allocations: 8.219 kB / 0.7037 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/1.283, allocations: 1.298 MB / 0.7049 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/1.284, allocations: 35.73 kB / 0.705 GB, free: 4.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.1e-05/1.284, allocations: 11.95 kB / 0.705 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/1.284, allocations: 27.97 kB / 0.705 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/1.284, allocations: 39.92 kB / 0.705 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/1.284, allocations: 19.92 kB / 0.7051 GB, free: 4.484 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003238/1.284, allocations: 223.1 kB / 0.7053 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/1.284, allocations: 4.062 kB / 0.7053 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008099/1.293, allocations: 2.434 MB / 0.7076 GB, free: 1.82 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: 9 ($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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(1,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.01419/1.307, allocations: 3.767 MB / 0.7113 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002606/1.309, allocations: 0.9485 MB / 0.7123 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.309, allocations: 3.938 kB / 0.7123 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/1.31, allocations: 490.3 kB / 0.7127 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/1.313, allocations: 388.2 kB / 0.7131 GB, free: 12.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/1.315, allocations: 1.113 MB / 0.7142 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/1.315, allocations: 250.2 kB / 0.7144 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000511/1.316, allocations: 133.6 kB / 0.7146 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/1.316, allocations: 40.5 kB / 0.7146 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of SimCode: time 1.342e-06/1.316, allocations: 0 / 0.7146 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of Templates: time 0.2429/1.559, allocations: 78.15 MB / 0.7909 GB, free: 266.3 MB / 0.5417 GB " [Timeout remaining time 658] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.448308950988576]