Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005653/0.005653, allocations: 103 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 197.6 kB / 16.68 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 222.5 MB, free: 4.504 MB / 174.1 MB 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.001208/0.001208, allocations: 58.09 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.09248, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03354/0.1261, allocations: 37.65 MB / 410.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03087/0.157, allocations: 30.59 MB / 441.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006236/0.1577, allocations: 11.94 kB / 441.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.1588, allocations: 401.7 kB / 441.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.1601, allocations: 0.5244 MB / 442.4 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0146/0.1747, allocations: 5.141 MB / 447.5 MB, free: 6.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.1766, allocations: 1.355 MB / 448.9 MB, free: 5.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.1769, allocations: 166.5 kB / 449 MB, free: 5.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008782/0.1778, allocations: 0.5411 MB / 449.6 MB, free: 4.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004749/0.1783, allocations: 434.3 kB / 450 MB, free: 4.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.659e-05/0.1784, allocations: 56 kB / 450 MB, free: 4.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2137/0.3921, allocations: 12.8 MB / 462.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.3925, allocations: 144 kB / 463 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006145/0.3931, allocations: 321.2 kB / 463.3 MB, free: 9.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03265/0.4258, allocations: 14.91 MB / 478.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4258, allocations: 0 / 478.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4258, allocations: 0 / 478.2 MB, free: 9.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.4258, allocations: 0.5 kB / 478.2 MB, free: 9.418 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.009911/0.4358, allocations: 1.426 MB / 479.6 MB, free: 8.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4358, allocations: 12.25 kB / 479.6 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007095/0.4365, allocations: 100.9 kB / 479.7 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.437, allocations: 386 kB / 480.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.4371, allocations: 38.25 kB / 480.1 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-05/0.4371, allocations: 44.09 kB / 480.2 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.4382, allocations: 0.625 MB / 480.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.4382, allocations: 5.188 kB / 480.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.4383, allocations: 23.62 kB / 480.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.4383, allocations: 11.59 kB / 480.9 MB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008398/0.4391, allocations: 0.5197 MB / 481.4 MB, free: 8.156 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/0.4427, allocations: 3.809 MB / 485.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008177/0.4435, allocations: 414.1 kB / 485.6 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.4438, allocations: 217.8 kB / 485.8 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00313/0.447, allocations: 3.46 MB / 489.3 MB, free: 18.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.447, allocations: 43.16 kB / 489.3 MB, free: 18.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.435e-06/0.447, allocations: 0 / 489.3 MB, free: 18.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.008975/0.456, allocations: 2.017 MB / 491.3 MB, free: 16.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.4561, allocations: 58.69 kB / 491.4 MB, free: 16.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.4563, allocations: 310 kB / 491.7 MB, free: 16.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.4564, allocations: 33.2 kB / 491.7 MB, free: 16.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.4565, allocations: 235.3 kB / 491.9 MB, free: 16.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.4566, allocations: 189.1 kB / 492.1 MB, free: 16.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.4568, allocations: 120.6 kB / 492.2 MB, free: 16.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4569, allocations: 350.1 kB / 492.6 MB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.4572, allocations: 185.1 kB / 492.8 MB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.4575, allocations: 326.7 kB / 493.1 MB, free: 15.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/0.4581, allocations: 0.5437 MB / 493.6 MB, free: 14.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4581, allocations: 7.094 kB / 493.6 MB, free: 14.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001085/0.4592, allocations: 0.6739 MB / 494.3 MB, free: 14.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4593, allocations: 8 kB / 494.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.4593, allocations: 4 kB / 494.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009377/0.4687, allocations: 448.8 kB / 494.8 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.4692, allocations: 142.4 kB / 494.9 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.4712, allocations: 3.087 MB / 498 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.4716, allocations: 17.12 kB / 498 MB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.4717, allocations: 31.86 kB / 498 MB, free: 10.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000253/0.4719, allocations: 187.4 kB / 498.2 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.472, allocations: 48.08 kB / 498.3 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.4733, allocations: 1.061 MB / 499.3 MB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4734, allocations: 9.297 kB / 499.3 MB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.4734, allocations: 0 / 499.3 MB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/0.4744, allocations: 1.092 MB / 0.4887 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.4765, allocations: 1.73 MB / 0.4904 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4766, allocations: 3.859 kB / 0.4904 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.477, allocations: 102.1 kB / 0.4905 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/0.4801, allocations: 344.2 kB / 0.4908 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.4802, allocations: 23.55 kB / 0.4908 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007419/0.481, allocations: 1.143 MB / 0.492 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.481, allocations: 1.312 kB / 0.492 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.4824, allocations: 1.131 MB / 0.4931 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.4826, allocations: 120.4 kB / 0.4932 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.4826, allocations: 19.03 kB / 0.4932 GB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.4829, allocations: 12.38 kB / 0.4932 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.483, allocations: 36.23 kB / 0.4932 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.483, allocations: 27.55 kB / 0.4933 GB, free: 5.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002642/0.4833, allocations: 246.7 kB / 0.4935 GB, free: 5.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4833, allocations: 0 / 0.4935 GB, free: 5.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.007655/0.491, allocations: 0.9601 MB / 0.4944 GB, free: 4.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03588/0.5269, allocations: 7.856 MB / 0.5021 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001733/0.5286, allocations: 0.7259 MB / 0.5028 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.5287, allocations: 4 kB / 0.5028 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005784/0.5292, allocations: 357.8 kB / 0.5032 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.5307, allocations: 264.3 kB / 0.5034 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.5329, allocations: 1.336 MB / 0.5047 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.5333, allocations: 0.8609 MB / 0.5056 GB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000484/0.5338, allocations: 236 kB / 0.5058 GB, free: 9.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.5339, allocations: 46.94 kB / 0.5058 GB, free: 9.492 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5339, allocations: 0 / 0.5058 GB, free: 9.492 MB / 414.1 MB Notification: Performance of Templates: time 0.04928/0.5832, allocations: 36.17 MB / 0.5412 GB, free: 5.582 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)