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.002943/0.002943, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.444/1.444, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001737/0.001737, allocations: 111.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.984e-05/1.986e-05, allocations: 4 kB / 262.2 MB, free: 26.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08755, allocations: 38.79 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.22/14.31, allocations: 5.483 GB / 5.777 GB, free: 85.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/14.31, allocations: 74.58 kB / 5.777 GB, free: 85.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276/17.58, allocations: 0.7888 GB / 6.566 GB, free: 39.25 MB / 442.9 MB Notification: Performance of FrontEnd: time 2.084e-06/17.58, allocations: 0 / 6.566 GB, free: 39.25 MB / 442.9 MB Notification: Performance of Transformations before backend: time 3.431e-05/17.58, allocations: 6.375 kB / 6.566 GB, free: 39.25 MB / 442.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.02763/17.61, allocations: 1.257 MB / 6.567 GB, free: 38.21 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/17.61, allocations: 8.031 kB / 6.567 GB, free: 38.21 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007025/17.61, allocations: 63.95 kB / 6.567 GB, free: 38.15 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/17.61, allocations: 315.9 kB / 6.568 GB, free: 37.86 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/17.61, allocations: 12 kB / 6.568 GB, free: 37.84 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/17.61, allocations: 23.94 kB / 6.568 GB, free: 37.82 MB / 442.9 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005152/17.61, allocations: 322.6 kB / 6.568 GB, free: 37.54 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/17.61, allocations: 389 kB / 6.568 GB, free: 37.16 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/17.61, allocations: 3.938 kB / 6.568 GB, free: 37.16 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/17.61, allocations: 3.938 kB / 6.568 GB, free: 37.16 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/17.61, allocations: 8 kB / 6.568 GB, free: 37.15 MB / 442.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.006066/17.62, allocations: 5.565 MB / 6.574 GB, free: 32.09 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/17.62, allocations: 220.7 kB / 6.574 GB, free: 31.88 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/17.62, allocations: 105.6 kB / 6.574 GB, free: 31.77 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001749/17.62, allocations: 1.655 MB / 6.576 GB, free: 29.89 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/17.62, allocations: 43.02 kB / 6.576 GB, free: 29.84 MB / 442.9 MB Notification: Performance of pre-optimization done (n=28): time 2.505e-06/17.62, allocations: 0 / 6.576 GB, free: 29.84 MB / 442.9 MB Notification: Performance of matching and sorting (n=32): time 0.008136/17.63, allocations: 1.43 MB / 6.577 GB, free: 28.36 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/17.63, allocations: 59.41 kB / 6.577 GB, free: 28.29 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/17.63, allocations: 205.8 kB / 6.578 GB, free: 28.09 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/17.63, allocations: 29.7 kB / 6.578 GB, free: 28.05 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 8.997e-05/17.63, allocations: 196.1 kB / 6.578 GB, free: 27.87 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/17.63, allocations: 104.4 kB / 6.578 GB, free: 27.78 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/17.63, allocations: 3.938 kB / 6.578 GB, free: 27.77 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 6.451e-05/17.63, allocations: 338.8 kB / 6.578 GB, free: 27.43 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/17.63, allocations: 96.88 kB / 6.578 GB, free: 27.34 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/17.63, allocations: 211.2 kB / 6.578 GB, free: 27.09 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/17.63, allocations: 334.5 kB / 6.579 GB, free: 26.77 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/17.63, allocations: 4 kB / 6.579 GB, free: 26.76 MB / 442.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002722/17.64, allocations: 0.5884 MB / 6.579 GB, free: 26.16 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/17.64, allocations: 10.5 kB / 6.579 GB, free: 26.15 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/17.64, allocations: 4.375 kB / 6.579 GB, free: 26.15 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/17.64, allocations: 61.69 kB / 6.579 GB, free: 26.08 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/17.64, allocations: 87.89 kB / 6.58 GB, free: 26 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/17.64, allocations: 1.892 MB / 6.581 GB, free: 23.96 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/17.64, allocations: 26.05 kB / 6.581 GB, free: 23.94 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/17.64, allocations: 20 kB / 6.581 GB, free: 23.92 MB / 442.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.0001106/17.64, allocations: 114.8 kB / 6.582 GB, free: 23.8 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.104e-05/17.64, allocations: 27.72 kB / 6.582 GB, free: 23.78 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/17.64, allocations: 0.6829 MB / 6.582 GB, free: 23.08 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/17.64, allocations: 19.94 kB / 6.582 GB, free: 23.06 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/17.64, allocations: 3.688 kB / 6.582 GB, free: 23.06 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/17.64, allocations: 0.8492 MB / 6.583 GB, free: 22.12 MB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/17.64, allocations: 1.118 MB / 6.584 GB, free: 20.97 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/17.64, allocations: 0 / 6.584 GB, free: 20.97 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/17.64, allocations: 67.86 kB / 6.584 GB, free: 20.9 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/17.64, allocations: 52.8 kB / 6.584 GB, free: 20.85 MB / 442.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/17.64, allocations: 8 kB / 6.584 GB, free: 20.84 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003647/17.64, allocations: 0.6031 MB / 6.585 GB, free: 20.21 MB / 442.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/17.64, allocations: 4.031 kB / 6.585 GB, free: 20.21 MB / 442.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/17.65, allocations: 0.7664 MB / 6.586 GB, free: 19.4 MB / 442.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/17.65, allocations: 108.7 kB / 6.586 GB, free: 19.28 MB / 442.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/17.65, allocations: 4 kB / 6.586 GB, free: 19.28 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/17.65, allocations: 13.89 kB / 6.586 GB, free: 19.27 MB / 442.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/17.65, allocations: 28.2 kB / 6.586 GB, free: 19.24 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/17.65, allocations: 20.05 kB / 6.586 GB, free: 19.22 MB / 442.9 MB Notification: Performance of sorting global known variables: time 0.0001386/17.65, allocations: 160.5 kB / 6.586 GB, free: 19.06 MB / 442.9 MB Notification: Performance of sort global known variables: time 1.41e-07/17.65, allocations: 0 / 6.586 GB, free: 19.06 MB / 442.9 MB Notification: Performance of remove unused functions: time 0.01671/17.66, allocations: 0.8134 MB / 6.587 GB, free: 18.3 MB / 442.9 MB 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.1179/17.78, allocations: 19.14 MB / 6.605 GB, free: 15.38 MB / 458.9 MB Notification: Performance of simCode: created initialization part: time 0.001069/17.78, allocations: 457.5 kB / 6.606 GB, free: 14.92 MB / 458.9 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/17.78, allocations: 0 / 6.606 GB, free: 14.92 MB / 458.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0004422/17.78, allocations: 217.1 kB / 6.606 GB, free: 14.71 MB / 458.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009464/17.78, allocations: 140.8 kB / 6.606 GB, free: 14.57 MB / 458.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/17.78, allocations: 0.6241 MB / 6.607 GB, free: 13.92 MB / 458.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/17.78, allocations: 0.8086 MB / 6.608 GB, free: 13.08 MB / 458.9 MB Notification: Performance of simCode: alias equations: time 0.0004574/17.79, allocations: 247.3 kB / 6.608 GB, free: 12.84 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/17.79, allocations: 35.42 kB / 6.608 GB, free: 12.81 MB / 458.9 MB Notification: Performance of SimCode: time 2.51e-07/17.79, allocations: 8 kB / 6.608 GB, free: 12.8 MB / 458.9 MB Notification: Performance of Templates: time 0.2887/18.07, allocations: 28.89 MB / 6.636 GB, free: 73.39 MB / 474.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)