Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) 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(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008804/0.0008804, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001189/0.00119, allocations: 172.7 kB / 15.95 MB, free: 208 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.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.684/1.684, allocations: 252 MB / 0.5102 GB, free: 4.828 MB / 414.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: 12 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6211/0.6217, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.07194/0.6937, allocations: 49.17 MB / 0.7761 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03859/0.7324, allocations: 16.6 MB / 0.7924 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005277/0.7377, allocations: 71.56 kB / 0.7924 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005021/0.7428, allocations: 0.7983 MB / 0.7932 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.753, allocations: 1.873 MB / 0.795 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01211/0.7651, allocations: 2.719 MB / 0.7977 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01091/0.776, allocations: 5.156 MB / 0.8027 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003847/0.7799, allocations: 1.23 MB / 0.8039 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005554/0.7855, allocations: 1.536 MB / 0.8054 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003666/0.7892, allocations: 1.252 MB / 0.8066 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005294/0.7898, allocations: 71.94 kB / 0.8067 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005518/0.7953, allocations: 1.509 MB / 0.8082 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.7965, allocations: 414.3 kB / 0.8086 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.7978, allocations: 412.6 kB / 0.809 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005939/0.8037, allocations: 2.475 MB / 0.8114 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.609e-06/0.8038, allocations: 4 kB / 0.8114 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8038, allocations: 4 kB / 0.8114 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.762e-05/0.8039, allocations: 0 / 0.8114 GB, free: 5.914 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006344/0.8103, allocations: 2.233 MB / 0.8136 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/0.8103, allocations: 8.031 kB / 0.8136 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.8134, allocations: 488.9 kB / 0.8141 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00543/0.8189, allocations: 1.59 MB / 0.8156 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006169/0.8195, allocations: 154.2 kB / 0.8158 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006215/0.8202, allocations: 127.9 kB / 0.8159 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005244/0.8255, allocations: 1.384 MB / 0.8172 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.073e-05/0.8255, allocations: 0 / 0.8172 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.8258, allocations: 51.98 kB / 0.8173 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/0.8259, allocations: 35.94 kB / 0.8173 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004382/0.8302, allocations: 1.117 MB / 0.8184 GB, free: 14.51 MB / 0.6387 GB 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.0115/0.8418, allocations: 7.007 MB / 0.8252 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.8444, allocations: 1.43 MB / 0.8266 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009955/0.8455, allocations: 436.6 kB / 0.8271 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005371/0.8508, allocations: 3.086 MB / 0.8301 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.852, allocations: 458.9 kB / 0.8305 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006794/0.8527, allocations: 87.34 kB / 0.8306 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 4.738e-06/0.8527, allocations: 0 / 0.8306 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.003289/0.856, allocations: 1.299 MB / 0.8319 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.8561, allocations: 137.1 kB / 0.832 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.8588, allocations: 1.566 MB / 0.8335 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.8589, allocations: 41.7 kB / 0.8336 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008887/0.8598, allocations: 0.8958 MB / 0.8344 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.8601, allocations: 216.9 kB / 0.8346 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.527e-05/0.8601, allocations: 20 kB / 0.8347 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.8603, allocations: 345.9 kB / 0.835 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.8613, allocations: 389.8 kB / 0.8354 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.8626, allocations: 0.7969 MB / 0.8361 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.8638, allocations: 0.4966 MB / 0.8366 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.8638, allocations: 7.953 kB / 0.8366 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003066/0.8669, allocations: 1.337 MB / 0.8379 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003074/0.8672, allocations: 429 kB / 0.8384 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.949e-05/0.8673, allocations: 12 kB / 0.8384 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/0.8673, allocations: 20 kB / 0.8384 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/0.8683, allocations: 267.6 kB / 0.8386 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-05/0.8683, allocations: 19.94 kB / 0.8387 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.8698, allocations: 136.4 kB / 0.8388 GB, free: 8.184 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.8699, allocations: 55.98 kB / 0.8388 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.87, allocations: 4 kB / 0.8388 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002493/0.8725, allocations: 1.157 MB / 0.84 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.8725, allocations: 15.95 kB / 0.84 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.8725, allocations: 20.53 kB / 0.84 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.8735, allocations: 263.6 kB / 0.8403 GB, free: 6.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.914e-05/0.8736, allocations: 35.84 kB / 0.8403 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.8749, allocations: 124.5 kB / 0.8404 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.8751, allocations: 51.98 kB / 0.8405 GB, free: 6.461 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001005/0.8761, allocations: 492.6 kB / 0.8409 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/0.8765, allocations: 165.9 kB / 0.8411 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/0.8794, allocations: 1.167 MB / 0.8422 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.8794, allocations: 8 kB / 0.8422 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.8795, allocations: 0 / 0.8422 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001974/0.8814, allocations: 1.009 MB / 0.8432 GB, free: 3.559 MB / 0.6544 GB 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 postOpt removeSimpleEquations (simulation): time 0.005189/0.8866, allocations: 2.445 MB / 0.8456 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.8867, allocations: 0 / 0.8456 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.8875, allocations: 151.9 kB / 0.8458 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/0.8877, allocations: 32.84 kB / 0.8458 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.74e-05/0.8878, allocations: 23.98 kB / 0.8458 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.8891, allocations: 1.37 MB / 0.8471 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8891, allocations: 4.047 kB / 0.8472 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/0.8927, allocations: 1.62 MB / 0.8487 GB, free: 13.69 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009353/0.8936, allocations: 358.6 kB / 0.8491 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005063/0.8941, allocations: 15.98 kB / 0.8491 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.8954, allocations: 115.8 kB / 0.8492 GB, free: 13.19 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.8955, allocations: 52.48 kB / 0.8493 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.518e-05/0.8956, allocations: 27.97 kB / 0.8493 GB, free: 13.11 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002108/0.8977, allocations: 1.118 MB / 0.8504 GB, free: 11.96 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8978, allocations: 4 kB / 0.8504 GB, free: 11.96 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003506/0.9013, allocations: 0.9161 MB / 0.8513 GB, free: 11.04 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001897/0.9032, allocations: 0.7265 MB / 0.852 GB, free: 10.45 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003999/0.9072, allocations: 1.717 MB / 0.8537 GB, free: 8.703 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.9072, allocations: 0 / 0.8537 GB, free: 8.703 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.9087, allocations: 0.5738 MB / 0.8542 GB, free: 8.121 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004216/0.9129, allocations: 0.7507 MB / 0.8549 GB, free: 7.375 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007634/0.9206, allocations: 3.784 MB / 0.8586 GB, free: 3.547 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/0.9221, allocations: 1.364 MB / 0.86 GB, free: 2.152 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002245/0.9244, allocations: 410.3 kB / 0.8604 GB, free: 1.746 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.9249, allocations: 147.3 kB / 0.8605 GB, free: 1.602 MB / 0.67 GB Notification: Performance of SimCode: time 8.81e-07/0.9249, allocations: 0 / 0.8605 GB, free: 1.602 MB / 0.67 GB Notification: Performance of Templates: time 0.05708/0.982, allocations: 30.96 MB / 0.8907 GB, free: 3.051 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) Environment - environmentSimulation: