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.006579/0.006579, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.353/1.353, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001621/0.001621, allocations: 107.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 12 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2203, allocations: 38.77 MB / 312.9 MB, free: 38.73 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.6/13.82, allocations: 5.484 GB / 5.79 GB, free: 99.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/13.82, allocations: 75 kB / 5.79 GB, free: 99.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.235/17.05, allocations: 0.8107 GB / 6.6 GB, free: 53.4 MB / 458.9 MB Notification: Performance of FrontEnd: time 2.014e-06/17.05, allocations: 0 / 6.6 GB, free: 53.4 MB / 458.9 MB Notification: Performance of Transformations before backend: time 3.971e-05/17.05, allocations: 7.906 kB / 6.6 GB, free: 53.4 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.02524/17.08, allocations: 1.271 MB / 6.602 GB, free: 52.68 MB / 458.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/17.08, allocations: 10 kB / 6.602 GB, free: 52.68 MB / 458.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/17.08, allocations: 66.16 kB / 6.602 GB, free: 52.67 MB / 458.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/17.08, allocations: 325.3 kB / 6.602 GB, free: 52.45 MB / 458.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/17.08, allocations: 28.75 kB / 6.602 GB, free: 52.45 MB / 458.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.71e-05/17.08, allocations: 28.97 kB / 6.602 GB, free: 52.45 MB / 458.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008294/17.08, allocations: 463.8 kB / 6.603 GB, free: 52.32 MB / 458.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/17.08, allocations: 5.531 kB / 6.603 GB, free: 52.32 MB / 458.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.199e-05/17.08, allocations: 12.28 kB / 6.603 GB, free: 52.32 MB / 458.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/17.08, allocations: 13.91 kB / 6.603 GB, free: 52.32 MB / 458.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006179/17.08, allocations: 383.2 kB / 6.603 GB, free: 52.31 MB / 458.9 MB 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.006094/17.09, allocations: 5.233 MB / 6.608 GB, free: 50.33 MB / 458.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006116/17.09, allocations: 291.1 kB / 6.608 GB, free: 50.3 MB / 458.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002225/17.09, allocations: 2.064 MB / 6.61 GB, free: 48.52 MB / 458.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/17.09, allocations: 34.41 kB / 6.61 GB, free: 48.48 MB / 458.9 MB Notification: Performance of pre-optimization done (n=30): time 2.745e-06/17.09, allocations: 0 / 6.61 GB, free: 48.48 MB / 458.9 MB Notification: Performance of matching and sorting (n=34): time 0.004694/17.1, allocations: 1.288 MB / 6.612 GB, free: 47.8 MB / 458.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/17.1, allocations: 57.62 kB / 6.612 GB, free: 47.74 MB / 458.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/17.1, allocations: 233.7 kB / 6.612 GB, free: 47.6 MB / 458.9 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/17.1, allocations: 33.64 kB / 6.612 GB, free: 47.56 MB / 458.9 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/17.1, allocations: 188.3 kB / 6.612 GB, free: 47.41 MB / 458.9 MB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/17.1, allocations: 123.9 kB / 6.612 GB, free: 47.34 MB / 458.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/17.1, allocations: 8 kB / 6.612 GB, free: 47.33 MB / 458.9 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/17.1, allocations: 340.7 kB / 6.613 GB, free: 47 MB / 458.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/17.1, allocations: 108.2 kB / 6.613 GB, free: 46.96 MB / 458.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/17.1, allocations: 230.9 kB / 6.613 GB, free: 46.78 MB / 458.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/17.1, allocations: 140.3 kB / 6.613 GB, free: 46.72 MB / 458.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/17.1, allocations: 0 / 6.613 GB, free: 46.72 MB / 458.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007276/17.1, allocations: 457 kB / 6.614 GB, free: 46.51 MB / 458.9 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/17.1, allocations: 8.703 kB / 6.614 GB, free: 46.5 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/17.1, allocations: 5.094 kB / 6.614 GB, free: 46.5 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006597/17.1, allocations: 292.8 kB / 6.614 GB, free: 46.45 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/17.1, allocations: 87.39 kB / 6.614 GB, free: 46.45 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/17.11, allocations: 1.852 MB / 6.616 GB, free: 44.59 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/17.11, allocations: 34.28 kB / 6.616 GB, free: 44.58 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/17.11, allocations: 18.67 kB / 6.616 GB, free: 44.58 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 () * 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.0002427/17.11, allocations: 165.5 kB / 6.616 GB, free: 44.43 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/17.11, allocations: 32.69 kB / 6.616 GB, free: 44.41 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/17.11, allocations: 0.6988 MB / 6.617 GB, free: 44.09 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/17.11, allocations: 6.281 kB / 6.617 GB, free: 44.09 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/17.11, allocations: 0 / 6.617 GB, free: 44.09 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006807/17.11, allocations: 0.8579 MB / 6.617 GB, free: 43.43 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/17.11, allocations: 1.194 MB / 6.619 GB, free: 42.75 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/17.11, allocations: 1.281 kB / 6.619 GB, free: 42.75 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/17.11, allocations: 61.56 kB / 6.619 GB, free: 42.74 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/17.11, allocations: 203.2 kB / 6.619 GB, free: 42.71 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/17.11, allocations: 9.688 kB / 6.619 GB, free: 42.7 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002673/17.11, allocations: 0.5689 MB / 6.619 GB, free: 42.15 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/17.11, allocations: 7.875 kB / 6.619 GB, free: 42.14 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008384/17.11, allocations: 0.7372 MB / 6.62 GB, free: 41.74 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/17.11, allocations: 131.2 kB / 6.62 GB, free: 41.62 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/17.11, allocations: 10.56 kB / 6.62 GB, free: 41.61 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/17.11, allocations: 17.23 kB / 6.62 GB, free: 41.61 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/17.11, allocations: 28.8 kB / 6.62 GB, free: 41.6 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/17.11, allocations: 11.92 kB / 6.62 GB, free: 41.6 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0001939/17.11, allocations: 220.9 kB / 6.621 GB, free: 41.48 MB / 458.9 MB Notification: Performance of sort global known variables: time 1.4e-07/17.11, allocations: 0 / 6.621 GB, free: 41.48 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01524/17.13, allocations: 0.851 MB / 6.621 GB, free: 41.27 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 () * 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.1156/17.24, allocations: 19.06 MB / 6.64 GB, free: 31.56 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.001198/17.25, allocations: 485.1 kB / 6.641 GB, free: 31.32 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/17.25, allocations: 0 / 6.641 GB, free: 31.32 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/17.25, allocations: 225.4 kB / 6.641 GB, free: 31.22 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/17.25, allocations: 184.4 kB / 6.641 GB, free: 31.19 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/17.25, allocations: 1.078 MB / 6.642 GB, free: 30.61 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/17.25, allocations: 0.8207 MB / 6.643 GB, free: 29.91 MB / 458.9 MB Notification: Performance of simCode: alias equations: time 0.0004107/17.25, allocations: 183.8 kB / 6.643 GB, free: 29.89 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/17.25, allocations: 40.69 kB / 6.643 GB, free: 29.89 MB / 458.9 MB Notification: Performance of SimCode: time 9.62e-07/17.25, allocations: 2.625 kB / 6.643 GB, free: 29.89 MB / 458.9 MB Notification: Performance of Templates: time 0.04069/17.29, allocations: 33.42 MB / 6.676 GB, free: 5.715 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)