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.001066/0.001066, allocations: 187.8 kB / 8.353 MB, free: 0.707 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.528/1.528, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00159/0.00159, allocations: 117.8 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.694e-05/1.695e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09481, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.66/13.76, allocations: 5.72 GB / 6.054 GB, free: 33.07 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/13.76, allocations: 75.95 kB / 6.054 GB, free: 33 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 11.05/24.8, allocations: 3.461 GB / 9.515 GB, free: 105.5 MB / 0.5892 GB Notification: Performance of FrontEnd: time 1.904e-06/24.8, allocations: 0 / 9.515 GB, free: 105.5 MB / 0.5892 GB Notification: Performance of Transformations before backend: time 4.282e-05/24.8, allocations: 8.453 kB / 9.515 GB, free: 105.5 MB / 0.5892 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.03879/24.84, allocations: 1.677 MB / 9.516 GB, free: 104.7 MB / 0.5892 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/24.84, allocations: 6.438 kB / 9.516 GB, free: 104.7 MB / 0.5892 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000626/24.84, allocations: 66.17 kB / 9.516 GB, free: 104.7 MB / 0.5892 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/24.84, allocations: 322 kB / 9.517 GB, free: 104.5 MB / 0.5892 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/24.84, allocations: 15.25 kB / 9.517 GB, free: 104.5 MB / 0.5892 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/24.84, allocations: 20.75 kB / 9.517 GB, free: 104.5 MB / 0.5892 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004721/24.84, allocations: 319.5 kB / 9.517 GB, free: 104.5 MB / 0.5892 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/24.85, allocations: 383.5 kB / 9.518 GB, free: 104.3 MB / 0.5892 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/24.85, allocations: 3.938 kB / 9.518 GB, free: 104.3 MB / 0.5892 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/24.85, allocations: 0 / 9.518 GB, free: 104.3 MB / 0.5892 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/24.85, allocations: 11.59 kB / 9.518 GB, free: 104.3 MB / 0.5892 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.005459/24.85, allocations: 5.561 MB / 9.523 GB, free: 102 MB / 0.5892 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003135/24.85, allocations: 213.7 kB / 9.523 GB, free: 102 MB / 0.5892 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/24.85, allocations: 117.8 kB / 9.523 GB, free: 102 MB / 0.5892 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001717/24.85, allocations: 1.648 MB / 9.525 GB, free: 100.5 MB / 0.5892 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/24.85, allocations: 44.17 kB / 9.525 GB, free: 100.5 MB / 0.5892 GB Notification: Performance of pre-optimization done (n=28): time 2.574e-06/24.85, allocations: 0 / 9.525 GB, free: 100.5 MB / 0.5892 GB Notification: Performance of matching and sorting (n=32): time 0.007862/24.86, allocations: 1.44 MB / 9.526 GB, free: 100.2 MB / 0.5892 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/24.86, allocations: 59.31 kB / 9.526 GB, free: 100.1 MB / 0.5892 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/24.86, allocations: 201 kB / 9.527 GB, free: 100 MB / 0.5892 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/24.86, allocations: 25.7 kB / 9.527 GB, free: 99.98 MB / 0.5892 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/24.86, allocations: 197.9 kB / 9.527 GB, free: 99.85 MB / 0.5892 GB Notification: Performance of collectInitialBindings (initialization): time 7.366e-05/24.86, allocations: 112.4 kB / 9.527 GB, free: 99.79 MB / 0.5892 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/24.86, allocations: 4 kB / 9.527 GB, free: 99.79 MB / 0.5892 GB Notification: Performance of setup shared object (initialization): time 6.911e-05/24.86, allocations: 332.9 kB / 9.527 GB, free: 99.48 MB / 0.5892 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/24.86, allocations: 104.7 kB / 9.527 GB, free: 99.48 MB / 0.5892 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/24.86, allocations: 212.6 kB / 9.528 GB, free: 99.34 MB / 0.5892 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/24.86, allocations: 327.8 kB / 9.528 GB, free: 99.34 MB / 0.5892 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/24.86, allocations: 6.578 kB / 9.528 GB, free: 99.33 MB / 0.5892 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00267/24.87, allocations: 0.5923 MB / 9.528 GB, free: 99.26 MB / 0.5892 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/24.87, allocations: 3.844 kB / 9.528 GB, free: 99.26 MB / 0.5892 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/24.87, allocations: 6.469 kB / 9.528 GB, free: 99.26 MB / 0.5892 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/24.87, allocations: 56.75 kB / 9.528 GB, free: 99.25 MB / 0.5892 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/24.87, allocations: 89.5 kB / 9.529 GB, free: 99.25 MB / 0.5892 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/24.87, allocations: 1.893 MB / 9.53 GB, free: 97.54 MB / 0.5892 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/24.87, allocations: 34.17 kB / 9.53 GB, free: 97.52 MB / 0.5892 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/24.87, allocations: 18.31 kB / 9.53 GB, free: 97.52 MB / 0.5892 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.0001213/24.87, allocations: 127 kB / 9.531 GB, free: 97.41 MB / 0.5892 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/24.87, allocations: 24.66 kB / 9.531 GB, free: 97.4 MB / 0.5892 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/24.87, allocations: 0.6838 MB / 9.531 GB, free: 97.32 MB / 0.5892 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/24.87, allocations: 10.42 kB / 9.531 GB, free: 97.32 MB / 0.5892 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/24.87, allocations: 0 / 9.531 GB, free: 97.32 MB / 0.5892 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/24.87, allocations: 0.863 MB / 9.532 GB, free: 96.84 MB / 0.5892 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/24.87, allocations: 1.107 MB / 9.533 GB, free: 96.54 MB / 0.5892 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/24.87, allocations: 0 / 9.533 GB, free: 96.54 MB / 0.5892 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/24.87, allocations: 63.72 kB / 9.533 GB, free: 96.54 MB / 0.5892 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001995/24.88, allocations: 62.64 kB / 9.533 GB, free: 96.53 MB / 0.5892 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/24.88, allocations: 7.516 kB / 9.533 GB, free: 96.53 MB / 0.5892 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003151/24.88, allocations: 0.5967 MB / 9.534 GB, free: 96.01 MB / 0.5892 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/24.88, allocations: 2.156 kB / 9.534 GB, free: 96.01 MB / 0.5892 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/24.88, allocations: 0.7688 MB / 9.535 GB, free: 95.78 MB / 0.5892 GB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/24.88, allocations: 114.3 kB / 9.535 GB, free: 95.67 MB / 0.5892 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/24.88, allocations: 0 / 9.535 GB, free: 95.67 MB / 0.5892 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/24.88, allocations: 11.78 kB / 9.535 GB, free: 95.67 MB / 0.5892 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/24.88, allocations: 28 kB / 9.535 GB, free: 95.66 MB / 0.5892 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/24.88, allocations: 13.89 kB / 9.535 GB, free: 95.66 MB / 0.5892 GB Notification: Performance of sorting global known variables: time 0.000126/24.88, allocations: 163.1 kB / 9.535 GB, free: 95.59 MB / 0.5892 GB Notification: Performance of sort global known variables: time 1.2e-07/24.88, allocations: 0 / 9.535 GB, free: 95.59 MB / 0.5892 GB Notification: Performance of remove unused functions: time 0.01534/24.89, allocations: 0.8255 MB / 9.536 GB, free: 95.45 MB / 0.5892 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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.1551/25.05, allocations: 19.14 MB / 9.554 GB, free: 85.61 MB / 0.5892 GB Notification: Performance of simCode: created initialization part: time 0.001279/25.05, allocations: 456.7 kB / 9.555 GB, free: 85.5 MB / 0.5892 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/25.05, allocations: 0 / 9.555 GB, free: 85.5 MB / 0.5892 GB Notification: Performance of simCode: created simulation system equations: time 0.0004373/25.05, allocations: 217 kB / 9.555 GB, free: 85.49 MB / 0.5892 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009942/25.05, allocations: 141.6 kB / 9.555 GB, free: 85.48 MB / 0.5892 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/25.05, allocations: 0.6149 MB / 9.556 GB, free: 85.21 MB / 0.5892 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/25.05, allocations: 0.8053 MB / 9.557 GB, free: 84.51 MB / 0.5892 GB Notification: Performance of simCode: alias equations: time 0.0005273/25.05, allocations: 243.1 kB / 9.557 GB, free: 84.5 MB / 0.5892 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/25.05, allocations: 34.14 kB / 9.557 GB, free: 84.49 MB / 0.5892 GB Notification: Performance of SimCode: time 6.41e-07/25.05, allocations: 1.844 kB / 9.557 GB, free: 84.49 MB / 0.5892 GB Notification: Performance of Templates: time 0.04233/25.1, allocations: 28.94 MB / 9.585 GB, free: 70.36 MB / 0.5892 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)