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.0058/0.0058, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001344/0.001344, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.336/1.336, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001318/0.001318, allocations: 54.94 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09153, 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.04033/0.1319, allocations: 37.65 MB / 410.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03159/0.1635, allocations: 30.6 MB / 441.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005165/0.1641, allocations: 8 kB / 441.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1652, allocations: 405.7 kB / 441.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.1665, allocations: 0.5205 MB / 442.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01388/0.1804, allocations: 5.141 MB / 447.5 MB, free: 6.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.1823, allocations: 1.352 MB / 448.8 MB, free: 5.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.1827, allocations: 178.5 kB / 449 MB, free: 5.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.1838, allocations: 0.5333 MB / 449.6 MB, free: 4.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008121/0.1846, allocations: 438.3 kB / 450 MB, free: 4.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.1847, allocations: 52 kB / 450 MB, free: 4.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2275/0.4122, allocations: 12.8 MB / 462.8 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002629/0.4125, allocations: 146.6 kB / 463 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004766/0.413, allocations: 322.2 kB / 463.3 MB, free: 9.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03067/0.4437, allocations: 14.92 MB / 478.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.4438, allocations: 1.188 kB / 478.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4438, allocations: 0 / 478.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.4438, allocations: 0 / 478.2 MB, free: 9.402 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.01156/0.4554, allocations: 1.42 MB / 479.6 MB, free: 8.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4554, allocations: 11.67 kB / 479.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000689/0.4561, allocations: 93.34 kB / 479.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.4566, allocations: 389.8 kB / 480.1 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.4567, allocations: 37.75 kB / 480.1 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.4567, allocations: 45.78 kB / 480.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.4577, allocations: 0.6299 MB / 480.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.4578, allocations: 0 / 480.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.4578, allocations: 22.56 kB / 480.8 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.4578, allocations: 11.25 kB / 480.9 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008335/0.4587, allocations: 0.5293 MB / 481.4 MB, free: 8.141 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.003692/0.4624, allocations: 3.801 MB / 485.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.4632, allocations: 413.3 kB / 485.6 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.4635, allocations: 219.4 kB / 485.8 MB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003026/0.4666, allocations: 3.458 MB / 489.3 MB, free: 18.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.4666, allocations: 43.41 kB / 489.3 MB, free: 18.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.675e-06/0.4666, allocations: 0 / 489.3 MB, free: 18.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.008679/0.4753, allocations: 2.018 MB / 491.3 MB, free: 16.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.4754, allocations: 59.84 kB / 491.4 MB, free: 16.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.4756, allocations: 302.3 kB / 491.7 MB, free: 16.38 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.4757, allocations: 39.27 kB / 491.7 MB, free: 16.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.4758, allocations: 238.1 kB / 491.9 MB, free: 16.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/0.4759, allocations: 189.1 kB / 492.1 MB, free: 16.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.4761, allocations: 115.9 kB / 492.2 MB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4762, allocations: 350 kB / 492.6 MB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.4764, allocations: 184.3 kB / 492.8 MB, free: 15.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.4768, allocations: 334.4 kB / 493.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006373/0.4774, allocations: 0.5465 MB / 493.6 MB, free: 14.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4774, allocations: 0 / 493.6 MB, free: 14.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001093/0.4785, allocations: 0.6774 MB / 494.3 MB, free: 14.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4786, allocations: 8 kB / 494.3 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4786, allocations: 5.719 kB / 494.3 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008742/0.4873, allocations: 444.7 kB / 494.8 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/0.4879, allocations: 144.2 kB / 494.9 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00187/0.4898, allocations: 3.093 MB / 498 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.4901, allocations: 13.62 kB / 498 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/0.4902, allocations: 30.69 kB / 498 MB, free: 10.79 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.0002492/0.4904, allocations: 192.2 kB / 498.2 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4905, allocations: 47.16 kB / 498.3 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.4918, allocations: 1.058 MB / 499.3 MB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4919, allocations: 11.98 kB / 499.3 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4919, allocations: 0 / 499.3 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/0.493, allocations: 1.082 MB / 0.4887 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.495, allocations: 1.731 MB / 0.4904 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.495, allocations: 0 / 0.4904 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/0.4954, allocations: 99.06 kB / 0.4905 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/0.4984, allocations: 351.4 kB / 0.4908 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.4984, allocations: 17.27 kB / 0.4908 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006608/0.4991, allocations: 1.143 MB / 0.4919 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4991, allocations: 4.312 kB / 0.492 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.5005, allocations: 1.135 MB / 0.4931 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.5007, allocations: 119.1 kB / 0.4932 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.5007, allocations: 23.41 kB / 0.4932 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.501, allocations: 7.5 kB / 0.4932 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.501, allocations: 38.17 kB / 0.4932 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.5011, allocations: 23.36 kB / 0.4933 GB, free: 5.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.5013, allocations: 252.9 kB / 0.4935 GB, free: 5.152 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5014, allocations: 0 / 0.4935 GB, free: 5.152 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006608/0.508, allocations: 0.9646 MB / 0.4944 GB, free: 4.266 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.03635/0.5443, allocations: 7.851 MB / 0.5021 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.546, allocations: 0.7249 MB / 0.5028 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.546, allocations: 0 / 0.5028 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005892/0.5466, allocations: 364.1 kB / 0.5032 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.5481, allocations: 274.2 kB / 0.5034 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.5502, allocations: 1.329 MB / 0.5047 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.5506, allocations: 0.8648 MB / 0.5056 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004829/0.5511, allocations: 226.8 kB / 0.5058 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.5512, allocations: 55.36 kB / 0.5058 GB, free: 9.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5513, allocations: 2.078 kB / 0.5058 GB, free: 9.43 MB / 414.1 MB Notification: Performance of Templates: time 0.04836/0.5996, allocations: 36.35 MB / 0.5413 GB, free: 5.34 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)