Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2") translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002061/0.002061, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.638/1.638, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001973/0.001974, allocations: 118.3 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.529e-05/2.532e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09028, allocations: 44.51 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.55/13.64, allocations: 5.72 GB / 6.061 GB, free: 9.059 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/13.64, allocations: 73.89 kB / 6.062 GB, free: 9.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 14.83/28.46, allocations: 4.512 GB / 10.57 GB, free: 103.3 MB / 0.6356 GB Notification: Performance of FrontEnd: time 1.914e-06/28.46, allocations: 2.906 kB / 10.57 GB, free: 103.3 MB / 0.6356 GB Notification: Performance of Transformations before backend: time 3.225e-05/28.46, allocations: 12.56 kB / 10.57 GB, free: 103.3 MB / 0.6356 GB 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.04728/28.51, allocations: 2.179 MB / 10.58 GB, free: 102.3 MB / 0.6356 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/28.51, allocations: 8.375 kB / 10.58 GB, free: 102.3 MB / 0.6356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00085/28.51, allocations: 97.27 kB / 10.58 GB, free: 102.3 MB / 0.6356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/28.51, allocations: 379.8 kB / 10.58 GB, free: 102.1 MB / 0.6356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/28.51, allocations: 35.09 kB / 10.58 GB, free: 102.1 MB / 0.6356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/28.51, allocations: 46.25 kB / 10.58 GB, free: 102.1 MB / 0.6356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/28.51, allocations: 0.6129 MB / 10.58 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/28.51, allocations: 7.891 kB / 10.58 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/28.51, allocations: 20.88 kB / 10.58 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/28.51, allocations: 20.89 kB / 10.58 GB, free: 101.9 MB / 0.6356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008808/28.51, allocations: 0.5246 MB / 10.58 GB, free: 101.9 MB / 0.6356 GB 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.006703/28.52, allocations: 6.09 MB / 10.58 GB, free: 99.34 MB / 0.6356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/28.52, allocations: 435.9 kB / 10.58 GB, free: 99.31 MB / 0.6356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/28.52, allocations: 198.8 kB / 10.58 GB, free: 99.3 MB / 0.6356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003069/28.53, allocations: 2.847 MB / 10.59 GB, free: 96.86 MB / 0.6356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/28.53, allocations: 34.62 kB / 10.59 GB, free: 96.82 MB / 0.6356 GB Notification: Performance of pre-optimization done (n=46): time 2.394e-06/28.53, allocations: 0 / 10.59 GB, free: 96.82 MB / 0.6356 GB Notification: Performance of matching and sorting (n=54): time 0.008677/28.53, allocations: 1.822 MB / 10.59 GB, free: 96.43 MB / 0.6356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/28.53, allocations: 60.62 kB / 10.59 GB, free: 96.36 MB / 0.6356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/28.54, allocations: 272.9 kB / 10.59 GB, free: 96.25 MB / 0.6356 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/28.54, allocations: 41.39 kB / 10.59 GB, free: 96.22 MB / 0.6356 GB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/28.54, allocations: 226.9 kB / 10.59 GB, free: 96.08 MB / 0.6356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/28.54, allocations: 193.2 kB / 10.59 GB, free: 95.96 MB / 0.6356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/28.54, allocations: 15.16 kB / 10.59 GB, free: 95.95 MB / 0.6356 GB Notification: Performance of setup shared object (initialization): time 7.277e-05/28.54, allocations: 354.3 kB / 10.59 GB, free: 95.64 MB / 0.6356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/28.54, allocations: 169.2 kB / 10.59 GB, free: 95.64 MB / 0.6356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/28.54, allocations: 321 kB / 10.59 GB, free: 95.48 MB / 0.6356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/28.54, allocations: 224.3 kB / 10.59 GB, free: 95.47 MB / 0.6356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/28.54, allocations: 2.656 kB / 10.59 GB, free: 95.47 MB / 0.6356 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001149/28.54, allocations: 0.6618 MB / 10.59 GB, free: 95.38 MB / 0.6356 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/28.54, allocations: 9.469 kB / 10.59 GB, free: 95.38 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/28.54, allocations: 8 kB / 10.59 GB, free: 95.38 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01404/28.55, allocations: 0.5509 MB / 10.59 GB, free: 95.36 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/28.55, allocations: 145.8 kB / 10.59 GB, free: 95.36 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/28.55, allocations: 2.982 MB / 10.59 GB, free: 92.48 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/28.55, allocations: 46.03 kB / 10.6 GB, free: 92.48 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/28.55, allocations: 25.38 kB / 10.6 GB, free: 92.48 MB / 0.6356 GB 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.0001629/28.55, allocations: 146.9 kB / 10.6 GB, free: 92.37 MB / 0.6356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/28.55, allocations: 42.81 kB / 10.6 GB, free: 92.35 MB / 0.6356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/28.56, allocations: 1.069 MB / 10.6 GB, free: 92.24 MB / 0.6356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/28.56, allocations: 8.281 kB / 10.6 GB, free: 92.24 MB / 0.6356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/28.56, allocations: 0 / 10.6 GB, free: 92.24 MB / 0.6356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009357/28.56, allocations: 1.068 MB / 10.6 GB, free: 91.86 MB / 0.6356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/28.56, allocations: 1.719 MB / 10.6 GB, free: 91.5 MB / 0.6356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/28.56, allocations: 0 / 10.6 GB, free: 91.5 MB / 0.6356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/28.56, allocations: 103.8 kB / 10.6 GB, free: 91.5 MB / 0.6356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003505/28.56, allocations: 384.9 kB / 10.6 GB, free: 91.47 MB / 0.6356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/28.56, allocations: 15.45 kB / 10.6 GB, free: 91.47 MB / 0.6356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005033/28.56, allocations: 1.144 MB / 10.6 GB, free: 90.43 MB / 0.6356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/28.56, allocations: 2.156 kB / 10.6 GB, free: 90.43 MB / 0.6356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/28.56, allocations: 1.113 MB / 10.6 GB, free: 90.23 MB / 0.6356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/28.57, allocations: 141.2 kB / 10.6 GB, free: 90.11 MB / 0.6356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/28.57, allocations: 13.81 kB / 10.6 GB, free: 90.11 MB / 0.6356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/28.57, allocations: 35 kB / 10.6 GB, free: 90.1 MB / 0.6356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/28.57, allocations: 37.16 kB / 10.6 GB, free: 90.1 MB / 0.6356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/28.57, allocations: 18.89 kB / 10.6 GB, free: 90.1 MB / 0.6356 GB Notification: Performance of sorting global known variables: time 0.0002734/28.57, allocations: 247.6 kB / 10.6 GB, free: 90.01 MB / 0.6356 GB Notification: Performance of sort global known variables: time 1.7e-07/28.57, allocations: 0.5625 kB / 10.6 GB, free: 90.01 MB / 0.6356 GB Notification: Performance of remove unused functions: time 0.01492/28.58, allocations: 1.116 MB / 10.6 GB, free: 89.77 MB / 0.6356 GB 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.1418/28.72, allocations: 23.71 MB / 10.63 GB, free: 77.5 MB / 0.6356 GB Notification: Performance of simCode: created initialization part: time 0.001606/28.72, allocations: 0.6996 MB / 10.63 GB, free: 77.38 MB / 0.6356 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/28.72, allocations: 0 / 10.63 GB, free: 77.38 MB / 0.6356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006416/28.73, allocations: 368.8 kB / 10.63 GB, free: 77.38 MB / 0.6356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/28.73, allocations: 248.6 kB / 10.63 GB, free: 77.35 MB / 0.6356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/28.73, allocations: 1.043 MB / 10.63 GB, free: 76.95 MB / 0.6356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/28.73, allocations: 0.8803 MB / 10.63 GB, free: 76.24 MB / 0.6356 GB Notification: Performance of simCode: alias equations: time 0.0005318/28.73, allocations: 236.8 kB / 10.63 GB, free: 76.21 MB / 0.6356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/28.73, allocations: 54.77 kB / 10.63 GB, free: 76.2 MB / 0.6356 GB Notification: Performance of SimCode: time 4.11e-07/28.73, allocations: 4 kB / 10.63 GB, free: 76.2 MB / 0.6356 GB Notification: Performance of Templates: time 0.05477/28.78, allocations: 44.36 MB / 10.67 GB, free: 71.2 MB / 0.6356 GB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1)