Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.004637/0.004637, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001082/0.001082, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.344/1.344, allocations: 205.1 MB / 222.6 MB, free: 4.469 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.001132/0.001132, allocations: 48.06 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08485/0.086, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03675/0.1228, allocations: 37.65 MB / 410.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03121/0.154, allocations: 30.6 MB / 441.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005514/0.1546, allocations: 15.94 kB / 441.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.1559, allocations: 401.7 kB / 441.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001342/0.1572, allocations: 0.5127 MB / 442.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01485/0.1721, allocations: 5.141 MB / 447.5 MB, free: 6.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.174, allocations: 1.355 MB / 448.8 MB, free: 5.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.1744, allocations: 178.5 kB / 449 MB, free: 5.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.1756, allocations: 0.5294 MB / 449.6 MB, free: 4.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007627/0.1763, allocations: 438.3 kB / 450 MB, free: 4.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.1765, allocations: 52 kB / 450 MB, free: 4.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.213/0.3894, allocations: 12.8 MB / 462.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.3898, allocations: 151 kB / 463 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005749/0.3904, allocations: 318.6 kB / 463.3 MB, free: 9.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04265/0.4331, allocations: 14.93 MB / 478.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4331, allocations: 0 / 478.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4331, allocations: 0.625 kB / 478.2 MB, free: 9.254 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.4331, allocations: 3.531 kB / 478.2 MB, free: 9.254 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.01014/0.4433, allocations: 1.481 MB / 479.7 MB, free: 8.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4433, allocations: 12.89 kB / 479.7 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007612/0.4441, allocations: 92.88 kB / 479.8 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006158/0.4447, allocations: 386.3 kB / 480.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.4448, allocations: 37.69 kB / 480.2 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/0.4449, allocations: 46.62 kB / 480.3 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.446, allocations: 0.6296 MB / 480.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.4461, allocations: 7.312 kB / 480.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.4461, allocations: 17.94 kB / 480.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.4462, allocations: 15.5 kB / 480.9 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009076/0.4471, allocations: 0.522 MB / 481.5 MB, free: 7.93 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.003604/0.4507, allocations: 3.804 MB / 485.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000885/0.4516, allocations: 414.2 kB / 485.7 MB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.4519, allocations: 208.9 kB / 485.9 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00301/0.4549, allocations: 3.458 MB / 489.3 MB, free: 17.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.4549, allocations: 47.22 kB / 489.4 MB, free: 17.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.705e-06/0.4549, allocations: 0 / 489.4 MB, free: 17.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.009022/0.464, allocations: 2.033 MB / 491.4 MB, free: 16.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.464, allocations: 55.84 kB / 491.5 MB, free: 16.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.4643, allocations: 310.6 kB / 491.8 MB, free: 16.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.4644, allocations: 35.23 kB / 491.8 MB, free: 16.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4645, allocations: 239.4 kB / 492 MB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.769e-05/0.4646, allocations: 197.3 kB / 492.2 MB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.4647, allocations: 115.6 kB / 492.3 MB, free: 15.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4649, allocations: 358.2 kB / 492.7 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.4652, allocations: 175.9 kB / 492.9 MB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.4655, allocations: 331.6 kB / 493.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.4661, allocations: 0.5464 MB / 493.7 MB, free: 14.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4662, allocations: 4 kB / 493.7 MB, free: 14.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001072/0.4672, allocations: 0.6754 MB / 494.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4673, allocations: 9.688 kB / 494.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4673, allocations: 5.562 kB / 494.4 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009008/0.4763, allocations: 447.7 kB / 494.9 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.4769, allocations: 140.3 kB / 495 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.4789, allocations: 3.094 MB / 498.1 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.4793, allocations: 15.69 kB / 498.1 MB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.4793, allocations: 29.2 kB / 498.1 MB, free: 10.56 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.0003449/0.4797, allocations: 189 kB / 498.3 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.4798, allocations: 49.95 kB / 498.4 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.4812, allocations: 1.058 MB / 499.4 MB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.4812, allocations: 19.45 kB / 499.4 MB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.4812, allocations: 0 / 499.4 MB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/0.4824, allocations: 1.089 MB / 0.4888 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.4843, allocations: 1.732 MB / 0.4905 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4844, allocations: 1.344 kB / 0.4905 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.4847, allocations: 99.17 kB / 0.4906 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002904/0.4877, allocations: 349.2 kB / 0.4909 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.4877, allocations: 15.81 kB / 0.4909 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006557/0.4884, allocations: 1.15 MB / 0.4921 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4884, allocations: 0 / 0.4921 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.4898, allocations: 1.134 MB / 0.4932 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4899, allocations: 127.5 kB / 0.4933 GB, free: 5.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.49, allocations: 11.06 kB / 0.4933 GB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.4902, allocations: 11.61 kB / 0.4933 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.4903, allocations: 43.72 kB / 0.4934 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.4904, allocations: 19.3 kB / 0.4934 GB, free: 5.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002523/0.4906, allocations: 250.2 kB / 0.4936 GB, free: 4.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4906, allocations: 0 / 0.4936 GB, free: 4.914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006744/0.4974, allocations: 0.9769 MB / 0.4946 GB, free: 4.016 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.03423/0.5316, allocations: 7.871 MB / 0.5023 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.5334, allocations: 0.7168 MB / 0.503 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5334, allocations: 0 / 0.503 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005675/0.534, allocations: 374.8 kB / 0.5033 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.5354, allocations: 266.7 kB / 0.5036 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.5375, allocations: 1.345 MB / 0.5049 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.5379, allocations: 0.8684 MB / 0.5057 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005198/0.5385, allocations: 231.2 kB / 0.5059 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5386, allocations: 55.38 kB / 0.506 GB, free: 9.148 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5386, allocations: 0 / 0.506 GB, free: 9.148 MB / 414.1 MB Notification: Performance of Templates: time 0.04912/0.5878, allocations: 36.15 MB / 0.5413 GB, free: 5.25 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.1_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)