Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001179/0.00118, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001498, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.596/1.596, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.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.001497/0.001497, allocations: 51.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2826, allocations: 46.63 MB / 325.3 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.08397/0.3666, allocations: 93.95 MB / 419.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0397/0.4064, allocations: 34.34 MB / 453.6 MB, free: 3.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.4095, allocations: 51.69 kB / 453.6 MB, free: 3.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003683/0.4133, allocations: 1.332 MB / 455 MB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2477/0.661, allocations: 4.493 MB / 459.5 MB, free: 2.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02491/0.6859, allocations: 8.703 MB / 468.2 MB, free: 2.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009968/0.6959, allocations: 6.174 MB / 474.3 MB, free: 2.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003037/0.6989, allocations: 1.998 MB / 476.3 MB, free: 2.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01367/0.7126, allocations: 5.769 MB / 482.1 MB, free: 1.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004674/0.7173, allocations: 2.15 MB / 484.3 MB, free: 1.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006875/0.718, allocations: 259.7 kB / 484.5 MB, free: 1.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02302/0.7411, allocations: 8.967 MB / 493.5 MB, free: 1.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002098/0.7432, allocations: 0.8526 MB / 494.3 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002991/0.7462, allocations: 1.356 MB / 495.7 MB, free: 500 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02935/0.7756, allocations: 8.727 MB / 0.4926 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.386e-05/0.7756, allocations: 3.984 kB / 0.4926 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.7757, allocations: 0 / 0.4926 GB, free: 11.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001304/0.7758, allocations: 0 / 0.4926 GB, free: 11.96 MB / 398.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.01122/0.787, allocations: 3.429 MB / 0.496 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.7871, allocations: 12.03 kB / 0.496 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.7977, allocations: 1.197 MB / 0.4971 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/0.8002, allocations: 1.345 MB / 0.4984 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/0.8005, allocations: 342 kB / 0.4988 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.8008, allocations: 191.9 kB / 0.499 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00805/0.8089, allocations: 3.436 MB / 0.5023 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/0.8089, allocations: 7.188 kB / 0.5023 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.8092, allocations: 83.28 kB / 0.5024 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.8093, allocations: 103.6 kB / 0.5025 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008768/0.8181, allocations: 3.413 MB / 0.5058 GB, free: 0.9531 MB / 398.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.02644/0.8446, allocations: 14.39 MB / 0.5199 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007885/0.8525, allocations: 2.802 MB / 0.5226 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002964/0.8555, allocations: 1.435 MB / 0.524 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05311/0.9086, allocations: 24.27 MB / 0.5477 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.872e-05/0.9088, allocations: 56.56 kB / 0.5478 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002215/0.911, allocations: 332 kB / 0.5481 GB, free: 4.297 MB / 446.1 MB Notification: Performance of pre-optimization done (n=175): time 1.271e-05/0.911, allocations: 0 / 0.5481 GB, free: 4.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.04323/0.9543, allocations: 11.99 MB / 0.5598 GB, free: 8.336 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.9544, allocations: 154.5 kB / 0.5599 GB, free: 8.156 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002582/0.957, allocations: 1.408 MB / 0.5613 GB, free: 6.738 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003964/0.9574, allocations: 62.36 kB / 0.5614 GB, free: 6.672 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007931/0.9582, allocations: 0.7788 MB / 0.5621 GB, free: 5.887 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009197/0.9591, allocations: 0.6814 MB / 0.5628 GB, free: 5.219 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/0.9603, allocations: 455.6 kB / 0.5632 GB, free: 4.766 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.9604, allocations: 301.1 kB / 0.5635 GB, free: 4.469 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/0.9633, allocations: 1.265 MB / 0.5648 GB, free: 3.199 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003221/0.9665, allocations: 1.71 MB / 0.5664 GB, free: 1.316 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005678/0.9722, allocations: 2.93 MB / 0.5693 GB, free: 14.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/0.9722, allocations: 4 kB / 0.5693 GB, free: 14.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.008944/0.9812, allocations: 3.94 MB / 0.5731 GB, free: 10.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.9813, allocations: 12 kB / 0.5732 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/0.9813, allocations: 8 kB / 0.5732 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00525/0.9865, allocations: 1.567 MB / 0.5747 GB, free: 8.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.9888, allocations: 456.2 kB / 0.5751 GB, free: 8.348 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007101/0.996, allocations: 6.69 MB / 0.5817 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/0.9986, allocations: 136 kB / 0.5818 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005507/0.9992, allocations: 117.8 kB / 0.5819 GB, free: 1.199 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.001767/1.001, allocations: 0.5116 MB / 0.5824 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008438/1.002, allocations: 197.7 kB / 0.5826 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01628/1.018, allocations: 9.841 MB / 0.5922 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/1.018, allocations: 107.6 kB / 0.5923 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/1.018, allocations: 3.984 kB / 0.5923 GB, free: 6.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/1.018, allocations: 7.969 kB / 0.5923 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02215/1.041, allocations: 13.25 MB / 0.6053 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.041, allocations: 0 / 0.6053 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/1.042, allocations: 372.3 kB / 0.6056 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005355/1.048, allocations: 2.951 MB / 0.6085 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003004/1.048, allocations: 63.97 kB / 0.6086 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00949/1.058, allocations: 8.774 MB / 0.6171 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/1.058, allocations: 4.062 kB / 0.6171 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0227/1.08, allocations: 10.69 MB / 0.6276 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002902/1.083, allocations: 0.6873 MB / 0.6282 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/1.085, allocations: 111 kB / 0.6284 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003799/1.089, allocations: 147.8 kB / 0.6285 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00112/1.09, allocations: 221.7 kB / 0.6287 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006184/1.091, allocations: 87.94 kB / 0.6288 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.2551/1.346, allocations: 1.268 MB / 0.63 GB, free: 247.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.92e-07/1.346, allocations: 0.5938 kB / 0.63 GB, free: 247.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007168/1.353, allocations: 1.779 MB / 0.6318 GB, free: 247.5 MB / 0.5137 GB 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.007632/1.361, allocations: 1.744 MB / 0.6335 GB, free: 247.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01616/1.377, allocations: 5.263 MB / 0.6386 GB, free: 246.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.377, allocations: 4.531 kB / 0.6386 GB, free: 246.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006237/1.383, allocations: 3.126 MB / 0.6417 GB, free: 245.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006002/1.389, allocations: 1.105 MB / 0.6427 GB, free: 245.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/1.402, allocations: 7.919 MB / 0.6505 GB, free: 241.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/1.403, allocations: 2.162 MB / 0.6526 GB, free: 240.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002819/1.406, allocations: 1.731 MB / 0.6543 GB, free: 239.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004843/1.406, allocations: 191.4 kB / 0.6545 GB, free: 239.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.232e-06/1.406, allocations: 0 / 0.6545 GB, free: 239.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.1129/1.519, allocations: 95.37 MB / 0.7476 GB, free: 144.2 MB / 0.5137 GB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.sim & ./Modelica_3.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe 2>&1)