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.001386/0.001387, allocations: 184.1 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.599/1.599, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.001758/0.001758, allocations: 120.2 kB / 248.1 MB, free: 16 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.6e-05/1.604e-05, allocations: 4 kB / 298.1 MB, free: 35.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09242, allocations: 44.49 MB / 342.6 MB, free: 7.016 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.33/14.42, allocations: 5.72 GB / 6.054 GB, free: 101.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/14.42, allocations: 73.22 kB / 6.054 GB, free: 101.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 14.04/28.47, allocations: 4.471 GB / 10.52 GB, free: 80.99 MB / 0.62 GB Notification: Performance of FrontEnd: time 1.363e-06/28.47, allocations: 4 kB / 10.52 GB, free: 80.98 MB / 0.62 GB Notification: Performance of Transformations before backend: time 2.622e-05/28.47, allocations: 11.2 kB / 10.52 GB, free: 80.98 MB / 0.62 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.04578/28.51, allocations: 2.185 MB / 10.53 GB, free: 80.03 MB / 0.62 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/28.51, allocations: 11.77 kB / 10.53 GB, free: 80.03 MB / 0.62 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008326/28.51, allocations: 93.25 kB / 10.53 GB, free: 80 MB / 0.62 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/28.52, allocations: 374.1 kB / 10.53 GB, free: 79.8 MB / 0.62 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/28.52, allocations: 19.19 kB / 10.53 GB, free: 79.79 MB / 0.62 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.266e-05/28.52, allocations: 30.25 kB / 10.53 GB, free: 79.79 MB / 0.62 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006644/28.52, allocations: 451.5 kB / 10.53 GB, free: 79.79 MB / 0.62 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006862/28.52, allocations: 0.5191 MB / 10.53 GB, free: 79.64 MB / 0.62 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/28.52, allocations: 3.906 kB / 10.53 GB, free: 79.63 MB / 0.62 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.488e-05/28.52, allocations: 7.391 kB / 10.53 GB, free: 79.63 MB / 0.62 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/28.52, allocations: 15.11 kB / 10.53 GB, free: 79.63 MB / 0.62 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.006634/28.52, allocations: 6.399 MB / 10.53 GB, free: 76.72 MB / 0.62 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/28.52, allocations: 341.8 kB / 10.54 GB, free: 76.69 MB / 0.62 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/28.52, allocations: 188.5 kB / 10.54 GB, free: 76.67 MB / 0.62 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002406/28.53, allocations: 2.427 MB / 10.54 GB, free: 74.59 MB / 0.62 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/28.53, allocations: 39.72 kB / 10.54 GB, free: 74.55 MB / 0.62 GB Notification: Performance of pre-optimization done (n=44): time 3.006e-06/28.53, allocations: 0 / 10.54 GB, free: 74.55 MB / 0.62 GB Notification: Performance of matching and sorting (n=52): time 0.01369/28.54, allocations: 2.283 MB / 10.54 GB, free: 74.18 MB / 0.62 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/28.54, allocations: 55.75 kB / 10.54 GB, free: 74.12 MB / 0.62 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/28.54, allocations: 245.1 kB / 10.54 GB, free: 74.01 MB / 0.62 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/28.54, allocations: 25.7 kB / 10.54 GB, free: 73.98 MB / 0.62 GB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/28.54, allocations: 237.2 kB / 10.54 GB, free: 73.84 MB / 0.62 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/28.54, allocations: 179.4 kB / 10.54 GB, free: 73.75 MB / 0.62 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/28.54, allocations: 0 / 10.54 GB, free: 73.75 MB / 0.62 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/28.54, allocations: 351.5 kB / 10.54 GB, free: 73.43 MB / 0.62 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/28.54, allocations: 163.4 kB / 10.54 GB, free: 73.43 MB / 0.62 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/28.54, allocations: 308 kB / 10.54 GB, free: 73.26 MB / 0.62 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/28.55, allocations: 0.5279 MB / 10.54 GB, free: 73.25 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/28.55, allocations: 1.781 kB / 10.54 GB, free: 73.25 MB / 0.62 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004677/28.55, allocations: 0.921 MB / 10.54 GB, free: 73.16 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/28.55, allocations: 6.188 kB / 10.54 GB, free: 73.16 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/28.55, allocations: 7.469 kB / 10.54 GB, free: 73.16 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003264/28.55, allocations: 97.27 kB / 10.54 GB, free: 73.14 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/28.55, allocations: 137.9 kB / 10.54 GB, free: 73.14 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/28.56, allocations: 3.148 MB / 10.55 GB, free: 70.32 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/28.56, allocations: 38.58 kB / 10.55 GB, free: 70.31 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/28.56, allocations: 28.55 kB / 10.55 GB, free: 70.31 MB / 0.62 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.0001667/28.56, allocations: 131.5 kB / 10.55 GB, free: 70.2 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.553e-05/28.56, allocations: 39.56 kB / 10.55 GB, free: 70.18 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/28.56, allocations: 1.066 MB / 10.55 GB, free: 70.07 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/28.56, allocations: 11.23 kB / 10.55 GB, free: 70.07 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/28.56, allocations: 0 / 10.55 GB, free: 70.07 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001861/28.56, allocations: 1.104 MB / 10.55 GB, free: 69.68 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/28.56, allocations: 1.648 MB / 10.55 GB, free: 69.34 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/28.56, allocations: 1.031 kB / 10.55 GB, free: 69.34 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/28.56, allocations: 97.89 kB / 10.55 GB, free: 69.34 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003692/28.56, allocations: 117.2 kB / 10.55 GB, free: 69.32 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/28.56, allocations: 11.11 kB / 10.55 GB, free: 69.32 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005849/28.56, allocations: 1.205 MB / 10.55 GB, free: 68.27 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/28.56, allocations: 0 / 10.55 GB, free: 68.27 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/28.57, allocations: 1.176 MB / 10.55 GB, free: 68.02 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/28.57, allocations: 118.6 kB / 10.55 GB, free: 67.9 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/28.57, allocations: 2.156 kB / 10.55 GB, free: 67.9 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/28.57, allocations: 28.2 kB / 10.55 GB, free: 67.89 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/28.57, allocations: 39.39 kB / 10.55 GB, free: 67.89 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/28.57, allocations: 19.56 kB / 10.55 GB, free: 67.89 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.000175/28.57, allocations: 189.8 kB / 10.55 GB, free: 67.81 MB / 0.62 GB Notification: Performance of sort global known variables: time 1.4e-07/28.57, allocations: 0 / 10.55 GB, free: 67.81 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.01439/28.58, allocations: 1.068 MB / 10.55 GB, free: 67.63 MB / 0.62 GB 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.1384/28.72, allocations: 23.82 MB / 10.58 GB, free: 55.37 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.001666/28.72, allocations: 0.6483 MB / 10.58 GB, free: 55.26 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/28.72, allocations: 3.375 kB / 10.58 GB, free: 55.26 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.0005228/28.72, allocations: 341.5 kB / 10.58 GB, free: 55.25 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/28.72, allocations: 204.5 kB / 10.58 GB, free: 55.22 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/28.73, allocations: 0.9978 MB / 10.58 GB, free: 54.82 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/28.73, allocations: 0.8638 MB / 10.58 GB, free: 54.11 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.0005299/28.73, allocations: 296.2 kB / 10.58 GB, free: 54.08 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/28.73, allocations: 44.91 kB / 10.58 GB, free: 54.07 MB / 0.62 GB Notification: Performance of SimCode: time 8.51e-07/28.73, allocations: 0.9375 kB / 10.58 GB, free: 54.07 MB / 0.62 GB Notification: Performance of Templates: time 0.04932/28.78, allocations: 36.61 MB / 10.62 GB, free: 49.32 MB / 0.62 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)