Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.587/1.587, allocations: 287.5 MB / 302.6 MB, free: 8.363 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.0009524/0.0009524, allocations: 190.1 kB / 371.2 MB, free: 10.84 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.41/1.41, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.000853/0.0008531, allocations: 101.2 kB / 0.7432 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004196, allocations: 16.16 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2355, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.04183/0.2774, allocations: 49.17 MB / 1.027 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02615/0.3037, allocations: 16.62 MB / 1.043 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003357/0.3071, allocations: 67.56 kB / 1.043 GB, free: 10.19 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003102/0.3102, allocations: 0.7961 MB / 1.044 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.005802/0.316, allocations: 1.872 MB / 1.046 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008736/0.3248, allocations: 2.735 MB / 1.048 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007606/0.3324, allocations: 5.22 MB / 1.053 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002513/0.3349, allocations: 1.334 MB / 1.055 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.3387, allocations: 1.556 MB / 1.056 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.3408, allocations: 1.252 MB / 1.057 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.3412, allocations: 72 kB / 1.057 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003595/0.3448, allocations: 1.517 MB / 1.059 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005834/0.3454, allocations: 418.2 kB / 1.059 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007185/0.3461, allocations: 408.6 kB / 1.06 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003508/0.3496, allocations: 2.502 MB / 1.062 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3496, allocations: 7.938 kB / 1.062 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3496, allocations: 0 / 1.062 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.604e-05/0.3497, allocations: 0 / 1.062 GB, free: 6.457 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.004062/0.3538, allocations: 2.214 MB / 1.064 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3538, allocations: 12.03 kB / 1.064 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/0.3558, allocations: 493.1 kB / 1.065 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.3588, allocations: 1.646 MB / 1.066 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.3592, allocations: 162.1 kB / 1.067 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.3594, allocations: 119.9 kB / 1.067 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/0.3621, allocations: 1.397 MB / 1.068 GB, free: 216 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.3622, allocations: 3.938 kB / 1.068 GB, free: 212 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.3623, allocations: 48 kB / 1.068 GB, free: 164 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.3624, allocations: 35.98 kB / 1.068 GB, free: 128 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5523/0.9147, allocations: 1.122 MB / 1.069 GB, free: 89.22 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.01737/0.9321, allocations: 7.012 MB / 1.076 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004176/0.9363, allocations: 1.424 MB / 1.078 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/0.938, allocations: 438.8 kB / 1.078 GB, free: 83.31 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007326/0.9453, allocations: 3.08 MB / 1.081 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/0.9472, allocations: 474 kB / 1.081 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007595/0.948, allocations: 84.03 kB / 1.081 GB, free: 80.72 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.937e-06/0.948, allocations: 0 / 1.081 GB, free: 80.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.005204/0.9532, allocations: 1.292 MB / 1.083 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.9533, allocations: 138.9 kB / 1.083 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/0.9569, allocations: 1.579 MB / 1.084 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.714e-05/0.957, allocations: 43.08 kB / 1.084 GB, free: 79.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.9581, allocations: 0.8859 MB / 1.085 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.9584, allocations: 214.2 kB / 1.086 GB, free: 78.58 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.9584, allocations: 19.59 kB / 1.086 GB, free: 78.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.9586, allocations: 347.5 kB / 1.086 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.9604, allocations: 400.8 kB / 1.086 GB, free: 78.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002013/0.9624, allocations: 0.7978 MB / 1.087 GB, free: 77.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003495/0.9659, allocations: 1.15 MB / 1.088 GB, free: 76.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.9659, allocations: 3.562 kB / 1.088 GB, free: 76.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004621/0.9706, allocations: 1.336 MB / 1.089 GB, free: 76.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002416/0.9708, allocations: 441.7 kB / 1.09 GB, free: 75.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/0.9709, allocations: 15.39 kB / 1.09 GB, free: 75.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.43e-05/0.9709, allocations: 19.89 kB / 1.09 GB, free: 75.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.9727, allocations: 267 kB / 1.09 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.013e-05/0.9728, allocations: 23.03 kB / 1.09 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/0.975, allocations: 140.3 kB / 1.09 GB, free: 75.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.9752, allocations: 53.89 kB / 1.09 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.9752, allocations: 2.75 kB / 1.09 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004028/0.9793, allocations: 1.171 MB / 1.092 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/0.9793, allocations: 13.39 kB / 1.092 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.9794, allocations: 15.25 kB / 1.092 GB, free: 75.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001713/0.9811, allocations: 266.6 kB / 1.092 GB, free: 75.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.731e-05/0.9811, allocations: 24.28 kB / 1.092 GB, free: 75.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.9833, allocations: 126.6 kB / 1.092 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.9835, allocations: 54.73 kB / 1.092 GB, free: 75.11 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.001295/0.9848, allocations: 491.9 kB / 1.092 GB, free: 74.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.9852, allocations: 167.6 kB / 1.093 GB, free: 74.67 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004554/0.9897, allocations: 1.169 MB / 1.094 GB, free: 74.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.623e-05/0.9898, allocations: 8.172 kB / 1.094 GB, free: 74.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.9898, allocations: 0.9688 kB / 1.094 GB, free: 74.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003307/0.9931, allocations: 1.008 MB / 1.095 GB, free: 73.73 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.008045/1.001, allocations: 2.447 MB / 1.097 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.001, allocations: 2.844 kB / 1.097 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/1.003, allocations: 154.4 kB / 1.097 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002748/1.003, allocations: 31 kB / 1.097 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.752e-05/1.003, allocations: 24.33 kB / 1.097 GB, free: 72.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/1.004, allocations: 1.37 MB / 1.099 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.004, allocations: 1.031 kB / 1.099 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005734/1.01, allocations: 1.625 MB / 1.1 GB, free: 70.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.011, allocations: 352.1 kB / 1.101 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/1.012, allocations: 20.5 kB / 1.101 GB, free: 70.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/1.013, allocations: 123 kB / 1.101 GB, free: 70.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/1.014, allocations: 55.91 kB / 1.101 GB, free: 70.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.014, allocations: 29.72 kB / 1.101 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002611/1.016, allocations: 1.11 MB / 1.102 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/1.016, allocations: 1.5 kB / 1.102 GB, free: 69.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004605/1.021, allocations: 0.9242 MB / 1.103 GB, free: 69.63 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.002691/1.024, allocations: 0.7307 MB / 1.104 GB, free: 69.42 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006551/1.03, allocations: 1.731 MB / 1.105 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.03, allocations: 1.531 kB / 1.105 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002091/1.033, allocations: 0.5693 MB / 1.106 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006241/1.039, allocations: 0.7426 MB / 1.106 GB, free: 68.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009628/1.048, allocations: 3.776 MB / 1.11 GB, free: 66.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/1.05, allocations: 1.374 MB / 1.112 GB, free: 65.42 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003539/1.054, allocations: 422.7 kB / 1.112 GB, free: 65.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007131/1.055, allocations: 136 kB / 1.112 GB, free: 65.29 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/1.055, allocations: 0 / 1.112 GB, free: 65.29 MB / 0.6823 GB Notification: Performance of Templates: time 0.05483/1.11, allocations: 31.29 MB / 1.143 GB, free: 41.46 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)