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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.00126/0.001261, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004801/0.0004803, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.254, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.07474/0.3288, allocations: 79.27 MB / 405.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.038/0.3669, allocations: 29.53 MB / 435.2 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003859/0.3708, allocations: 63.44 kB / 435.3 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004251/0.375, allocations: 1.151 MB / 436.4 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01344/0.3885, allocations: 3.576 MB / 440 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02478/0.4133, allocations: 7.184 MB / 447.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008255/0.4216, allocations: 3.594 MB / 450.8 MB, free: 6.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00332/0.4249, allocations: 1.667 MB / 452.5 MB, free: 5.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2546/0.6796, allocations: 7.557 MB / 460 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00292/0.6826, allocations: 1.462 MB / 461.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005732/0.6832, allocations: 137.8 kB / 461.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01835/0.7015, allocations: 8.731 MB / 470.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.703, allocations: 0.6793 MB / 471 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.7041, allocations: 470.1 kB / 471.5 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01326/0.7173, allocations: 5.876 MB / 477.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7174, allocations: 0 / 477.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.7174, allocations: 0 / 477.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001279/0.7175, allocations: 0 / 477.4 MB, free: 14.12 MB / 382.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.01297/0.7305, allocations: 2.973 MB / 480.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.7306, allocations: 13.77 kB / 480.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02124/0.7518, allocations: 1.259 MB / 481.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005261/0.7571, allocations: 1.298 MB / 482.9 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005382/0.7577, allocations: 339.5 kB / 483.2 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.7588, allocations: 193.4 kB / 483.4 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/0.778, allocations: 3.471 MB / 486.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.7783, allocations: 6.812 kB / 486.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/0.7796, allocations: 85.75 kB / 487 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002792/0.7799, allocations: 106.6 kB / 487.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/0.7985, allocations: 3.522 MB / 490.6 MB, free: 11.57 MB / 382.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.04043/0.839, allocations: 14.46 MB / 0.4932 GB, free: 19.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/0.8527, allocations: 2.906 MB / 0.4961 GB, free: 17.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05223/0.905, allocations: 24.53 MB / 0.52 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.9052, allocations: 54.38 kB / 0.5201 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003667/0.909, allocations: 452.9 kB / 0.5205 GB, free: 5.902 MB / 414.1 MB Notification: Performance of pre-optimization done (n=175): time 1.785e-05/0.909, allocations: 2.906 kB / 0.5205 GB, free: 5.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=205): time 0.04342/0.9524, allocations: 12.45 MB / 0.5327 GB, free: 12.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.9526, allocations: 162.4 kB / 0.5328 GB, free: 12.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/0.9554, allocations: 1.392 MB / 0.5342 GB, free: 10.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003237/0.9557, allocations: 67.23 kB / 0.5342 GB, free: 10.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006338/0.9564, allocations: 0.7813 MB / 0.535 GB, free: 10.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007227/0.9571, allocations: 0.6705 MB / 0.5357 GB, free: 9.863 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.9573, allocations: 46.44 kB / 0.5357 GB, free: 9.852 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.9576, allocations: 388.9 kB / 0.5361 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002641/0.9602, allocations: 1.294 MB / 0.5373 GB, free: 8.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002873/0.9631, allocations: 1.727 MB / 0.539 GB, free: 7.207 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/0.9658, allocations: 1.406 MB / 0.5404 GB, free: 6.328 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.9658, allocations: 4 kB / 0.5404 GB, free: 6.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.008142/0.974, allocations: 4.023 MB / 0.5443 GB, free: 3.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.974, allocations: 8.938 kB / 0.5443 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.9741, allocations: 12 kB / 0.5444 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004823/0.9789, allocations: 1.587 MB / 0.5459 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.9811, allocations: 475.8 kB / 0.5464 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006205/0.9873, allocations: 6.694 MB / 0.5529 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.99, allocations: 220.4 kB / 0.5531 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004526/0.9904, allocations: 113.4 kB / 0.5532 GB, free: 11.36 MB / 446.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 (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 (213): * Single equations (assignments): 204 * 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.001774/0.9922, allocations: 0.5116 MB / 0.5537 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009193/0.9932, allocations: 197.7 kB / 0.5539 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01543/1.009, allocations: 9.982 MB / 0.5636 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/1.009, allocations: 107.3 kB / 0.5637 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/1.009, allocations: 0 / 0.5637 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-05/1.009, allocations: 11.95 kB / 0.5638 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/1.028, allocations: 13.33 MB / 0.5768 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/1.028, allocations: 0 / 0.5768 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/1.03, allocations: 418 kB / 0.5772 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006816/1.037, allocations: 4.097 MB / 0.5812 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004276/1.038, allocations: 62.72 kB / 0.5812 GB, free: 7.477 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009264/1.047, allocations: 8.766 MB / 0.5898 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.047, allocations: 3.953 kB / 0.5898 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/1.064, allocations: 10.77 MB / 0.6003 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/1.066, allocations: 0.901 MB / 0.6012 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006519/1.067, allocations: 46.52 kB / 0.6013 GB, free: 7.336 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/1.069, allocations: 243.5 kB / 0.6015 GB, free: 7.098 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005387/1.07, allocations: 229.6 kB / 0.6017 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/1.07, allocations: 87.94 kB / 0.6018 GB, free: 6.789 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00201/1.072, allocations: 1.254 MB / 0.603 GB, free: 5.516 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.072, allocations: 0 / 0.603 GB, free: 5.516 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005516/1.078, allocations: 1.799 MB / 0.6048 GB, free: 3.719 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 (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.007009/1.085, allocations: 1.742 MB / 0.6065 GB, free: 2.156 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009773/1.095, allocations: 4.272 MB / 0.6106 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.095, allocations: 4.562 kB / 0.6106 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006516/1.101, allocations: 3.151 MB / 0.6137 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/1.107, allocations: 1.041 MB / 0.6147 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/1.121, allocations: 9.504 MB / 0.624 GB, free: 284 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1524/1.274, allocations: 2.228 MB / 0.6262 GB, free: 211.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003055/1.277, allocations: 1.732 MB / 0.6279 GB, free: 211.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/1.277, allocations: 189 kB / 0.6281 GB, free: 211.5 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/1.277, allocations: 2.938 kB / 0.6281 GB, free: 211.5 MB / 494.1 MB Notification: Performance of Templates: time 0.09769/1.375, allocations: 90.2 MB / 0.7162 GB, free: 137.2 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: