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.001431/0.001431, allocations: 99.39 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.001896/0.001896, 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.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.685/1.685, allocations: 251.9 MB / 0.51 GB, free: 4.922 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.0006349/0.0006351, allocations: 16 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6279/0.6286, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.0479/0.6765, allocations: 44.87 MB / 0.7718 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02716/0.7037, allocations: 15.61 MB / 0.787 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00354/0.7073, allocations: 71.5 kB / 0.7871 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003876/0.7112, allocations: 0.9695 MB / 0.788 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008668/0.7199, allocations: 2.32 MB / 0.7903 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009898/0.7298, allocations: 2.953 MB / 0.7932 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00735/0.7371, allocations: 2.763 MB / 0.7959 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.7394, allocations: 1.246 MB / 0.7971 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.7429, allocations: 1.351 MB / 0.7984 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.7447, allocations: 0.9137 MB / 0.7993 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.7449, allocations: 68 kB / 0.7994 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004791/0.7497, allocations: 1.361 MB / 0.8007 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005984/0.7503, allocations: 394.5 kB / 0.8011 GB, free: 424 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007604/0.7511, allocations: 408.6 kB / 0.8015 GB, free: 8 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004616/0.7557, allocations: 2.42 MB / 0.8038 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.7557, allocations: 0 / 0.8038 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.195e-06/0.7557, allocations: 3.938 kB / 0.8038 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.723e-05/0.7558, allocations: 0 / 0.8038 GB, free: 13.58 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.006661/0.7625, allocations: 2.221 MB / 0.806 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.7625, allocations: 12.03 kB / 0.806 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003038/0.7656, allocations: 488.9 kB / 0.8065 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00512/0.7707, allocations: 1.524 MB / 0.808 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005246/0.7713, allocations: 162.1 kB / 0.8081 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000326/0.7716, allocations: 127.9 kB / 0.8083 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.7757, allocations: 1.376 MB / 0.8096 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/0.7757, allocations: 0 / 0.8096 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.7759, allocations: 47.94 kB / 0.8097 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-05/0.776, allocations: 32 kB / 0.8097 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004142/0.7801, allocations: 1.117 MB / 0.8108 GB, free: 6.258 MB / 0.6231 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.01556/0.7957, allocations: 7.132 MB / 0.8177 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00274/0.7985, allocations: 1.426 MB / 0.8191 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005813/0.8043, allocations: 3.071 MB / 0.8221 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.8054, allocations: 450.8 kB / 0.8226 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007939/0.8063, allocations: 95.19 kB / 0.8226 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=61): time 4.729e-06/0.8063, allocations: 0 / 0.8226 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61): time 0.003542/0.8098, allocations: 1.288 MB / 0.8239 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.8099, allocations: 137.1 kB / 0.824 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.8131, allocations: 1.602 MB / 0.8256 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.8132, allocations: 45.7 kB / 0.8256 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.8143, allocations: 0.8958 MB / 0.8265 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000268/0.8146, allocations: 212.9 kB / 0.8267 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.8146, allocations: 24 kB / 0.8267 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.8148, allocations: 341.9 kB / 0.8271 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.8158, allocations: 389.8 kB / 0.8274 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.8172, allocations: 0.7852 MB / 0.8282 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.8185, allocations: 496.6 kB / 0.8287 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/0.8185, allocations: 4 kB / 0.8287 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003238/0.8218, allocations: 1.325 MB / 0.83 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.002634/0.8244, allocations: 4.372 MB / 0.8343 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.921e-05/0.8245, allocations: 12 kB / 0.8343 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.422e-05/0.8246, allocations: 20 kB / 0.8343 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.8258, allocations: 267.6 kB / 0.8345 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.618e-05/0.8259, allocations: 23.92 kB / 0.8346 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.8283, allocations: 136.4 kB / 0.8347 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/0.8285, allocations: 55.97 kB / 0.8347 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.8286, allocations: 7.953 kB / 0.8348 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003291/0.8319, allocations: 1.149 MB / 0.8359 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.251e-05/0.8319, allocations: 12.59 kB / 0.8359 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/0.832, allocations: 20 kB / 0.8359 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.8331, allocations: 267.6 kB / 0.8362 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.469e-05/0.8331, allocations: 19.94 kB / 0.8362 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.8351, allocations: 132.5 kB / 0.8363 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.8353, allocations: 51.98 kB / 0.8364 GB, free: 10.36 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 (122): * Single equations (assignments): 118 * 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.00153/0.8369, allocations: 493.5 kB / 0.8368 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007501/0.8376, allocations: 169.8 kB / 0.837 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003334/0.841, allocations: 1.167 MB / 0.8381 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/0.841, allocations: 15.94 kB / 0.8381 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.841, allocations: 0 / 0.8381 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002073/0.8431, allocations: 0.99 MB / 0.8391 GB, free: 7.461 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.005603/0.8487, allocations: 2.467 MB / 0.8415 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.8487, allocations: 4 kB / 0.8415 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/0.8495, allocations: 155.8 kB / 0.8417 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002332/0.8498, allocations: 44.77 kB / 0.8417 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/0.8498, allocations: 19.98 kB / 0.8417 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.8512, allocations: 1.386 MB / 0.8431 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8513, allocations: 0 / 0.8431 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.8548, allocations: 1.639 MB / 0.8447 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000904/0.8557, allocations: 354.7 kB / 0.845 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/0.8561, allocations: 12 kB / 0.845 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/0.8575, allocations: 127.8 kB / 0.8452 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.8577, allocations: 52.48 kB / 0.8452 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.8578, allocations: 35.97 kB / 0.8452 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002338/0.8601, allocations: 1.133 MB / 0.8463 GB, free: 15.74 MB / 0.67 GB Notification: Performance of sort global known variables: time 4e-07/0.8601, allocations: 0 / 0.8463 GB, free: 15.74 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003794/0.8639, allocations: 0.9279 MB / 0.8473 GB, free: 14.81 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.002103/0.8661, allocations: 0.7589 MB / 0.848 GB, free: 14.18 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004008/0.8701, allocations: 1.709 MB / 0.8497 GB, free: 12.45 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8701, allocations: 1.75 kB / 0.8497 GB, free: 12.45 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.8714, allocations: 0.5643 MB / 0.8502 GB, free: 11.87 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/0.8753, allocations: 0.7336 MB / 0.8509 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007535/0.8829, allocations: 3.769 MB / 0.8546 GB, free: 7.328 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/0.8845, allocations: 1.403 MB / 0.856 GB, free: 5.895 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00225/0.8868, allocations: 433.5 kB / 0.8564 GB, free: 5.469 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.8873, allocations: 143.4 kB / 0.8565 GB, free: 5.328 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/0.8873, allocations: 0 / 0.8565 GB, free: 5.328 MB / 0.67 GB Notification: Performance of Templates: time 0.06192/0.9493, allocations: 31.51 MB / 0.8873 GB, free: 6.23 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: