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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001819/0.001819, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.07585/0.07585, allocations: 9.089 MB / 25.82 MB, free: 3.426 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.1 MB / 233.2 MB, free: 14.19 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 103.3 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 52.16 kB / 341.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2586, allocations: 48.16 MB / 389.2 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.4356/0.6942, allocations: 144.1 MB / 0.5209 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.09452/0.7887, allocations: 99.25 MB / 0.6178 GB, free: 15.69 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006124/0.7894, allocations: 7.938 kB / 0.6178 GB, free: 15.68 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003276/0.7927, allocations: 1.175 MB / 0.6189 GB, free: 14.5 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.7965, allocations: 1.466 MB / 0.6204 GB, free: 13.03 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.08532/0.8819, allocations: 25.1 MB / 0.6449 GB, free: 3.836 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002824/0.8847, allocations: 1.842 MB / 0.6467 GB, free: 1.992 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.885, allocations: 93.72 kB / 0.6468 GB, free: 1.902 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01891/0.9039, allocations: 9.371 MB / 0.6559 GB, free: 8.512 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.9045, allocations: 386.4 kB / 0.6563 GB, free: 8.133 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.108e-05/0.9045, allocations: 20 kB / 0.6563 GB, free: 8.113 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3403/1.245, allocations: 32.32 MB / 0.6879 GB, free: 40.89 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002795/1.245, allocations: 99.7 kB / 0.688 GB, free: 40.89 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005701/1.246, allocations: 285 kB / 0.6882 GB, free: 40.89 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04839/1.294, allocations: 14.14 MB / 0.702 GB, free: 40.76 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.294, allocations: 2.812 kB / 0.7021 GB, free: 40.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.442e-06/1.294, allocations: 0 / 0.7021 GB, free: 40.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.814e-06/1.294, allocations: 0 / 0.7021 GB, free: 40.76 MB / 490.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.008807/1.303, allocations: 2.66 MB / 0.7046 GB, free: 39.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.303, allocations: 9.531 kB / 0.7047 GB, free: 39.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005713/1.304, allocations: 79.58 kB / 0.7047 GB, free: 39.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/1.304, allocations: 334.6 kB / 0.7051 GB, free: 39.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/1.304, allocations: 27.09 kB / 0.7051 GB, free: 39.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/1.304, allocations: 36.19 kB / 0.7051 GB, free: 39.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.305, allocations: 0.582 MB / 0.7057 GB, free: 38.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/1.305, allocations: 8.438 kB / 0.7057 GB, free: 38.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/1.305, allocations: 17.72 kB / 0.7057 GB, free: 38.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/1.305, allocations: 15.58 kB / 0.7057 GB, free: 38.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/1.307, allocations: 0.5206 MB / 0.7062 GB, free: 38.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002284/1.309, allocations: 2.48 MB / 0.7087 GB, free: 37.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.31, allocations: 491.1 kB / 0.7091 GB, free: 37.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/1.311, allocations: 333.3 kB / 0.7094 GB, free: 37.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1582/1.469, allocations: 113.4 MB / 0.8202 GB, free: 26.53 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/1.469, allocations: 35.78 kB / 0.8202 GB, free: 26.48 MB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 3.096e-06/1.469, allocations: 0 / 0.8202 GB, free: 26.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=83): time 0.0057/1.475, allocations: 2.434 MB / 0.8226 GB, free: 24.61 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/1.475, allocations: 58.41 kB / 0.8227 GB, free: 24.55 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/1.475, allocations: 258.6 kB / 0.8229 GB, free: 24.32 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/1.475, allocations: 36.89 kB / 0.823 GB, free: 24.29 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/1.475, allocations: 185.2 kB / 0.8231 GB, free: 24.14 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/1.475, allocations: 271.2 kB / 0.8234 GB, free: 23.91 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/1.475, allocations: 109.2 kB / 0.8235 GB, free: 23.83 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.475, allocations: 355.7 kB / 0.8238 GB, free: 23.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/1.476, allocations: 274.5 kB / 0.8241 GB, free: 23.34 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/1.476, allocations: 401.5 kB / 0.8245 GB, free: 23.03 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009235/1.477, allocations: 0.7099 MB / 0.8252 GB, free: 22.55 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.477, allocations: 0 / 0.8252 GB, free: 22.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001329/1.479, allocations: 0.8149 MB / 0.826 GB, free: 21.99 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.479, allocations: 7.984 kB / 0.826 GB, free: 21.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/1.479, allocations: 4 kB / 0.826 GB, free: 21.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/1.479, allocations: 80.62 kB / 0.8261 GB, free: 21.91 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/1.479, allocations: 112.8 kB / 0.8262 GB, free: 21.81 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04507/1.525, allocations: 13.29 MB / 0.8391 GB, free: 8.492 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006295/1.525, allocations: 51.28 kB / 0.8392 GB, free: 8.449 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/1.525, allocations: 17.88 kB / 0.8392 GB, free: 8.438 MB / 0.573 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.0003278/1.526, allocations: 186.7 kB / 0.8394 GB, free: 8.285 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/1.526, allocations: 46.72 kB / 0.8394 GB, free: 8.242 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/1.528, allocations: 1.717 MB / 0.8411 GB, free: 7.031 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/1.528, allocations: 17.55 kB / 0.8411 GB, free: 7.02 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.528, allocations: 0 / 0.8411 GB, free: 7.02 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/1.529, allocations: 1.262 MB / 0.8424 GB, free: 5.984 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/1.532, allocations: 1.756 MB / 0.8441 GB, free: 4.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.532, allocations: 0 / 0.8441 GB, free: 4.73 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/1.532, allocations: 86 kB / 0.8442 GB, free: 4.656 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003136/1.533, allocations: 122.5 kB / 0.8443 GB, free: 4.555 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/1.533, allocations: 14.97 kB / 0.8443 GB, free: 4.547 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/1.534, allocations: 1.973 MB / 0.8462 GB, free: 2.562 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.534, allocations: 0 / 0.8462 GB, free: 2.562 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04966/1.584, allocations: 16.26 MB / 0.8621 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/1.584, allocations: 120.6 kB / 0.8622 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/1.584, allocations: 7.812 kB / 0.8622 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/1.585, allocations: 45.81 kB / 0.8623 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/1.585, allocations: 39.88 kB / 0.8623 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/1.585, allocations: 19.8 kB / 0.8623 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002929/1.585, allocations: 225.5 kB / 0.8625 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.3e-07/1.585, allocations: 2.156 kB / 0.8625 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01801/1.603, allocations: 4.178 MB / 0.8666 GB, free: 15.84 MB / 0.6042 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.0272/1.63, allocations: 4.942 MB / 0.8714 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002949/1.633, allocations: 1.043 MB / 0.8725 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/1.633, allocations: 1.312 kB / 0.8725 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/1.635, allocations: 0.5601 MB / 0.873 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/1.637, allocations: 382.7 kB / 0.8734 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/1.641, allocations: 2.162 MB / 0.8755 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/1.641, allocations: 0.8917 MB / 0.8763 GB, free: 7.289 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006607/1.642, allocations: 134.1 kB / 0.8765 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/1.642, allocations: 43.42 kB / 0.8765 GB, free: 7.113 MB / 0.6042 GB Notification: Performance of SimCode: time 1.543e-06/1.642, allocations: 0 / 0.8765 GB, free: 7.113 MB / 0.6042 GB Notification: Performance of Templates: time 0.3712/2.013, allocations: 150 MB / 1.023 GB, free: 196.5 MB / 0.6042 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile (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)