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.001115/0.001116, allocations: 169.7 kB / 12.72 MB, free: 2.594 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.528/1.528, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001797/0.001797, allocations: 111.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.931e-05/2.935e-05, allocations: 0 / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08805, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.965/6.053, allocations: 2.478 GB / 2.779 GB, free: 62.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/6.053, allocations: 81.02 kB / 2.779 GB, free: 62.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176/9.229, allocations: 0.935 GB / 3.714 GB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/9.23, allocations: 0 / 3.714 GB, free: 13.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001843/9.23, allocations: 67.86 kB / 3.714 GB, free: 13.16 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.01424/9.244, allocations: 3.287 MB / 3.717 GB, free: 9.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.046e-05/9.244, allocations: 15.97 kB / 3.717 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/9.258, allocations: 1.125 MB / 3.718 GB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/9.263, allocations: 1.536 MB / 3.72 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004045/9.263, allocations: 349.8 kB / 3.72 GB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/9.264, allocations: 183.9 kB / 3.72 GB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009194/9.273, allocations: 3.46 MB / 3.724 GB, free: 2.926 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.45e-05/9.273, allocations: 11.92 kB / 3.724 GB, free: 2.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/9.273, allocations: 91.91 kB / 3.724 GB, free: 2.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000155/9.273, allocations: 99.33 kB / 3.724 GB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2993/9.573, allocations: 3.298 MB / 3.727 GB, free: 24.86 MB / 410.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.02379/9.597, allocations: 14.45 MB / 3.741 GB, free: 17.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005366/9.602, allocations: 2.694 MB / 3.744 GB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001936/9.604, allocations: 1.272 MB / 3.745 GB, free: 17.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005727/9.61, allocations: 3.738 MB / 3.749 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/9.61, allocations: 61.59 kB / 3.749 GB, free: 15.2 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003042/9.613, allocations: 0.5693 MB / 3.749 GB, free: 15.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 5.36e-06/9.613, allocations: 0 / 3.749 GB, free: 15.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.02856/9.641, allocations: 10.13 MB / 3.759 GB, free: 14.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/9.642, allocations: 153.3 kB / 3.759 GB, free: 14.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/9.643, allocations: 1.213 MB / 3.76 GB, free: 14.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003867/9.644, allocations: 63.55 kB / 3.76 GB, free: 13.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/9.644, allocations: 0.8006 MB / 3.761 GB, free: 13.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006693/9.645, allocations: 0.6758 MB / 3.762 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/9.645, allocations: 45.06 kB / 3.762 GB, free: 13.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/9.645, allocations: 396.2 kB / 3.762 GB, free: 13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/9.647, allocations: 1.107 MB / 3.763 GB, free: 13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/9.649, allocations: 1.565 MB / 3.765 GB, free: 12.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/9.651, allocations: 1.229 MB / 3.766 GB, free: 12.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/9.651, allocations: 6.219 kB / 3.766 GB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.006175/9.657, allocations: 3.644 MB / 3.77 GB, free: 12.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001485/9.658, allocations: 4.97 MB / 3.775 GB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/9.658, allocations: 12.22 kB / 3.775 GB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004147/9.662, allocations: 1.546 MB / 3.776 GB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/9.665, allocations: 477.7 kB / 3.777 GB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005944/9.671, allocations: 6.587 MB / 3.783 GB, free: 18.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/9.674, allocations: 220.3 kB / 3.783 GB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000333/9.674, allocations: 115.8 kB / 3.783 GB, free: 18.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/9.674, allocations: 4.891 kB / 3.783 GB, free: 18.38 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005988/9.68, allocations: 3.178 MB / 3.786 GB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/9.68, allocations: 10.47 kB / 3.786 GB, free: 18.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/9.682, allocations: 1.035 MB / 3.787 GB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002282/9.685, allocations: 0.4906 MB / 3.788 GB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009563/9.694, allocations: 10.06 MB / 3.798 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/9.698, allocations: 212.1 kB / 3.798 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006701/9.698, allocations: 117.1 kB / 3.798 GB, free: 11.03 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 () * 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.001219/9.7, allocations: 253.9 kB / 3.798 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008695/9.7, allocations: 197.2 kB / 3.798 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/9.713, allocations: 9.637 MB / 3.808 GB, free: 9.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-05/9.713, allocations: 108.4 kB / 3.808 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/9.713, allocations: 2.125 kB / 3.808 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/9.713, allocations: 10.97 kB / 3.808 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/9.732, allocations: 13.13 MB / 3.821 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/9.732, allocations: 3.953 kB / 3.821 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/9.734, allocations: 405.1 kB / 3.821 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007158/9.741, allocations: 4.69 MB / 3.826 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005403/9.742, allocations: 66.42 kB / 3.826 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008807/9.751, allocations: 8.746 MB / 3.834 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/9.751, allocations: 2.156 kB / 3.834 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/9.765, allocations: 10.23 MB / 3.844 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002274/9.767, allocations: 0.9114 MB / 3.845 GB, free: 16.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007992/9.768, allocations: 45.03 kB / 3.845 GB, free: 16.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/9.77, allocations: 237.1 kB / 3.846 GB, free: 16.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005645/9.771, allocations: 229.5 kB / 3.846 GB, free: 16.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003032/9.771, allocations: 90.12 kB / 3.846 GB, free: 16.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002395/9.774, allocations: 1.226 MB / 3.847 GB, free: 16.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/9.774, allocations: 0 / 3.847 GB, free: 16.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01003/9.784, allocations: 2.354 MB / 3.849 GB, free: 16.03 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 () * 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.01007/9.794, allocations: 2.569 MB / 3.852 GB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01271/9.807, allocations: 6.016 MB / 3.858 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/9.807, allocations: 8.109 kB / 3.858 GB, free: 13.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006535/9.813, allocations: 2.971 MB / 3.861 GB, free: 12.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00619/9.819, allocations: 1.051 MB / 3.862 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/9.832, allocations: 6.602 MB / 3.868 GB, free: 9.328 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/9.834, allocations: 2.243 MB / 3.87 GB, free: 8.457 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006375/9.841, allocations: 3.592 MB / 3.874 GB, free: 6.695 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000651/9.841, allocations: 170.9 kB / 3.874 GB, free: 6.547 MB / 442.7 MB Notification: Performance of SimCode: time 7.21e-07/9.841, allocations: 0 / 3.874 GB, free: 6.547 MB / 442.7 MB Notification: Performance of Templates: time 0.4025/10.24, allocations: 103.4 MB / 3.975 GB, free: 43.99 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)