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.001148/0.001148, allocations: 182.5 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.54/1.54, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001712/0.001712, allocations: 126.2 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.451e-05, allocations: 0 / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08817/0.08822, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.36/13.45, allocations: 5.72 GB / 6.061 GB, free: 11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/13.45, allocations: 73.33 kB / 6.062 GB, free: 10.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.19/24.64, allocations: 3.492 GB / 9.554 GB, free: 96.23 MB / 0.5888 GB Notification: Performance of FrontEnd: time 1.873e-06/24.64, allocations: 0 / 9.554 GB, free: 96.23 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 2.402e-05/24.64, allocations: 11.84 kB / 9.554 GB, free: 96.22 MB / 0.5888 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.04685/24.69, allocations: 1.669 MB / 9.555 GB, free: 95.32 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/24.69, allocations: 7.469 kB / 9.555 GB, free: 95.32 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/24.69, allocations: 68.09 kB / 9.555 GB, free: 95.31 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/24.69, allocations: 326.6 kB / 9.556 GB, free: 95.09 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/24.69, allocations: 22.12 kB / 9.556 GB, free: 95.09 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/24.69, allocations: 34.28 kB / 9.556 GB, free: 95.09 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/24.69, allocations: 461.7 kB / 9.556 GB, free: 94.96 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/24.69, allocations: 0 / 9.556 GB, free: 94.96 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/24.69, allocations: 17.81 kB / 9.556 GB, free: 94.96 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/24.69, allocations: 10.81 kB / 9.556 GB, free: 94.96 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006673/24.69, allocations: 380.4 kB / 9.556 GB, free: 94.95 MB / 0.5888 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.006129/24.7, allocations: 5.242 MB / 9.562 GB, free: 92.95 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006216/24.7, allocations: 287.5 kB / 9.562 GB, free: 92.91 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/24.7, allocations: 134.1 kB / 9.562 GB, free: 92.9 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00226/24.7, allocations: 2.068 MB / 9.564 GB, free: 91.11 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/24.7, allocations: 38.61 kB / 9.564 GB, free: 91.06 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=30): time 4.078e-06/24.7, allocations: 3.688 kB / 9.564 GB, free: 91.06 MB / 0.5888 GB Notification: Performance of matching and sorting (n=34): time 0.00491/24.71, allocations: 1.123 MB / 9.565 GB, free: 90.72 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/24.71, allocations: 54 kB / 9.565 GB, free: 90.66 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/24.71, allocations: 234 kB / 9.565 GB, free: 90.55 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/24.71, allocations: 32.39 kB / 9.565 GB, free: 90.52 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/24.71, allocations: 190 kB / 9.566 GB, free: 90.39 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/24.71, allocations: 123 kB / 9.566 GB, free: 90.33 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/24.71, allocations: 9.781 kB / 9.566 GB, free: 90.33 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 0.000112/24.71, allocations: 340.2 kB / 9.566 GB, free: 90.02 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/24.71, allocations: 104.9 kB / 9.566 GB, free: 90.02 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/24.71, allocations: 223 kB / 9.566 GB, free: 89.89 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/24.71, allocations: 140.7 kB / 9.566 GB, free: 89.88 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/24.71, allocations: 7.641 kB / 9.567 GB, free: 89.88 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007381/24.71, allocations: 446.4 kB / 9.567 GB, free: 89.79 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/24.71, allocations: 12.06 kB / 9.567 GB, free: 89.79 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/24.71, allocations: 3.875 kB / 9.567 GB, free: 89.79 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006902/24.72, allocations: 296.8 kB / 9.567 GB, free: 89.77 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/24.72, allocations: 87.92 kB / 9.567 GB, free: 89.76 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/24.72, allocations: 1.846 MB / 9.569 GB, free: 87.98 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/24.72, allocations: 30.47 kB / 9.569 GB, free: 87.97 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/24.72, allocations: 20.17 kB / 9.569 GB, free: 87.97 MB / 0.5888 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 () * 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.0001218/24.72, allocations: 132.5 kB / 9.569 GB, free: 87.86 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/24.72, allocations: 31.16 kB / 9.569 GB, free: 87.84 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/24.72, allocations: 0.7038 MB / 9.57 GB, free: 87.73 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/24.72, allocations: 11.56 kB / 9.57 GB, free: 87.73 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/24.72, allocations: 2.406 kB / 9.57 GB, free: 87.73 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007895/24.72, allocations: 0.8522 MB / 9.571 GB, free: 87.27 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/24.72, allocations: 1.19 MB / 9.572 GB, free: 86.93 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/24.72, allocations: 3.938 kB / 9.572 GB, free: 86.93 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/24.72, allocations: 67.05 kB / 9.572 GB, free: 86.92 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/24.72, allocations: 193.9 kB / 9.572 GB, free: 86.91 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/24.72, allocations: 9 kB / 9.572 GB, free: 86.91 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002576/24.72, allocations: 0.5696 MB / 9.573 GB, free: 86.39 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/24.72, allocations: 2.594 kB / 9.573 GB, free: 86.39 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008579/24.73, allocations: 0.7275 MB / 9.574 GB, free: 86.21 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/24.73, allocations: 129 kB / 9.574 GB, free: 86.1 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/24.73, allocations: 4.875 kB / 9.574 GB, free: 86.1 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/24.73, allocations: 22.02 kB / 9.574 GB, free: 86.1 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/24.73, allocations: 24.39 kB / 9.574 GB, free: 86.09 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/24.73, allocations: 12.05 kB / 9.574 GB, free: 86.09 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0002245/24.73, allocations: 220.5 kB / 9.574 GB, free: 86.01 MB / 0.5888 GB Notification: Performance of sort global known variables: time 1.3e-07/24.73, allocations: 0 / 9.574 GB, free: 86.01 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01798/24.74, allocations: 0.8481 MB / 9.575 GB, free: 85.88 MB / 0.5888 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 () * 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.1261/24.87, allocations: 19.08 MB / 9.593 GB, free: 72.41 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.001133/24.87, allocations: 487.6 kB / 9.594 GB, free: 72.05 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/24.87, allocations: 0 / 9.594 GB, free: 72.05 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/24.87, allocations: 212.5 kB / 9.594 GB, free: 71.93 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/24.87, allocations: 181.3 kB / 9.594 GB, free: 71.83 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/24.87, allocations: 0.6579 MB / 9.595 GB, free: 71.31 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/24.87, allocations: 0.8199 MB / 9.596 GB, free: 70.52 MB / 0.5888 GB Notification: Performance of simCode: alias equations: time 0.000379/24.87, allocations: 186.1 kB / 9.596 GB, free: 70.41 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/24.88, allocations: 43.09 kB / 9.596 GB, free: 70.37 MB / 0.5888 GB Notification: Performance of SimCode: time 8.22e-07/24.88, allocations: 0 / 9.596 GB, free: 70.37 MB / 0.5888 GB Notification: Performance of Templates: time 0.0434/24.92, allocations: 34.96 MB / 9.63 GB, free: 43.16 MB / 0.5888 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)