Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002322/0.002322, allocations: 170 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.605/1.605, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.002063/0.002063, allocations: 107.4 kB / 223.2 MB, free: 4.105 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.42e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1145, allocations: 38.78 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.22/14.33, allocations: 5.484 GB / 5.784 GB, free: 22.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/14.33, allocations: 75.95 kB / 5.785 GB, free: 21.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.634/17.97, allocations: 0.8096 GB / 6.594 GB, free: 50.84 MB / 458.9 MB Notification: Performance of FrontEnd: time 1.883e-06/17.97, allocations: 0 / 6.594 GB, free: 50.84 MB / 458.9 MB Notification: Performance of Transformations before backend: time 2.505e-05/17.97, allocations: 17.72 kB / 6.594 GB, free: 50.84 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.02398/17.99, allocations: 1.241 MB / 6.595 GB, free: 50.22 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/17.99, allocations: 7.812 kB / 6.595 GB, free: 50.22 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00058/17.99, allocations: 64.3 kB / 6.595 GB, free: 50.2 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/17.99, allocations: 331.7 kB / 6.596 GB, free: 50 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/17.99, allocations: 25.27 kB / 6.596 GB, free: 49.99 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/17.99, allocations: 33.06 kB / 6.596 GB, free: 49.99 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008381/17.99, allocations: 461.8 kB / 6.596 GB, free: 49.87 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/17.99, allocations: 0 / 6.596 GB, free: 49.87 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/17.99, allocations: 13.91 kB / 6.596 GB, free: 49.87 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/17.99, allocations: 8.75 kB / 6.596 GB, free: 49.87 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000634/17.99, allocations: 387.2 kB / 6.597 GB, free: 49.86 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.006075/18, allocations: 5.239 MB / 6.602 GB, free: 47.89 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006279/18, allocations: 294.5 kB / 6.602 GB, free: 47.86 MB / 458.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/18, allocations: 130.2 kB / 6.602 GB, free: 47.86 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002304/18, allocations: 2.061 MB / 6.604 GB, free: 46.07 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/18, allocations: 38.94 kB / 6.604 GB, free: 46.04 MB / 458.9 MB Notification: Performance of pre-optimization done (n=30): time 2.976e-06/18, allocations: 0 / 6.604 GB, free: 46.04 MB / 458.9 MB Notification: Performance of matching and sorting (n=34): time 0.004623/18.01, allocations: 1.139 MB / 6.605 GB, free: 45.69 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/18.01, allocations: 55.19 kB / 6.605 GB, free: 45.63 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/18.01, allocations: 230.9 kB / 6.606 GB, free: 45.53 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/18.01, allocations: 32.83 kB / 6.606 GB, free: 45.5 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 9.3e-05/18.01, allocations: 183 kB / 6.606 GB, free: 45.38 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/18.01, allocations: 124.7 kB / 6.606 GB, free: 45.32 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.829e-05/18.01, allocations: 10 kB / 6.606 GB, free: 45.32 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/18.01, allocations: 339.6 kB / 6.606 GB, free: 45.01 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/18.01, allocations: 106.3 kB / 6.606 GB, free: 45.01 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/18.01, allocations: 225.9 kB / 6.607 GB, free: 44.88 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/18.01, allocations: 138.5 kB / 6.607 GB, free: 44.88 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/18.01, allocations: 2.594 kB / 6.607 GB, free: 44.88 MB / 458.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007409/18.01, allocations: 451.1 kB / 6.607 GB, free: 44.81 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/18.01, allocations: 6.219 kB / 6.607 GB, free: 44.81 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/18.01, allocations: 7.219 kB / 6.607 GB, free: 44.81 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00675/18.02, allocations: 294.8 kB / 6.607 GB, free: 44.79 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/18.02, allocations: 93.59 kB / 6.607 GB, free: 44.79 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/18.02, allocations: 1.845 MB / 6.609 GB, free: 43.02 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/18.02, allocations: 31.34 kB / 6.609 GB, free: 43.02 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/18.02, allocations: 21.41 kB / 6.609 GB, free: 43.02 MB / 458.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001245/18.02, allocations: 135.5 kB / 6.609 GB, free: 42.91 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/18.02, allocations: 31.59 kB / 6.609 GB, free: 42.89 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/18.02, allocations: 0.7005 MB / 6.61 GB, free: 42.8 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/18.02, allocations: 8.531 kB / 6.61 GB, free: 42.8 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/18.02, allocations: 0 / 6.61 GB, free: 42.8 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007132/18.02, allocations: 0.8562 MB / 6.611 GB, free: 42.34 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/18.02, allocations: 1.185 MB / 6.612 GB, free: 42.02 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/18.02, allocations: 7.734 kB / 6.612 GB, free: 42.02 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/18.02, allocations: 61.02 kB / 6.612 GB, free: 42.02 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/18.02, allocations: 192.9 kB / 6.612 GB, free: 42 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/18.02, allocations: 11.78 kB / 6.612 GB, free: 42 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002587/18.02, allocations: 0.5683 MB / 6.613 GB, free: 41.49 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/18.02, allocations: 4.906 kB / 6.613 GB, free: 41.49 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009059/18.02, allocations: 0.7262 MB / 6.614 GB, free: 41.31 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/18.02, allocations: 128.5 kB / 6.614 GB, free: 41.2 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/18.02, allocations: 10.72 kB / 6.614 GB, free: 41.2 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/18.03, allocations: 23.22 kB / 6.614 GB, free: 41.2 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/18.03, allocations: 24.5 kB / 6.614 GB, free: 41.2 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/18.03, allocations: 15.34 kB / 6.614 GB, free: 41.2 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.000206/18.03, allocations: 216.7 kB / 6.614 GB, free: 41.11 MB / 458.9 MB Notification: Performance of sort global known variables: time 2.9e-07/18.03, allocations: 0 / 6.614 GB, free: 41.11 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01743/18.04, allocations: 0.8575 MB / 6.615 GB, free: 40.97 MB / 458.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.12/18.16, allocations: 19.05 MB / 6.634 GB, free: 31.49 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.001243/18.16, allocations: 484.4 kB / 6.634 GB, free: 31.38 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/18.16, allocations: 3.938 kB / 6.634 GB, free: 31.37 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/18.16, allocations: 218 kB / 6.634 GB, free: 31.36 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/18.17, allocations: 185.3 kB / 6.634 GB, free: 31.36 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/18.17, allocations: 0.6457 MB / 6.635 GB, free: 31.17 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/18.17, allocations: 0.8195 MB / 6.636 GB, free: 30.47 MB / 458.9 MB Notification: Performance of simCode: alias equations: time 0.0004476/18.17, allocations: 192.3 kB / 6.636 GB, free: 30.45 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/18.17, allocations: 36.67 kB / 6.636 GB, free: 30.45 MB / 458.9 MB Notification: Performance of SimCode: time 8.01e-07/18.17, allocations: 0 / 6.636 GB, free: 30.45 MB / 458.9 MB Notification: Performance of Templates: time 0.04553/18.21, allocations: 34.88 MB / 6.67 GB, free: 27.16 MB / 458.9 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)