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.001387/0.001387, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.556/1.556, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.00178/0.00178, allocations: 103.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.843e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08865/0.08869, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.51/14.59, allocations: 5.484 GB / 5.784 GB, free: 13.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/14.59, allocations: 72.53 kB / 5.785 GB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.102/18.7, allocations: 0.9846 GB / 6.769 GB, free: 54.63 MB / 490.9 MB Notification: Performance of FrontEnd: time 1.963e-06/18.7, allocations: 0 / 6.769 GB, free: 54.63 MB / 490.9 MB Notification: Performance of Transformations before backend: time 4.976e-05/18.7, allocations: 8.656 kB / 6.769 GB, free: 54.63 MB / 490.9 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.03839/18.74, allocations: 1.56 MB / 6.771 GB, free: 53.99 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/18.74, allocations: 9.375 kB / 6.771 GB, free: 53.99 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/18.74, allocations: 91.42 kB / 6.771 GB, free: 53.97 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/18.74, allocations: 387 kB / 6.771 GB, free: 53.75 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/18.74, allocations: 39.5 kB / 6.771 GB, free: 53.75 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/18.74, allocations: 47.75 kB / 6.771 GB, free: 53.75 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/18.74, allocations: 0.61 MB / 6.772 GB, free: 53.61 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/18.74, allocations: 0 / 6.772 GB, free: 53.61 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/18.74, allocations: 22.03 kB / 6.772 GB, free: 53.61 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/18.74, allocations: 11.28 kB / 6.772 GB, free: 53.61 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009124/18.74, allocations: 0.5279 MB / 6.772 GB, free: 53.6 MB / 490.9 MB Warning: The model contains alias variables with conflicting start and/or 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.006728/18.75, allocations: 6.09 MB / 6.778 GB, free: 51.04 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/18.75, allocations: 439.3 kB / 6.779 GB, free: 51.01 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/18.75, allocations: 200.5 kB / 6.779 GB, free: 51 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002899/18.75, allocations: 2.838 MB / 6.782 GB, free: 48.56 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/18.75, allocations: 38.16 kB / 6.782 GB, free: 48.52 MB / 490.9 MB Notification: Performance of pre-optimization done (n=46): time 2.224e-06/18.75, allocations: 0 / 6.782 GB, free: 48.52 MB / 490.9 MB Notification: Performance of matching and sorting (n=54): time 0.008634/18.76, allocations: 1.826 MB / 6.784 GB, free: 48.14 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/18.76, allocations: 60.94 kB / 6.784 GB, free: 48.08 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/18.76, allocations: 272.6 kB / 6.784 GB, free: 47.97 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/18.76, allocations: 37.02 kB / 6.784 GB, free: 47.94 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/18.76, allocations: 234.5 kB / 6.784 GB, free: 47.8 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/18.76, allocations: 189.7 kB / 6.784 GB, free: 47.71 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/18.76, allocations: 15.66 kB / 6.784 GB, free: 47.71 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 9.273e-05/18.76, allocations: 357.9 kB / 6.785 GB, free: 47.39 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/18.76, allocations: 166.3 kB / 6.785 GB, free: 47.39 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/18.76, allocations: 326.8 kB / 6.785 GB, free: 47.23 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/18.76, allocations: 221.8 kB / 6.785 GB, free: 47.23 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/18.76, allocations: 0 / 6.785 GB, free: 47.23 MB / 490.9 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00124/18.76, allocations: 0.6572 MB / 6.786 GB, free: 47.14 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/18.76, allocations: 7.719 kB / 6.786 GB, free: 47.14 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/18.76, allocations: 7.922 kB / 6.786 GB, free: 47.14 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01374/18.78, allocations: 0.5534 MB / 6.786 GB, free: 47.12 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006465/18.78, allocations: 146.9 kB / 6.787 GB, free: 47.12 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/18.78, allocations: 2.989 MB / 6.79 GB, free: 44.25 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/18.78, allocations: 44.88 kB / 6.79 GB, free: 44.24 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/18.78, allocations: 31.94 kB / 6.79 GB, free: 44.24 MB / 490.9 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 () * 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.000131/18.78, allocations: 139.8 kB / 6.79 GB, free: 44.14 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/18.78, allocations: 41.34 kB / 6.79 GB, free: 44.12 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/18.78, allocations: 1.05 MB / 6.791 GB, free: 44 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/18.78, allocations: 11.3 kB / 6.791 GB, free: 44 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/18.78, allocations: 0 / 6.791 GB, free: 44 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008961/18.78, allocations: 1.081 MB / 6.792 GB, free: 43.61 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/18.78, allocations: 1.718 MB / 6.794 GB, free: 43.25 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/18.78, allocations: 2.938 kB / 6.794 GB, free: 43.25 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/18.78, allocations: 108.4 kB / 6.794 GB, free: 43.25 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003464/18.79, allocations: 377 kB / 6.794 GB, free: 43.23 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/18.79, allocations: 21.94 kB / 6.794 GB, free: 43.23 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005463/18.79, allocations: 1.146 MB / 6.795 GB, free: 42.2 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/18.79, allocations: 0 / 6.795 GB, free: 42.2 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/18.79, allocations: 1.101 MB / 6.796 GB, free: 42 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/18.79, allocations: 135.4 kB / 6.796 GB, free: 41.88 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/18.79, allocations: 20.64 kB / 6.796 GB, free: 41.88 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/18.79, allocations: 36.19 kB / 6.796 GB, free: 41.87 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/18.79, allocations: 36.44 kB / 6.796 GB, free: 41.87 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/18.79, allocations: 19.61 kB / 6.796 GB, free: 41.87 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.0002188/18.79, allocations: 243 kB / 6.797 GB, free: 41.79 MB / 490.9 MB Notification: Performance of sort global known variables: time 1.4e-07/18.79, allocations: 3.188 kB / 6.797 GB, free: 41.79 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.01352/18.8, allocations: 1.112 MB / 6.798 GB, free: 41.61 MB / 490.9 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 () * 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.1346/18.94, allocations: 23.69 MB / 6.821 GB, free: 29.83 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.001485/18.94, allocations: 0.6923 MB / 6.822 GB, free: 29.7 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/18.94, allocations: 2.781 kB / 6.822 GB, free: 29.7 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0006431/18.94, allocations: 366.8 kB / 6.822 GB, free: 29.7 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/18.94, allocations: 252 kB / 6.822 GB, free: 29.69 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/18.94, allocations: 1.044 MB / 6.823 GB, free: 29.42 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/18.94, allocations: 0.8786 MB / 6.824 GB, free: 28.72 MB / 490.9 MB Notification: Performance of simCode: alias equations: time 0.0004932/18.94, allocations: 245.3 kB / 6.824 GB, free: 28.69 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/18.94, allocations: 56.67 kB / 6.824 GB, free: 28.68 MB / 490.9 MB Notification: Performance of SimCode: time 4.71e-07/18.94, allocations: 0 / 6.824 GB, free: 28.68 MB / 490.9 MB Notification: Performance of Templates: time 0.05661/19, allocations: 44.29 MB / 6.868 GB, free: 24.56 MB / 490.9 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)