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.001133/0.001133, allocations: 156.6 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.36/1.36, allocations: 170.7 MB / 178.7 MB, free: 7.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.001628/0.001628, allocations: 108.3 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.894e-05/1.896e-05, allocations: 0 / 262.2 MB, free: 3.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2543, allocations: 38.76 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.87/13.12, allocations: 5.483 GB / 5.777 GB, free: 71.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/13.12, allocations: 67.95 kB / 5.777 GB, free: 71.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737/16.86, allocations: 0.9591 GB / 6.736 GB, free: 12.52 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.853e-06/16.86, allocations: 0 / 6.736 GB, free: 12.52 MB / 458.9 MB Notification: Performance of Transformations before backend: time 3.829e-05/16.86, allocations: 16 kB / 6.736 GB, free: 12.5 MB / 458.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.02833/16.89, allocations: 1.55 MB / 6.738 GB, free: 11.07 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/16.89, allocations: 12.03 kB / 6.738 GB, free: 11.06 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008743/16.89, allocations: 87.39 kB / 6.738 GB, free: 10.98 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/16.89, allocations: 382.8 kB / 6.738 GB, free: 10.59 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/16.89, allocations: 12 kB / 6.738 GB, free: 10.57 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/16.89, allocations: 31.89 kB / 6.738 GB, free: 10.55 MB / 458.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006885/16.89, allocations: 450.5 kB / 6.739 GB, free: 10.11 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/16.89, allocations: 0.5133 MB / 6.739 GB, free: 9.543 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/16.89, allocations: 4 kB / 6.739 GB, free: 9.539 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/16.89, allocations: 0 / 6.739 GB, free: 9.539 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/16.89, allocations: 16 kB / 6.739 GB, free: 9.523 MB / 458.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.006413/16.9, allocations: 6.408 MB / 6.746 GB, free: 2.77 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/16.9, allocations: 335.2 kB / 6.746 GB, free: 2.434 MB / 458.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/16.9, allocations: 180.8 kB / 6.746 GB, free: 2.254 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002696/16.9, allocations: 2.425 MB / 6.749 GB, free: 15.43 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/16.9, allocations: 38.56 kB / 6.749 GB, free: 15.38 MB / 474.9 MB Notification: Performance of pre-optimization done (n=44): time 2.595e-06/16.9, allocations: 0 / 6.749 GB, free: 15.38 MB / 474.9 MB Notification: Performance of matching and sorting (n=52): time 0.01439/16.91, allocations: 2.292 MB / 6.751 GB, free: 13.05 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/16.91, allocations: 55.84 kB / 6.751 GB, free: 12.98 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/16.91, allocations: 244.2 kB / 6.751 GB, free: 12.73 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/16.91, allocations: 29.7 kB / 6.751 GB, free: 12.7 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/16.91, allocations: 238.3 kB / 6.751 GB, free: 12.48 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/16.91, allocations: 174.5 kB / 6.752 GB, free: 12.33 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/16.91, allocations: 0 / 6.752 GB, free: 12.33 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 0.0001455/16.91, allocations: 354.8 kB / 6.752 GB, free: 11.98 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/16.91, allocations: 157.5 kB / 6.752 GB, free: 11.82 MB / 474.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/16.91, allocations: 311.8 kB / 6.752 GB, free: 11.46 MB / 474.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004001/16.92, allocations: 0.5355 MB / 6.753 GB, free: 10.92 MB / 474.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/16.92, allocations: 0 / 6.753 GB, free: 10.92 MB / 474.9 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004862/16.92, allocations: 0.9273 MB / 6.754 GB, free: 9.984 MB / 474.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/16.92, allocations: 4 kB / 6.754 GB, free: 9.98 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/16.92, allocations: 7.938 kB / 6.754 GB, free: 9.973 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003851/16.92, allocations: 98.77 kB / 6.754 GB, free: 9.867 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/16.92, allocations: 143.8 kB / 6.754 GB, free: 9.727 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/16.93, allocations: 3.146 MB / 6.757 GB, free: 6.398 MB / 474.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/16.93, allocations: 34.14 kB / 6.757 GB, free: 6.367 MB / 474.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/16.93, allocations: 31.98 kB / 6.757 GB, free: 6.336 MB / 474.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.0001701/16.93, allocations: 122.8 kB / 6.757 GB, free: 6.211 MB / 474.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/16.93, allocations: 35.62 kB / 6.757 GB, free: 6.176 MB / 474.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/16.93, allocations: 1.073 MB / 6.758 GB, free: 5.09 MB / 474.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/16.93, allocations: 4 kB / 6.758 GB, free: 5.086 MB / 474.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/16.93, allocations: 0 / 6.758 GB, free: 5.086 MB / 474.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002052/16.93, allocations: 1.107 MB / 6.759 GB, free: 3.91 MB / 474.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/16.94, allocations: 1.645 MB / 6.761 GB, free: 2.227 MB / 474.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/16.94, allocations: 0 / 6.761 GB, free: 2.227 MB / 474.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/16.94, allocations: 95.89 kB / 6.761 GB, free: 2.133 MB / 474.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004113/16.94, allocations: 125.4 kB / 6.761 GB, free: 2.004 MB / 474.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/16.94, allocations: 7.984 kB / 6.761 GB, free: 1.996 MB / 474.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009026/16.94, allocations: 1.198 MB / 6.762 GB, free: 0.7461 MB / 474.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/16.94, allocations: 192 / 6.762 GB, free: 0.7461 MB / 474.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/16.94, allocations: 1.179 MB / 6.764 GB, free: 15.53 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/16.94, allocations: 116.5 kB / 6.764 GB, free: 15.4 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.748e-05/16.94, allocations: 12.03 kB / 6.764 GB, free: 15.39 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/16.94, allocations: 24.94 kB / 6.764 GB, free: 15.37 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/16.94, allocations: 36.5 kB / 6.764 GB, free: 15.33 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/16.94, allocations: 27.86 kB / 6.764 GB, free: 15.3 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.0002244/16.94, allocations: 186 kB / 6.764 GB, free: 15.12 MB / 490.9 MB Notification: Performance of sort global known variables: time 1.5e-07/16.94, allocations: 0 / 6.764 GB, free: 15.12 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.01961/16.96, allocations: 1.065 MB / 6.765 GB, free: 14.12 MB / 490.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * 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.5048/17.47, allocations: 23.79 MB / 6.788 GB, free: 63.77 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.001905/17.47, allocations: 0.6447 MB / 6.789 GB, free: 63.67 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/17.47, allocations: 2.156 kB / 6.789 GB, free: 63.67 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/17.47, allocations: 336.8 kB / 6.789 GB, free: 63.67 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/17.47, allocations: 207.1 kB / 6.789 GB, free: 63.66 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/17.47, allocations: 0.9998 MB / 6.79 GB, free: 63.43 MB / 490.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/17.47, allocations: 0.871 MB / 6.791 GB, free: 62.72 MB / 490.9 MB Notification: Performance of simCode: alias equations: time 0.0006122/17.47, allocations: 299.6 kB / 6.791 GB, free: 62.71 MB / 490.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/17.47, allocations: 45.38 kB / 6.791 GB, free: 62.71 MB / 490.9 MB Notification: Performance of SimCode: time 1.112e-06/17.47, allocations: 0 / 6.791 GB, free: 62.71 MB / 490.9 MB Notification: Performance of Templates: time 0.05722/17.53, allocations: 36.56 MB / 6.827 GB, free: 59.07 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)