Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.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.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009456/0.0009456, allocations: 182.7 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.633/1.633, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001717/0.001717, allocations: 110.3 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.321e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.09363, allocations: 44.49 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.837/7.93, allocations: 2.588 GB / 2.929 GB, free: 104.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/7.931, allocations: 78.19 kB / 2.929 GB, free: 104.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.98/11.91, allocations: 0.9602 GB / 3.889 GB, free: 30.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.898e-06/11.91, allocations: 2.375 kB / 3.889 GB, free: 30.13 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002717/11.91, allocations: 60.61 kB / 3.889 GB, free: 30.13 MB / 458.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.01819/11.93, allocations: 3.377 MB / 3.893 GB, free: 28.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.837e-05/11.93, allocations: 12.53 kB / 3.893 GB, free: 28.68 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01443/11.94, allocations: 1.223 MB / 3.894 GB, free: 28.56 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004992/11.95, allocations: 1.54 MB / 3.895 GB, free: 28.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003874/11.95, allocations: 344.7 kB / 3.896 GB, free: 27.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008936/11.95, allocations: 188.6 kB / 3.896 GB, free: 27.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/11.96, allocations: 3.461 MB / 3.899 GB, free: 27.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-05/11.96, allocations: 11.88 kB / 3.899 GB, free: 27.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/11.96, allocations: 88.41 kB / 3.899 GB, free: 27.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002162/11.96, allocations: 104.8 kB / 3.9 GB, free: 27.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00828/11.97, allocations: 3.299 MB / 3.903 GB, free: 27.55 MB / 458.7 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.02211/11.99, allocations: 14.45 MB / 3.917 GB, free: 20.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005509/12, allocations: 2.685 MB / 3.92 GB, free: 20.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/12, allocations: 1.271 MB / 3.921 GB, free: 20.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006196/12.01, allocations: 3.765 MB / 3.924 GB, free: 17.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/12.01, allocations: 58.38 kB / 3.924 GB, free: 17.74 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003459/12.01, allocations: 0.5737 MB / 3.925 GB, free: 17.65 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 8.326e-06/12.01, allocations: 5.812 kB / 3.925 GB, free: 17.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.02972/12.04, allocations: 10.11 MB / 3.935 GB, free: 16.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/12.04, allocations: 151.5 kB / 3.935 GB, free: 16.67 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/12.04, allocations: 1.217 MB / 3.936 GB, free: 16.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002835/12.04, allocations: 62.8 kB / 3.936 GB, free: 16.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004372/12.04, allocations: 0.8071 MB / 3.937 GB, free: 16.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/12.04, allocations: 0.6728 MB / 3.938 GB, free: 15.69 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/12.04, allocations: 41.91 kB / 3.938 GB, free: 15.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/12.04, allocations: 390.4 kB / 3.938 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/12.04, allocations: 1.109 MB / 3.939 GB, free: 15.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/12.05, allocations: 1.566 MB / 3.941 GB, free: 14.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/12.05, allocations: 1.233 MB / 3.942 GB, free: 14.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/12.05, allocations: 3.625 kB / 3.942 GB, free: 14.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.005836/12.05, allocations: 3.645 MB / 3.946 GB, free: 14.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009026/12.05, allocations: 4.971 MB / 3.95 GB, free: 9.523 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/12.05, allocations: 13.22 kB / 3.95 GB, free: 9.523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004019/12.06, allocations: 1.535 MB / 3.952 GB, free: 9.453 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/12.06, allocations: 477.8 kB / 3.952 GB, free: 9.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005704/12.07, allocations: 6.587 MB / 3.959 GB, free: 20.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/12.07, allocations: 221 kB / 3.959 GB, free: 20.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003294/12.07, allocations: 120 kB / 3.959 GB, free: 20.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/12.07, allocations: 4.219 kB / 3.959 GB, free: 20.75 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005218/12.08, allocations: 3.168 MB / 3.962 GB, free: 20.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/12.08, allocations: 14.78 kB / 3.962 GB, free: 20.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/12.08, allocations: 1.044 MB / 3.963 GB, free: 20.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/12.08, allocations: 497.4 kB / 3.964 GB, free: 20.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009537/12.09, allocations: 10.06 MB / 3.974 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/12.09, allocations: 225.5 kB / 3.974 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/12.09, allocations: 109.1 kB / 3.974 GB, free: 13.39 MB / 474.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 () * 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.0008248/12.09, allocations: 248.8 kB / 3.974 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004946/12.09, allocations: 201 kB / 3.974 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/12.11, allocations: 9.646 MB / 3.984 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-05/12.11, allocations: 103.5 kB / 3.984 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/12.11, allocations: 0 / 3.984 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-05/12.11, allocations: 12.47 kB / 3.984 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01731/12.12, allocations: 13.12 MB / 3.997 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/12.12, allocations: 0 / 3.997 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/12.12, allocations: 403 kB / 3.997 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006167/12.13, allocations: 4.691 MB / 4.002 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004412/12.13, allocations: 70.89 kB / 4.002 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00791/12.14, allocations: 8.747 MB / 4.01 GB, free: 6.258 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/12.14, allocations: 3.953 kB / 4.01 GB, free: 6.254 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/12.15, allocations: 10.23 MB / 4.02 GB, free: 4.227 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/12.15, allocations: 0.9059 MB / 4.021 GB, free: 3.668 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/12.15, allocations: 43.03 kB / 4.021 GB, free: 3.637 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002098/12.16, allocations: 234.9 kB / 4.021 GB, free: 3.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004606/12.16, allocations: 227 kB / 4.022 GB, free: 3.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/12.16, allocations: 88.05 kB / 4.022 GB, free: 3.539 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001678/12.16, allocations: 1.227 MB / 4.023 GB, free: 3.043 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/12.16, allocations: 0 / 4.023 GB, free: 3.043 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01098/12.17, allocations: 2.383 MB / 4.025 GB, free: 2.605 MB / 474.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 () * 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.01144/12.18, allocations: 2.606 MB / 4.028 GB, free: 2.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0133/12.19, allocations: 6.018 MB / 4.034 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/12.19, allocations: 4.531 kB / 4.034 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005437/12.2, allocations: 2.977 MB / 4.037 GB, free: 14.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005573/12.21, allocations: 1.045 MB / 4.038 GB, free: 14.24 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/12.22, allocations: 6.587 MB / 4.044 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/12.22, allocations: 2.246 MB / 4.046 GB, free: 9.098 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006713/12.23, allocations: 3.589 MB / 4.05 GB, free: 7.113 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005643/12.23, allocations: 165 kB / 4.05 GB, free: 6.969 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/12.23, allocations: 0 / 4.05 GB, free: 6.969 MB / 490.7 MB Notification: Performance of Templates: time 0.4705/12.7, allocations: 103.7 MB / 4.151 GB, free: 50.04 MB / 490.7 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe 2>&1)