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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 106.1 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001204, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 55.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.117, allocations: 46.61 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.3364/0.4535, allocations: 93.96 MB / 468.4 MB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04761/0.5012, allocations: 34.35 MB / 0.491 GB, free: 15.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003534/0.5047, allocations: 51.69 kB / 0.491 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004583/0.5094, allocations: 1.32 MB / 0.4923 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01736/0.5268, allocations: 4.508 MB / 0.4967 GB, free: 9.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02907/0.5559, allocations: 8.688 MB / 0.5052 GB, free: 452 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01192/0.5678, allocations: 6.179 MB / 0.5112 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004241/0.5721, allocations: 2.006 MB / 0.5132 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01478/0.5869, allocations: 5.8 MB / 0.5189 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005836/0.5928, allocations: 2.152 MB / 0.521 GB, free: 212 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00158/0.5944, allocations: 256 kB / 0.5212 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02429/0.6187, allocations: 9.139 MB / 0.5301 GB, free: 6.809 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002326/0.6211, allocations: 0.8532 MB / 0.531 GB, free: 5.953 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003916/0.625, allocations: 1.354 MB / 0.5323 GB, free: 4.594 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02847/0.6535, allocations: 8.656 MB / 0.5408 GB, free: 11.92 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.6535, allocations: 0 / 0.5408 GB, free: 11.92 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.11e-05/0.6536, allocations: 0 / 0.5408 GB, free: 11.92 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001409/0.6537, allocations: 3.938 kB / 0.5408 GB, free: 11.91 MB / 478.1 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.01219/0.6659, allocations: 3.433 MB / 0.5441 GB, free: 8.422 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.666, allocations: 12.03 kB / 0.5441 GB, free: 8.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.6772, allocations: 1.208 MB / 0.5453 GB, free: 7.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/0.6823, allocations: 1.404 MB / 0.5467 GB, free: 5.738 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005903/0.6829, allocations: 346.3 kB / 0.547 GB, free: 5.363 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008563/0.6838, allocations: 184.4 kB / 0.5472 GB, free: 5.184 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009432/0.6932, allocations: 3.414 MB / 0.5505 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.258e-05/0.6933, allocations: 11.84 kB / 0.5505 GB, free: 1.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/0.6936, allocations: 83.97 kB / 0.5506 GB, free: 1.559 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.6937, allocations: 107.3 kB / 0.5507 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.264/0.9577, allocations: 3.4 MB / 0.554 GB, free: 157.2 MB / 478.1 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.02518/0.983, allocations: 14.35 MB / 0.568 GB, free: 148 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00723/0.9902, allocations: 2.817 MB / 0.5708 GB, free: 147.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.9929, allocations: 1.424 MB / 0.5722 GB, free: 146.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04484/1.038, allocations: 24.37 MB / 0.596 GB, free: 128.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.061e-05/1.038, allocations: 60.44 kB / 0.596 GB, free: 128.1 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002224/1.04, allocations: 329.6 kB / 0.5963 GB, free: 127.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=175): time 4.779e-06/1.04, allocations: 4 kB / 0.5964 GB, free: 127.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=205): time 0.03453/1.075, allocations: 11.97 MB / 0.608 GB, free: 118.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/1.075, allocations: 154.5 kB / 0.6082 GB, free: 118.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/1.076, allocations: 1.412 MB / 0.6096 GB, free: 116.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/1.077, allocations: 61.7 kB / 0.6096 GB, free: 116.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/1.077, allocations: 0.7876 MB / 0.6104 GB, free: 116.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/1.078, allocations: 0.6704 MB / 0.6111 GB, free: 115.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006132/1.078, allocations: 447.7 kB / 0.6115 GB, free: 114.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.831e-05/1.078, allocations: 309 kB / 0.6118 GB, free: 114.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/1.08, allocations: 1.264 MB / 0.613 GB, free: 113.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/1.083, allocations: 1.705 MB / 0.6147 GB, free: 111.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004497/1.087, allocations: 2.922 MB / 0.6175 GB, free: 108.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/1.087, allocations: 4 kB / 0.6175 GB, free: 108.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.006973/1.094, allocations: 3.935 MB / 0.6214 GB, free: 104.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.094, allocations: 15.98 kB / 0.6214 GB, free: 104.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/1.094, allocations: 8 kB / 0.6214 GB, free: 104.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004271/1.099, allocations: 1.59 MB / 0.623 GB, free: 102.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/1.101, allocations: 443.3 kB / 0.6234 GB, free: 102.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/1.105, allocations: 6.702 MB / 0.6299 GB, free: 95.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/1.108, allocations: 128 kB / 0.63 GB, free: 95.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002288/1.108, allocations: 115.9 kB / 0.6302 GB, free: 95.25 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 21 (mFlow3.medium.phase,openTankHot3.inFlow[1],openTankHot3.regularFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankCold3.inFlow[1],openTankCold3.regularFlow[1],openTankCold3.heatTransfer.states[1].phase,mFlow2.medium.phase,mFlow1.medium.phase,openTankHot2.inFlow[1],openTankHot2.regularFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot1.inFlow[1],openTankHot1.regularFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankCold1.inFlow[1],openTankCold1.regularFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold2.inFlow[1],openTankCold2.regularFlow[1],openTankCold2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(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.001043/1.109, allocations: 0.5115 MB / 0.6307 GB, free: 94.72 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/1.109, allocations: 197.7 kB / 0.6308 GB, free: 94.53 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/1.121, allocations: 9.817 MB / 0.6404 GB, free: 84.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.547e-05/1.121, allocations: 107.3 kB / 0.6405 GB, free: 84.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.121, allocations: 0 / 0.6405 GB, free: 84.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.42e-05/1.121, allocations: 11.95 kB / 0.6405 GB, free: 84.49 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/1.136, allocations: 13.24 MB / 0.6535 GB, free: 71.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.136, allocations: 0 / 0.6535 GB, free: 71.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.138, allocations: 367.5 kB / 0.6538 GB, free: 70.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004645/1.143, allocations: 2.941 MB / 0.6567 GB, free: 67.83 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000341/1.143, allocations: 67.97 kB / 0.6568 GB, free: 67.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00636/1.15, allocations: 8.759 MB / 0.6653 GB, free: 58.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.15, allocations: 0.5 kB / 0.6653 GB, free: 58.77 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.163, allocations: 10.69 MB / 0.6757 GB, free: 47.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.165, allocations: 0.6913 MB / 0.6764 GB, free: 47.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004782/1.166, allocations: 107 kB / 0.6765 GB, free: 47.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.168, allocations: 155.8 kB / 0.6767 GB, free: 46.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/1.168, allocations: 221.7 kB / 0.6769 GB, free: 46.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.168, allocations: 87.89 kB / 0.677 GB, free: 46.69 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001447/1.17, allocations: 1.277 MB / 0.6782 GB, free: 45.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.17, allocations: 4 kB / 0.6782 GB, free: 45.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008721/1.178, allocations: 1.785 MB / 0.68 GB, free: 43.73 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.level,openTankCold2.medium.h,openTankCold1.level,openTankCold1.medium.h,openTankHot1.level,openTankHot1.medium.h,openTankHot2.level,openTankHot2.medium.h,openTankCold3.level,openTankCold3.medium.h,openTankHot3.level,openTankHot3.medium.h) * Number of discrete variables: 71 ($cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse31.region3boundary,$cse32.region3boundary,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.region3boundary,$cse52.region3boundary,$cse53.phase,$cse53.region,$cse54.phase,$cse54.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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(2,4), (2,4), (4,11), (2,4), (2,4), (4,11), (2,4), (2,4), (6,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00719/1.186, allocations: 1.734 MB / 0.6817 GB, free: 42.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008013/1.194, allocations: 4.227 MB / 0.6858 GB, free: 38.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.194, allocations: 5.438 kB / 0.6858 GB, free: 38.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005058/1.199, allocations: 3.126 MB / 0.6888 GB, free: 34.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005241/1.204, allocations: 1.087 MB / 0.6899 GB, free: 33.79 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.214, allocations: 7.832 MB / 0.6976 GB, free: 25.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.216, allocations: 2.165 MB / 0.6997 GB, free: 23.73 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002918/1.219, allocations: 1.739 MB / 0.7014 GB, free: 21.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/1.219, allocations: 187.4 kB / 0.7015 GB, free: 21.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.503e-06/1.219, allocations: 0 / 0.7015 GB, free: 21.8 MB / 478.1 MB Notification: Performance of Templates: time 0.3599/1.579, allocations: 97.49 MB / 0.7967 GB, free: 129.5 MB / 494.1 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)