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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.00945/0.00945, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.408/1.408, allocations: 170.8 MB / 186.6 MB, free: 1.031 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001661/0.001661, allocations: 110 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2691, allocations: 38.76 MB / 312.9 MB, free: 38.85 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.45/13.72, allocations: 5.484 GB / 5.79 GB, free: 98.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/13.72, allocations: 75.86 kB / 5.79 GB, free: 98.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.811/17.53, allocations: 0.9865 GB / 6.776 GB, free: 35.4 MB / 475.2 MB Notification: Performance of FrontEnd: time 3.937e-06/17.53, allocations: 0 / 6.776 GB, free: 35.4 MB / 475.2 MB Notification: Performance of Transformations before backend: time 3.229e-05/17.53, allocations: 15.22 kB / 6.776 GB, free: 35.4 MB / 475.2 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.03653/17.56, allocations: 1.593 MB / 6.778 GB, free: 34.7 MB / 475.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/17.56, allocations: 14.94 kB / 6.778 GB, free: 34.69 MB / 475.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007992/17.56, allocations: 90.27 kB / 6.778 GB, free: 34.66 MB / 475.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000553/17.57, allocations: 389.5 kB / 6.778 GB, free: 34.45 MB / 475.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/17.57, allocations: 36.31 kB / 6.778 GB, free: 34.45 MB / 475.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/17.57, allocations: 47.81 kB / 6.778 GB, free: 34.45 MB / 475.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/17.57, allocations: 0.6089 MB / 6.779 GB, free: 34.3 MB / 475.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/17.57, allocations: 7.469 kB / 6.779 GB, free: 34.3 MB / 475.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/17.57, allocations: 23.83 kB / 6.779 GB, free: 34.3 MB / 475.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/17.57, allocations: 11.56 kB / 6.779 GB, free: 34.3 MB / 475.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009178/17.57, allocations: 0.5258 MB / 6.78 GB, free: 34.29 MB / 475.2 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.007347/17.57, allocations: 6.093 MB / 6.785 GB, free: 31.71 MB / 475.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009484/17.58, allocations: 424.8 kB / 6.786 GB, free: 31.68 MB / 475.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003053/17.58, allocations: 2.836 MB / 6.789 GB, free: 29.22 MB / 475.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/17.58, allocations: 44.47 kB / 6.789 GB, free: 29.18 MB / 475.2 MB Notification: Performance of pre-optimization done (n=46): time 3.366e-06/17.58, allocations: 0 / 6.789 GB, free: 29.18 MB / 475.2 MB Notification: Performance of matching and sorting (n=54): time 0.008441/17.59, allocations: 2.023 MB / 6.791 GB, free: 28.7 MB / 475.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/17.59, allocations: 55.41 kB / 6.791 GB, free: 28.64 MB / 475.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/17.59, allocations: 277.5 kB / 6.791 GB, free: 28.54 MB / 475.2 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/17.59, allocations: 36.27 kB / 6.791 GB, free: 28.51 MB / 475.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/17.59, allocations: 231.4 kB / 6.791 GB, free: 28.38 MB / 475.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/17.59, allocations: 188.5 kB / 6.791 GB, free: 28.29 MB / 475.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/17.59, allocations: 10.38 kB / 6.791 GB, free: 28.29 MB / 475.2 MB Notification: Performance of setup shared object (initialization): time 9.724e-05/17.59, allocations: 353.1 kB / 6.792 GB, free: 27.97 MB / 475.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/17.59, allocations: 179.6 kB / 6.792 GB, free: 27.96 MB / 475.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/17.59, allocations: 324.2 kB / 6.792 GB, free: 27.8 MB / 475.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/17.59, allocations: 233.8 kB / 6.792 GB, free: 27.79 MB / 475.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/17.59, allocations: 0 / 6.792 GB, free: 27.79 MB / 475.2 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00115/17.59, allocations: 0.6734 MB / 6.793 GB, free: 27.7 MB / 475.2 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/17.59, allocations: 11.44 kB / 6.793 GB, free: 27.69 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/17.59, allocations: 3.656 kB / 6.793 GB, free: 27.69 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01406/17.6, allocations: 0.5513 MB / 6.794 GB, free: 27.66 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008075/17.61, allocations: 139.7 kB / 6.794 GB, free: 27.66 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/17.61, allocations: 3 MB / 6.797 GB, free: 24.79 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/17.61, allocations: 47.67 kB / 6.797 GB, free: 24.78 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-05/17.61, allocations: 29.47 kB / 6.797 GB, free: 24.78 MB / 475.2 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000337/17.61, allocations: 190 kB / 6.797 GB, free: 24.66 MB / 475.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/17.61, allocations: 44.72 kB / 6.797 GB, free: 24.64 MB / 475.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/17.61, allocations: 1.064 MB / 6.798 GB, free: 24.21 MB / 475.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/17.61, allocations: 14.48 kB / 6.798 GB, free: 24.2 MB / 475.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/17.61, allocations: 0 / 6.798 GB, free: 24.2 MB / 475.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009363/17.61, allocations: 1.078 MB / 6.799 GB, free: 23.42 MB / 475.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/17.61, allocations: 1.734 MB / 6.801 GB, free: 22.44 MB / 475.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/17.61, allocations: 0 / 6.801 GB, free: 22.44 MB / 475.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/17.61, allocations: 104.8 kB / 6.801 GB, free: 22.36 MB / 475.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00396/17.62, allocations: 394.5 kB / 6.801 GB, free: 22.18 MB / 475.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/17.62, allocations: 24.11 kB / 6.801 GB, free: 22.17 MB / 475.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005152/17.62, allocations: 1.144 MB / 6.802 GB, free: 21.06 MB / 475.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/17.62, allocations: 5.203 kB / 6.802 GB, free: 21.06 MB / 475.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/17.62, allocations: 1.126 MB / 6.804 GB, free: 20.36 MB / 475.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/17.62, allocations: 140 kB / 6.804 GB, free: 20.23 MB / 475.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/17.62, allocations: 14.28 kB / 6.804 GB, free: 20.22 MB / 475.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/17.62, allocations: 23.58 kB / 6.804 GB, free: 20.21 MB / 475.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/17.62, allocations: 40.53 kB / 6.804 GB, free: 20.19 MB / 475.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/17.62, allocations: 23.12 kB / 6.804 GB, free: 20.18 MB / 475.2 MB Notification: Performance of sorting global known variables: time 0.0002438/17.62, allocations: 249.7 kB / 6.804 GB, free: 20.01 MB / 475.2 MB Notification: Performance of sort global known variables: time 1.4e-07/17.62, allocations: 0 / 6.804 GB, free: 20.01 MB / 475.2 MB Notification: Performance of remove unused functions: time 0.01994/17.64, allocations: 1.1 MB / 6.805 GB, free: 19.11 MB / 475.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.1571/17.8, allocations: 23.78 MB / 6.828 GB, free: 12.43 MB / 491.2 MB Notification: Performance of simCode: created initialization part: time 0.001637/17.8, allocations: 0.6944 MB / 6.829 GB, free: 11.98 MB / 491.2 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/17.8, allocations: 0 / 6.829 GB, free: 11.98 MB / 491.2 MB Notification: Performance of simCode: created simulation system equations: time 0.0005811/17.8, allocations: 360.2 kB / 6.829 GB, free: 11.8 MB / 491.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/17.8, allocations: 244.9 kB / 6.83 GB, free: 11.66 MB / 491.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/17.8, allocations: 1.614 MB / 6.831 GB, free: 10.36 MB / 491.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/17.8, allocations: 0.8706 MB / 6.832 GB, free: 9.535 MB / 491.2 MB Notification: Performance of simCode: alias equations: time 0.0005722/17.8, allocations: 241.1 kB / 6.832 GB, free: 9.379 MB / 491.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/17.8, allocations: 50.3 kB / 6.832 GB, free: 9.336 MB / 491.2 MB Notification: Performance of SimCode: time 8.32e-07/17.8, allocations: 0.6562 kB / 6.832 GB, free: 9.336 MB / 491.2 MB Notification: Performance of Templates: time 0.06068/17.86, allocations: 42.35 MB / 6.874 GB, free: 14.39 MB / 0.5109 GB 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)