Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.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.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009915/0.009915, allocations: 163.7 kB / 15.11 MB, free: 5.988 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.471/1.471, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.001682/0.001682, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 12 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2853, allocations: 38.76 MB / 312.9 MB, free: 38.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.044/6.33, allocations: 2.478 GB / 2.784 GB, free: 38.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/6.33, allocations: 89.03 kB / 2.784 GB, free: 38.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.792/10.12, allocations: 0.9378 GB / 3.722 GB, free: 27.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/10.12, allocations: 0 / 3.722 GB, free: 27.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001798/10.12, allocations: 59.89 kB / 3.722 GB, free: 27.14 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.01303/10.14, allocations: 3.5 MB / 3.725 GB, free: 25.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/10.14, allocations: 9.656 kB / 3.725 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/10.15, allocations: 1.12 MB / 3.726 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005015/10.15, allocations: 1.544 MB / 3.728 GB, free: 25.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000341/10.15, allocations: 349.2 kB / 3.728 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005688/10.16, allocations: 187.4 kB / 3.728 GB, free: 24.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/10.17, allocations: 3.515 MB / 3.732 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.818e-05/10.17, allocations: 7.25 kB / 3.732 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/10.17, allocations: 84.47 kB / 3.732 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/10.17, allocations: 106.8 kB / 3.732 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008104/10.17, allocations: 3.512 MB / 3.735 GB, free: 24.41 MB / 410.7 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.02079/10.2, allocations: 14.45 MB / 3.75 GB, free: 17.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006458/10.2, allocations: 2.862 MB / 3.752 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005694/10.21, allocations: 3.727 MB / 3.756 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/10.21, allocations: 63.42 kB / 3.756 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003586/10.21, allocations: 0.5679 MB / 3.757 GB, free: 14.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 6.412e-06/10.21, allocations: 0 / 3.757 GB, free: 14.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.0394/10.25, allocations: 12.29 MB / 3.769 GB, free: 13.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/10.25, allocations: 149.7 kB / 3.769 GB, free: 13.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/10.25, allocations: 1.226 MB / 3.77 GB, free: 13.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003813/10.25, allocations: 65.77 kB / 3.77 GB, free: 12.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/10.25, allocations: 0.802 MB / 3.771 GB, free: 12.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007747/10.25, allocations: 0.6726 MB / 3.771 GB, free: 12.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/10.25, allocations: 44.38 kB / 3.771 GB, free: 12.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/10.26, allocations: 386.4 kB / 3.772 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00247/10.26, allocations: 1.277 MB / 3.773 GB, free: 11.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/10.26, allocations: 1.74 MB / 3.775 GB, free: 11.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/10.26, allocations: 1.382 MB / 3.776 GB, free: 11.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/10.26, allocations: 2.656 kB / 3.776 GB, free: 11.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.007724/10.27, allocations: 3.989 MB / 3.78 GB, free: 11.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009471/10.27, allocations: 4.97 MB / 3.785 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/10.27, allocations: 11.06 kB / 3.785 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004396/10.28, allocations: 1.567 MB / 3.786 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/10.28, allocations: 474.5 kB / 3.787 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/10.28, allocations: 6.607 MB / 3.793 GB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/10.29, allocations: 221.5 kB / 3.794 GB, free: 17.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004649/10.29, allocations: 121.9 kB / 3.794 GB, free: 17.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/10.29, allocations: 3.656 kB / 3.794 GB, free: 17.28 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007106/10.29, allocations: 3.493 MB / 3.797 GB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/10.29, allocations: 12.16 kB / 3.797 GB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/10.3, allocations: 1.044 MB / 3.798 GB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/10.3, allocations: 0.4963 MB / 3.799 GB, free: 17.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00953/10.31, allocations: 10.17 MB / 3.809 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/10.31, allocations: 223.7 kB / 3.809 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005208/10.31, allocations: 118 kB / 3.809 GB, free: 9.914 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 210 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.001769/10.31, allocations: 0.5862 MB / 3.809 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007086/10.31, allocations: 197.3 kB / 3.81 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/10.33, allocations: 9.865 MB / 3.819 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.469e-05/10.33, allocations: 107.6 kB / 3.819 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/10.33, allocations: 0 / 3.819 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.488e-05/10.33, allocations: 11.02 kB / 3.819 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02093/10.35, allocations: 13.36 MB / 3.832 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/10.35, allocations: 0 / 3.832 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/10.35, allocations: 399.2 kB / 3.833 GB, free: 3.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006393/10.36, allocations: 4.134 MB / 3.837 GB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004038/10.36, allocations: 62.73 kB / 3.837 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008963/10.37, allocations: 8.768 MB / 3.845 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/10.37, allocations: 0 / 3.845 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/10.38, allocations: 10.72 MB / 3.856 GB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002805/10.39, allocations: 0.9104 MB / 3.857 GB, free: 308 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008969/10.39, allocations: 44 kB / 3.857 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/10.39, allocations: 237 kB / 3.857 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2929/10.68, allocations: 239.9 kB / 3.857 GB, free: 55.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008512/10.69, allocations: 89.3 kB / 3.857 GB, free: 55.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001994/10.69, allocations: 1.25 MB / 3.859 GB, free: 55.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/10.69, allocations: 0 / 3.859 GB, free: 55.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01118/10.7, allocations: 2.357 MB / 3.861 GB, free: 55.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.medium.h,openTankCold2.level,openTankCold1.medium.h,openTankCold1.level,openTankHot1.medium.h,openTankHot1.level,openTankHot2.medium.h,openTankHot2.level,openTankCold3.medium.h,openTankCold3.level,openTankHot3.medium.h,openTankHot3.level) * Number of discrete variables: 71 ($cse1.phase,$cse1.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse46.phase,$cse46.region,$cse48.phase,$cse48.region,$cse49.region3boundary,$cse50.region3boundary,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01419/10.71, allocations: 2.57 MB / 3.863 GB, free: 55.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01566/10.73, allocations: 6.462 MB / 3.87 GB, free: 54.94 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/10.73, allocations: 5.031 kB / 3.87 GB, free: 54.94 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00601/10.73, allocations: 3.135 MB / 3.873 GB, free: 54.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005551/10.74, allocations: 1.045 MB / 3.874 GB, free: 54.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/10.75, allocations: 9.505 MB / 3.883 GB, free: 51.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/10.75, allocations: 2.242 MB / 3.885 GB, free: 50.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00545/10.76, allocations: 3.448 MB / 3.889 GB, free: 50.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006222/10.76, allocations: 188 kB / 3.889 GB, free: 50.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/10.76, allocations: 0 / 3.889 GB, free: 50.63 MB / 442.7 MB Notification: Performance of Templates: time 0.1329/10.89, allocations: 98.24 MB / 3.985 GB, free: 23.83 MB / 442.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe 2>&1)