Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 288.4 MB / 303.4 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001844/0.001844, allocations: 179 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 0.6307 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 96.69 kB / 0.7441 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.000408, allocations: 15.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04784/0.2673, allocations: 49.15 MB / 1.028 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0271/0.2945, allocations: 16.64 MB / 1.044 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/0.2988, allocations: 71.5 kB / 1.044 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004173/0.303, allocations: 0.7926 MB / 1.045 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007394/0.3104, allocations: 1.872 MB / 1.047 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009629/0.3201, allocations: 2.733 MB / 1.049 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008674/0.3288, allocations: 5.177 MB / 1.054 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003616/0.3324, allocations: 1.226 MB / 1.055 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004494/0.3369, allocations: 1.544 MB / 1.057 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.3398, allocations: 1.256 MB / 1.058 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0007388/0.3405, allocations: 68 kB / 1.058 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004544/0.3451, allocations: 1.513 MB / 1.06 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.3462, allocations: 426.2 kB / 1.06 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.3473, allocations: 404.6 kB / 1.06 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.352, allocations: 2.498 MB / 1.063 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.352, allocations: 0 / 1.063 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.667e-06/0.352, allocations: 3.984 kB / 1.063 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001182/0.3522, allocations: 0 / 1.063 GB, free: 6.074 MB / 0.6823 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.005359/0.3575, allocations: 2.241 MB / 1.065 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3576, allocations: 8.031 kB / 1.065 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/0.3601, allocations: 496.9 kB / 1.066 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/0.364, allocations: 1.575 MB / 1.067 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004061/0.3644, allocations: 162.1 kB / 1.067 GB, free: 1.484 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.3647, allocations: 124 kB / 1.067 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4635/0.8282, allocations: 1.384 MB / 1.069 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/0.8284, allocations: 4.25 kB / 1.069 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.8285, allocations: 48.72 kB / 1.069 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.88e-05/0.8286, allocations: 30.14 kB / 1.069 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.8319, allocations: 1.13 MB / 1.07 GB, free: 88.93 MB / 0.6823 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.01021/0.8422, allocations: 7.012 MB / 1.077 GB, free: 83.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/0.8452, allocations: 1.431 MB / 1.078 GB, free: 83 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/0.8464, allocations: 440.2 kB / 1.079 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005627/0.852, allocations: 3.087 MB / 1.082 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/0.8533, allocations: 474.3 kB / 1.082 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006631/0.854, allocations: 81.03 kB / 1.082 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 4.318e-06/0.854, allocations: 0 / 1.082 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.003898/0.8579, allocations: 1.301 MB / 1.083 GB, free: 79.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.858, allocations: 137.1 kB / 1.084 GB, free: 79.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/0.8608, allocations: 1.569 MB / 1.085 GB, free: 79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.8609, allocations: 44.81 kB / 1.085 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009011/0.8618, allocations: 0.8888 MB / 1.086 GB, free: 78.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.862, allocations: 215.9 kB / 1.086 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.8621, allocations: 19.84 kB / 1.086 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.8622, allocations: 343.9 kB / 1.087 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.8633, allocations: 398.5 kB / 1.087 GB, free: 77.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.8647, allocations: 0.7998 MB / 1.088 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.8659, allocations: 0.5041 MB / 1.088 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.8659, allocations: 3.562 kB / 1.088 GB, free: 76.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003131/0.869, allocations: 1.339 MB / 1.09 GB, free: 76.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002366/0.8693, allocations: 442.3 kB / 1.09 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.8693, allocations: 11.83 kB / 1.09 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/0.8693, allocations: 17.19 kB / 1.09 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.8705, allocations: 268 kB / 1.09 GB, free: 75.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.169e-05/0.8705, allocations: 21.58 kB / 1.09 GB, free: 75.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.872, allocations: 134.8 kB / 1.09 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.8722, allocations: 55.56 kB / 1.09 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.8722, allocations: 4.562 kB / 1.09 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002628/0.8748, allocations: 1.17 MB / 1.092 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.8749, allocations: 12.42 kB / 1.092 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.8749, allocations: 18.03 kB / 1.092 GB, free: 75.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.876, allocations: 268.1 kB / 1.092 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/0.876, allocations: 22.84 kB / 1.092 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/0.8775, allocations: 127.1 kB / 1.092 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.8776, allocations: 52.88 kB / 1.092 GB, free: 75.18 MB / 0.6823 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.0009882/0.8786, allocations: 492.5 kB / 1.093 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.8789, allocations: 172 kB / 1.093 GB, free: 74.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/0.8818, allocations: 1.171 MB / 1.094 GB, free: 74.31 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.8819, allocations: 9.5 kB / 1.094 GB, free: 74.31 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.8819, allocations: 1.469 kB / 1.094 GB, free: 74.31 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001983/0.8839, allocations: 1.008 MB / 1.095 GB, free: 73.8 MB / 0.6823 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.005139/0.889, allocations: 2.44 MB / 1.097 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.8891, allocations: 1.25 kB / 1.097 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007648/0.8898, allocations: 155.8 kB / 1.097 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.89, allocations: 35.25 kB / 1.097 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.8901, allocations: 20.56 kB / 1.097 GB, free: 72.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.8911, allocations: 1.363 MB / 1.099 GB, free: 71.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.8912, allocations: 1.609 kB / 1.099 GB, free: 71.31 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.8948, allocations: 1.632 MB / 1.1 GB, free: 70.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009556/0.8957, allocations: 351.2 kB / 1.101 GB, free: 70.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000494/0.8963, allocations: 15.17 kB / 1.101 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/0.8976, allocations: 127.2 kB / 1.101 GB, free: 70.31 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.8978, allocations: 50.09 kB / 1.101 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.8979, allocations: 33.73 kB / 1.101 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002372/0.9003, allocations: 1.112 MB / 1.102 GB, free: 69.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9003, allocations: 2.406 kB / 1.102 GB, free: 69.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003435/0.9038, allocations: 0.9223 MB / 1.103 GB, free: 69.7 MB / 0.6823 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.001754/0.9055, allocations: 0.733 MB / 1.104 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00365/0.9092, allocations: 1.734 MB / 1.105 GB, free: 68.81 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.9092, allocations: 0 / 1.105 GB, free: 68.81 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.9104, allocations: 0.5697 MB / 1.106 GB, free: 68.56 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/0.9138, allocations: 0.7467 MB / 1.107 GB, free: 68.35 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005729/0.9196, allocations: 3.787 MB / 1.11 GB, free: 65.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008911/0.9205, allocations: 1.37 MB / 1.112 GB, free: 64.93 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001903/0.9224, allocations: 421.4 kB / 1.112 GB, free: 64.72 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.9228, allocations: 141.9 kB / 1.112 GB, free: 64.69 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/0.9228, allocations: 3.938 kB / 1.112 GB, free: 64.69 MB / 0.6823 GB Notification: Performance of Templates: time 0.04958/0.9724, allocations: 31.16 MB / 1.143 GB, free: 41.25 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)