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.001167/0.001167, allocations: 180.9 kB / 16.38 MB, free: 5.762 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.421/1.421, allocations: 194.5 MB / 211.6 MB, free: 3.066 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.002143/0.002143, allocations: 117.8 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003726, allocations: 12 kB / 310.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.09419, allocations: 44.51 MB / 355.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.56/10.65, allocations: 5.72 GB / 6.067 GB, free: 7.379 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/10.65, allocations: 71.97 kB / 6.067 GB, free: 7.309 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.98/22.63, allocations: 4.515 GB / 10.58 GB, free: 4.062 MB / 0.6203 GB Notification: Performance of FrontEnd: time 1.863e-06/22.63, allocations: 0 / 10.58 GB, free: 4.062 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 4.547e-05/22.63, allocations: 15.12 kB / 10.58 GB, free: 4.051 MB / 0.6203 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.04348/22.68, allocations: 2.232 MB / 10.58 GB, free: 2.121 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/22.68, allocations: 16.03 kB / 10.58 GB, free: 2.105 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006919/22.68, allocations: 87.31 kB / 10.58 GB, free: 2.02 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/22.68, allocations: 374.1 kB / 10.58 GB, free: 1.68 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/22.68, allocations: 37.38 kB / 10.58 GB, free: 1.656 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.055e-05/22.68, allocations: 47.81 kB / 10.58 GB, free: 1.625 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009448/22.68, allocations: 0.6135 MB / 10.59 GB, free: 1.145 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/22.68, allocations: 4.344 kB / 10.59 GB, free: 1.141 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.509e-05/22.68, allocations: 22.2 kB / 10.59 GB, free: 1.133 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/22.68, allocations: 12 kB / 10.59 GB, free: 1.121 MB / 0.6203 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008126/22.68, allocations: 0.5259 MB / 10.59 GB, free: 0.7539 MB / 0.6203 GB 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.007501/22.69, allocations: 6.084 MB / 10.59 GB, free: 10.93 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/22.69, allocations: 431.1 kB / 10.59 GB, free: 10.64 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003182/22.69, allocations: 2.847 MB / 10.59 GB, free: 7.422 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/22.69, allocations: 37.5 kB / 10.59 GB, free: 7.379 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=46): time 2.274e-06/22.69, allocations: 0 / 10.59 GB, free: 7.379 MB / 0.6359 GB Notification: Performance of matching and sorting (n=54): time 0.008227/22.7, allocations: 2.031 MB / 10.6 GB, free: 5.738 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/22.7, allocations: 59.83 kB / 10.6 GB, free: 5.668 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/22.7, allocations: 273.2 kB / 10.6 GB, free: 5.441 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/22.7, allocations: 40.77 kB / 10.6 GB, free: 5.402 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/22.7, allocations: 225.4 kB / 10.6 GB, free: 5.18 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/22.7, allocations: 196.3 kB / 10.6 GB, free: 4.992 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/22.7, allocations: 15.94 kB / 10.6 GB, free: 4.977 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 0.0001271/22.7, allocations: 350.8 kB / 10.6 GB, free: 4.625 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/22.7, allocations: 177.2 kB / 10.6 GB, free: 4.453 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/22.7, allocations: 324.1 kB / 10.6 GB, free: 4.078 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/22.7, allocations: 228.7 kB / 10.6 GB, free: 3.852 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/22.7, allocations: 0 / 10.6 GB, free: 3.852 MB / 0.6359 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001169/22.7, allocations: 0.6731 MB / 10.6 GB, free: 3.168 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/22.7, allocations: 5.719 kB / 10.6 GB, free: 3.164 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/22.7, allocations: 8 kB / 10.6 GB, free: 3.156 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/22.72, allocations: 0.5607 MB / 10.6 GB, free: 2.586 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/22.72, allocations: 139.8 kB / 10.6 GB, free: 2.449 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3032/23.02, allocations: 2.981 MB / 10.6 GB, free: 117.9 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/23.02, allocations: 48.59 kB / 10.6 GB, free: 117.9 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/23.02, allocations: 28.19 kB / 10.6 GB, free: 117.9 MB / 0.6359 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 () * 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.0003034/23.02, allocations: 188.4 kB / 10.6 GB, free: 117.8 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/23.02, allocations: 47.12 kB / 10.6 GB, free: 117.8 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/23.02, allocations: 1.065 MB / 10.6 GB, free: 117.7 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/23.02, allocations: 15.34 kB / 10.6 GB, free: 117.7 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/23.02, allocations: 0 / 10.6 GB, free: 117.7 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009869/23.02, allocations: 1.087 MB / 10.61 GB, free: 117.3 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/23.03, allocations: 1.723 MB / 10.61 GB, free: 117 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/23.03, allocations: 1.969 kB / 10.61 GB, free: 117 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/23.03, allocations: 99.45 kB / 10.61 GB, free: 117 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003544/23.03, allocations: 398.5 kB / 10.61 GB, free: 116.9 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/23.03, allocations: 20.05 kB / 10.61 GB, free: 116.9 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004285/23.03, allocations: 1.15 MB / 10.61 GB, free: 115.9 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/23.03, allocations: 0 / 10.61 GB, free: 115.9 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/23.03, allocations: 1.128 MB / 10.61 GB, free: 115.7 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/23.03, allocations: 141.3 kB / 10.61 GB, free: 115.6 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/23.03, allocations: 11.62 kB / 10.61 GB, free: 115.6 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/23.03, allocations: 35.28 kB / 10.61 GB, free: 115.6 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/23.03, allocations: 36.12 kB / 10.61 GB, free: 115.6 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/23.03, allocations: 23.02 kB / 10.61 GB, free: 115.6 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.0002098/23.03, allocations: 243.1 kB / 10.61 GB, free: 115.5 MB / 0.6359 GB Notification: Performance of sort global known variables: time 2.3e-07/23.03, allocations: 4.281 kB / 10.61 GB, free: 115.5 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.01433/23.05, allocations: 1.119 MB / 10.61 GB, free: 115.5 MB / 0.6359 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 () * 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.1366/23.18, allocations: 23.7 MB / 10.63 GB, free: 103.7 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.001429/23.18, allocations: 0.6926 MB / 10.63 GB, free: 103.6 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/23.18, allocations: 0 / 10.63 GB, free: 103.6 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.0005225/23.18, allocations: 367.2 kB / 10.64 GB, free: 103.6 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/23.19, allocations: 262.4 kB / 10.64 GB, free: 103.6 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/23.19, allocations: 1.599 MB / 10.64 GB, free: 102.9 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/23.19, allocations: 0.8758 MB / 10.64 GB, free: 102.2 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.0004836/23.19, allocations: 241.5 kB / 10.64 GB, free: 102.2 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/23.19, allocations: 51.8 kB / 10.64 GB, free: 102.2 MB / 0.6359 GB Notification: Performance of SimCode: time 9.82e-07/23.19, allocations: 0 / 10.64 GB, free: 102.2 MB / 0.6359 GB Notification: Performance of Templates: time 0.05336/23.24, allocations: 42.38 MB / 10.68 GB, free: 99.62 MB / 0.6359 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)