Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.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.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00103/0.00103, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.291/1.291, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.00167/0.00167, allocations: 111.2 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09895/0.09941, allocations: 44.5 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.75/10.85, allocations: 5.72 GB / 6.067 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/10.85, allocations: 69.14 kB / 6.067 GB, free: 7.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.417/20.27, allocations: 3.494 GB / 9.561 GB, free: 91.31 MB / 0.589 GB Notification: Performance of FrontEnd: time 1.693e-06/20.27, allocations: 0 / 9.561 GB, free: 91.31 MB / 0.589 GB Notification: Performance of Transformations before backend: time 2.134e-05/20.27, allocations: 7.062 kB / 9.561 GB, free: 91.31 MB / 0.589 GB 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.04643/20.31, allocations: 1.693 MB / 9.562 GB, free: 90.42 MB / 0.589 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/20.31, allocations: 7.75 kB / 9.562 GB, free: 90.42 MB / 0.589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005608/20.31, allocations: 69.81 kB / 9.563 GB, free: 90.4 MB / 0.589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/20.31, allocations: 321.3 kB / 9.563 GB, free: 90.19 MB / 0.589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/20.31, allocations: 26.78 kB / 9.563 GB, free: 90.19 MB / 0.589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/20.31, allocations: 37.41 kB / 9.563 GB, free: 90.18 MB / 0.589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007629/20.31, allocations: 457 kB / 9.563 GB, free: 90.05 MB / 0.589 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/20.31, allocations: 3.219 kB / 9.563 GB, free: 90.05 MB / 0.589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/20.31, allocations: 17.09 kB / 9.563 GB, free: 90.05 MB / 0.589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/20.31, allocations: 7.062 kB / 9.563 GB, free: 90.05 MB / 0.589 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/20.31, allocations: 383.7 kB / 9.564 GB, free: 90.04 MB / 0.589 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.005636/20.32, allocations: 5.239 MB / 9.569 GB, free: 88.02 MB / 0.589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/20.32, allocations: 294.4 kB / 9.569 GB, free: 87.99 MB / 0.589 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002046/20.32, allocations: 2.055 MB / 9.571 GB, free: 86.2 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/20.32, allocations: 37.09 kB / 9.571 GB, free: 86.16 MB / 0.589 GB Notification: Performance of pre-optimization done (n=30): time 3.777e-06/20.32, allocations: 2.062 kB / 9.571 GB, free: 86.16 MB / 0.589 GB Notification: Performance of matching and sorting (n=34): time 0.004514/20.33, allocations: 1.282 MB / 9.572 GB, free: 85.72 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/20.33, allocations: 55.38 kB / 9.572 GB, free: 85.66 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/20.33, allocations: 237 kB / 9.573 GB, free: 85.56 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/20.33, allocations: 29.39 kB / 9.573 GB, free: 85.53 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/20.33, allocations: 189 kB / 9.573 GB, free: 85.4 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/20.33, allocations: 122.5 kB / 9.573 GB, free: 85.34 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/20.33, allocations: 5.375 kB / 9.573 GB, free: 85.34 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/20.33, allocations: 351 kB / 9.573 GB, free: 85.02 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/20.33, allocations: 108.5 kB / 9.573 GB, free: 85.02 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/20.33, allocations: 217.3 kB / 9.574 GB, free: 84.89 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/20.33, allocations: 152.7 kB / 9.574 GB, free: 84.88 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/20.33, allocations: 0 / 9.574 GB, free: 84.88 MB / 0.589 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006873/20.33, allocations: 464.2 kB / 9.574 GB, free: 84.78 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/20.33, allocations: 8.438 kB / 9.574 GB, free: 84.78 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/20.33, allocations: 6.5 kB / 9.574 GB, free: 84.78 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006331/20.34, allocations: 290.5 kB / 9.575 GB, free: 84.76 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/20.34, allocations: 89.52 kB / 9.575 GB, free: 84.75 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/20.34, allocations: 1.847 MB / 9.576 GB, free: 82.98 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/20.34, allocations: 35.34 kB / 9.576 GB, free: 82.97 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/20.34, allocations: 18.86 kB / 9.576 GB, free: 82.97 MB / 0.589 GB 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 () * Number of clocked 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.0002067/20.34, allocations: 174.6 kB / 9.577 GB, free: 82.84 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.718e-05/20.34, allocations: 25.91 kB / 9.577 GB, free: 82.83 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008896/20.34, allocations: 0.6965 MB / 9.577 GB, free: 82.74 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/20.34, allocations: 12.39 kB / 9.577 GB, free: 82.74 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/20.34, allocations: 0 / 9.577 GB, free: 82.74 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006364/20.34, allocations: 0.8598 MB / 9.578 GB, free: 82.27 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/20.34, allocations: 1.193 MB / 9.579 GB, free: 81.95 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/20.34, allocations: 0 / 9.579 GB, free: 81.95 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/20.34, allocations: 62.05 kB / 9.579 GB, free: 81.94 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/20.34, allocations: 194.6 kB / 9.58 GB, free: 81.93 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/20.34, allocations: 16.33 kB / 9.58 GB, free: 81.93 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00025/20.34, allocations: 0.5806 MB / 9.58 GB, free: 81.4 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/20.34, allocations: 0 / 9.58 GB, free: 81.4 MB / 0.589 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/20.34, allocations: 0.7323 MB / 9.581 GB, free: 81.22 MB / 0.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/20.34, allocations: 127 kB / 9.581 GB, free: 81.11 MB / 0.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/20.34, allocations: 8.953 kB / 9.581 GB, free: 81.11 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/20.34, allocations: 27.09 kB / 9.581 GB, free: 81.1 MB / 0.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/20.34, allocations: 21.17 kB / 9.581 GB, free: 81.1 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/20.34, allocations: 16.66 kB / 9.581 GB, free: 81.1 MB / 0.589 GB Notification: Performance of sorting global known variables: time 0.0001919/20.34, allocations: 215.8 kB / 9.581 GB, free: 81.02 MB / 0.589 GB Notification: Performance of sort global known variables: time 1.31e-07/20.34, allocations: 0 / 9.581 GB, free: 81.02 MB / 0.589 GB Notification: Performance of remove unused functions: time 0.01307/20.36, allocations: 0.8562 MB / 9.582 GB, free: 80.88 MB / 0.589 GB 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 () * Number of clocked 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.1123/20.47, allocations: 19.07 MB / 9.601 GB, free: 63.31 MB / 0.589 GB Notification: Performance of simCode: created initialization part: time 0.001103/20.47, allocations: 476.7 kB / 9.601 GB, free: 62.98 MB / 0.589 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/20.47, allocations: 0 / 9.601 GB, free: 62.98 MB / 0.589 GB Notification: Performance of simCode: created simulation system equations: time 0.0003553/20.47, allocations: 227.3 kB / 9.601 GB, free: 62.86 MB / 0.589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/20.47, allocations: 179.7 kB / 9.602 GB, free: 62.76 MB / 0.589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/20.47, allocations: 1.081 MB / 9.603 GB, free: 61.88 MB / 0.589 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/20.47, allocations: 0.8154 MB / 9.603 GB, free: 61.09 MB / 0.589 GB Notification: Performance of simCode: alias equations: time 0.0003569/20.47, allocations: 190.6 kB / 9.604 GB, free: 60.97 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/20.47, allocations: 47.02 kB / 9.604 GB, free: 60.93 MB / 0.589 GB Notification: Performance of SimCode: time 4.41e-07/20.47, allocations: 0 / 9.604 GB, free: 60.93 MB / 0.589 GB Notification: Performance of Templates: time 0.03879/20.51, allocations: 33.47 MB / 9.636 GB, free: 34.26 MB / 0.589 GB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1)