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.001161/0.00116, allocations: 99.7 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.0009477/0.0009478, allocations: 177.3 kB / 15.94 MB, free: 228 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.779/1.779, allocations: 205.4 MB / 222.1 MB, free: 5.543 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.0005954/0.0005955, allocations: 16 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2753, allocations: 47.58 MB / 326.4 MB, free: 1.473 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.07901/0.3544, allocations: 79.26 MB / 405.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03976/0.3942, allocations: 29.53 MB / 435.2 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004097/0.3983, allocations: 67.44 kB / 435.3 MB, free: 6.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00445/0.4028, allocations: 1.151 MB / 436.5 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01411/0.417, allocations: 3.564 MB / 440 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02444/0.4414, allocations: 7.196 MB / 447.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00815/0.4496, allocations: 3.586 MB / 450.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003329/0.4529, allocations: 1.663 MB / 452.5 MB, free: 5.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2706/0.7236, allocations: 7.562 MB / 460 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003776/0.7274, allocations: 1.46 MB / 461.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.7285, allocations: 142.5 kB / 461.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02161/0.7501, allocations: 8.732 MB / 470.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002472/0.7526, allocations: 0.6761 MB / 471 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.7547, allocations: 470.7 kB / 471.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.7696, allocations: 5.875 MB / 477.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7696, allocations: 0 / 477.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.7697, allocations: 0 / 477.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001084/0.7698, allocations: 1.312 kB / 477.4 MB, free: 14.09 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.01007/0.7798, allocations: 2.975 MB / 480.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.7799, allocations: 13.27 kB / 480.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.7909, allocations: 1.257 MB / 481.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/0.7943, allocations: 1.299 MB / 482.9 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.7947, allocations: 349.2 kB / 483.2 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/0.7951, allocations: 190.5 kB / 483.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008291/0.8034, allocations: 3.461 MB / 486.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.542e-05/0.8035, allocations: 9.172 kB / 486.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000284/0.8038, allocations: 84.67 kB / 487 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.8039, allocations: 107.9 kB / 487.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008788/0.8127, allocations: 3.514 MB / 490.6 MB, free: 11.55 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.02219/0.835, allocations: 14.46 MB / 0.4932 GB, free: 18.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00674/0.8417, allocations: 2.917 MB / 0.4961 GB, free: 17.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04996/0.8917, allocations: 24.53 MB / 0.52 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.731e-05/0.8918, allocations: 54.5 kB / 0.5201 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002967/0.8948, allocations: 450.2 kB / 0.5205 GB, free: 5.824 MB / 414.1 MB Notification: Performance of pre-optimization done (n=175): time 5.28e-06/0.8948, allocations: 2.844 kB / 0.5205 GB, free: 5.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=205): time 0.0393/0.9341, allocations: 12.45 MB / 0.5327 GB, free: 12.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.9343, allocations: 157.2 kB / 0.5328 GB, free: 11.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.9368, allocations: 1.395 MB / 0.5342 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000275/0.9371, allocations: 66.83 kB / 0.5342 GB, free: 10.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006349/0.9377, allocations: 0.7784 MB / 0.535 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007673/0.9385, allocations: 0.6752 MB / 0.5357 GB, free: 9.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.9387, allocations: 46.44 kB / 0.5357 GB, free: 9.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.9389, allocations: 388.7 kB / 0.5361 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002539/0.9415, allocations: 1.298 MB / 0.5373 GB, free: 8.555 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00284/0.9443, allocations: 1.723 MB / 0.539 GB, free: 7.137 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/0.947, allocations: 1.402 MB / 0.5404 GB, free: 6.262 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.947, allocations: 4 kB / 0.5404 GB, free: 6.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.007903/0.9549, allocations: 4.027 MB / 0.5443 GB, free: 3.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.9549, allocations: 12.22 kB / 0.5443 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.955, allocations: 12 kB / 0.5444 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0047/0.9597, allocations: 1.579 MB / 0.5459 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/0.9618, allocations: 476.8 kB / 0.5464 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007093/0.9689, allocations: 6.691 MB / 0.5529 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002852/0.9718, allocations: 222.6 kB / 0.5531 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003775/0.9722, allocations: 116.4 kB / 0.5532 GB, free: 11.29 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.001438/0.9737, allocations: 0.4995 MB / 0.5537 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006694/0.9743, allocations: 201.6 kB / 0.5539 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/0.989, allocations: 9.986 MB / 0.5636 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.798e-05/0.9891, allocations: 102.2 kB / 0.5637 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.9892, allocations: 0 / 0.5637 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/0.9892, allocations: 11.95 kB / 0.5638 GB, free: 3.938 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/1.012, allocations: 13.34 MB / 0.5768 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/1.012, allocations: 0 / 0.5768 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002755/1.015, allocations: 414.7 kB / 0.5772 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009427/1.025, allocations: 4.098 MB / 0.5812 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005715/1.025, allocations: 62.66 kB / 0.5812 GB, free: 7.406 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/1.037, allocations: 8.775 MB / 0.5898 GB, free: 44 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.037, allocations: 4.078 kB / 0.5898 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02044/1.057, allocations: 10.77 MB / 0.6003 GB, free: 8.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/1.059, allocations: 0.9049 MB / 0.6012 GB, free: 7.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005464/1.06, allocations: 44 kB / 0.6013 GB, free: 7.297 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002215/1.062, allocations: 242.2 kB / 0.6015 GB, free: 7.062 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000526/1.063, allocations: 229.6 kB / 0.6017 GB, free: 6.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/1.063, allocations: 87.95 kB / 0.6018 GB, free: 6.754 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002367/1.065, allocations: 1.25 MB / 0.603 GB, free: 5.484 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/1.065, allocations: 0 / 0.603 GB, free: 5.484 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006904/1.072, allocations: 1.803 MB / 0.6048 GB, free: 3.684 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.007199/1.079, allocations: 1.749 MB / 0.6065 GB, free: 2.121 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009486/1.089, allocations: 4.265 MB / 0.6106 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.089, allocations: 4.562 kB / 0.6106 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005686/1.095, allocations: 3.146 MB / 0.6137 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004968/1.1, allocations: 1.045 MB / 0.6147 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/1.112, allocations: 9.499 MB / 0.624 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1516/1.264, allocations: 2.227 MB / 0.6262 GB, free: 213.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003385/1.267, allocations: 1.739 MB / 0.6279 GB, free: 213.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005879/1.268, allocations: 186.5 kB / 0.6281 GB, free: 213.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.062e-06/1.268, allocations: 0 / 0.6281 GB, free: 213.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1096/1.377, allocations: 90.21 MB / 0.7162 GB, free: 138.7 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: