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.007185/0.007185, allocations: 101.3 kB / 15.73 MB, free: 6.438 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.001767/0.001767, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.377/1.377, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001247/0.001247, allocations: 51.2 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.09011, allocations: 46.61 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.03605/0.1262, allocations: 37.65 MB / 410.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03126/0.1575, allocations: 30.6 MB / 441.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000769/0.1583, allocations: 15.88 kB / 441.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.1597, allocations: 425.7 kB / 441.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.1611, allocations: 0.5322 MB / 442.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01597/0.177, allocations: 5.234 MB / 447.6 MB, free: 6.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.1791, allocations: 1.355 MB / 449 MB, free: 5.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.1794, allocations: 170.5 kB / 449.1 MB, free: 5.047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009038/0.1803, allocations: 0.5294 MB / 449.7 MB, free: 4.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005607/0.1809, allocations: 442.3 kB / 450.1 MB, free: 4.082 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.106e-05/0.181, allocations: 52 kB / 450.2 MB, free: 4.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2138/0.3947, allocations: 12.8 MB / 463 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.3951, allocations: 147.3 kB / 463.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.3956, allocations: 323.9 kB / 463.4 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03331/0.4289, allocations: 14.92 MB / 478.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4289, allocations: 1.188 kB / 478.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4289, allocations: 0 / 478.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.429, allocations: 1.969 kB / 478.3 MB, free: 9.449 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.01072/0.4397, allocations: 1.421 MB / 479.8 MB, free: 8.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4397, allocations: 11.36 kB / 479.8 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008776/0.4406, allocations: 94.14 kB / 479.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.4413, allocations: 389.6 kB / 480.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.4414, allocations: 39.56 kB / 480.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.287e-05/0.4414, allocations: 49.66 kB / 480.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.4428, allocations: 0.6249 MB / 481 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.4428, allocations: 0 / 481 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.4429, allocations: 23.06 kB / 481 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.4429, allocations: 11.78 kB / 481 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.444, allocations: 0.5245 MB / 481.5 MB, free: 8.188 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.00404/0.4481, allocations: 3.809 MB / 485.3 MB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.449, allocations: 410.9 kB / 485.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.4493, allocations: 213.4 kB / 485.9 MB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003404/0.4527, allocations: 3.455 MB / 489.4 MB, free: 18.03 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.4528, allocations: 40.19 kB / 489.4 MB, free: 17.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.926e-06/0.4528, allocations: 0.8125 kB / 489.4 MB, free: 17.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=54): time 0.009553/0.4624, allocations: 2.025 MB / 491.5 MB, free: 16.61 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.4625, allocations: 63.84 kB / 491.5 MB, free: 16.54 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.4628, allocations: 302.2 kB / 491.8 MB, free: 16.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.4629, allocations: 40.89 kB / 491.9 MB, free: 16.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.463, allocations: 240.6 kB / 492.1 MB, free: 16.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/0.4631, allocations: 183.9 kB / 492.3 MB, free: 15.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.4632, allocations: 115.8 kB / 492.4 MB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4634, allocations: 354.9 kB / 492.7 MB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/0.4637, allocations: 176.5 kB / 492.9 MB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.464, allocations: 329 kB / 493.2 MB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.4647, allocations: 0.5495 MB / 493.8 MB, free: 14.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4647, allocations: 5.281 kB / 493.8 MB, free: 14.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001149/0.4658, allocations: 0.6735 MB / 494.4 MB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4659, allocations: 9.094 kB / 494.5 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4659, allocations: 10.36 kB / 494.5 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.476, allocations: 444.7 kB / 494.9 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.4767, allocations: 141.9 kB / 495 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.4789, allocations: 3.092 MB / 498.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.4793, allocations: 13.88 kB / 498.1 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-05/0.4793, allocations: 33.17 kB / 498.2 MB, free: 10.67 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.0002927/0.4796, allocations: 188.2 kB / 498.4 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.4798, allocations: 43.47 kB / 498.4 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.4812, allocations: 1.054 MB / 499.5 MB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.4812, allocations: 20.55 kB / 499.5 MB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4812, allocations: 0 / 499.5 MB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/0.4823, allocations: 1.086 MB / 0.4888 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.4846, allocations: 1.736 MB / 0.4905 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4846, allocations: 1.344 kB / 0.4905 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.485, allocations: 94.92 kB / 0.4906 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/0.4881, allocations: 352.6 kB / 0.491 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/0.4882, allocations: 17.73 kB / 0.491 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008536/0.4891, allocations: 1.148 MB / 0.4921 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4891, allocations: 1.344 kB / 0.4921 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.4907, allocations: 1.126 MB / 0.4932 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.4908, allocations: 120.5 kB / 0.4933 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.4909, allocations: 22.97 kB / 0.4933 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.4912, allocations: 9.219 kB / 0.4933 GB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.4913, allocations: 40.48 kB / 0.4934 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.4913, allocations: 23.42 kB / 0.4934 GB, free: 5.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.4916, allocations: 249.5 kB / 0.4936 GB, free: 5.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4916, allocations: 0 / 0.4936 GB, free: 5.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.007222/0.4988, allocations: 0.9623 MB / 0.4946 GB, free: 4.145 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.03971/0.5386, allocations: 7.857 MB / 0.5023 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002285/0.5409, allocations: 0.7189 MB / 0.503 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.541, allocations: 0 / 0.503 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007336/0.5417, allocations: 366 kB / 0.5033 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.5434, allocations: 274.6 kB / 0.5036 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.5458, allocations: 1.329 MB / 0.5049 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.5464, allocations: 0.8648 MB / 0.5057 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006228/0.547, allocations: 227.6 kB / 0.5059 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.5471, allocations: 47.38 kB / 0.506 GB, free: 9.312 MB / 414.1 MB Notification: Performance of SimCode: time 1.533e-06/0.5472, allocations: 0 / 0.506 GB, free: 9.312 MB / 414.1 MB Notification: Performance of Templates: time 0.05276/0.5999, allocations: 36.17 MB / 0.5413 GB, free: 5.402 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)