Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.232/2.232, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 192.2 kB / 499.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 102.3 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 56.41 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2942, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.03938/0.3336, allocations: 52.97 MB / 1.27 GB, free: 64.13 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.02104/0.3547, allocations: 15.31 MB / 1.285 GB, free: 48.78 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003781/0.3586, allocations: 83.5 kB / 1.285 GB, free: 48.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003461/0.3621, allocations: 0.9467 MB / 1.286 GB, free: 47.75 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006411/0.3685, allocations: 2.15 MB / 1.288 GB, free: 45.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006063/0.3746, allocations: 2.011 MB / 1.29 GB, free: 43.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.006973/0.3816, allocations: 6.048 MB / 1.296 GB, free: 37.54 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.3838, allocations: 1.388 MB / 1.297 GB, free: 36.11 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.3872, allocations: 1.688 MB / 1.299 GB, free: 34.42 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.3892, allocations: 1.369 MB / 1.3 GB, free: 33.04 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.3894, allocations: 91.94 kB / 1.3 GB, free: 32.95 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.3935, allocations: 1.739 MB / 1.302 GB, free: 31.21 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.394, allocations: 458.1 kB / 1.302 GB, free: 30.76 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.3952, allocations: 0.9478 MB / 1.303 GB, free: 29.81 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004271/0.3994, allocations: 3.225 MB / 1.306 GB, free: 26.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3995, allocations: 0 / 1.306 GB, free: 26.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.61e-07/0.3995, allocations: 0 / 1.306 GB, free: 26.57 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.295e-05/0.3995, allocations: 3.938 kB / 1.306 GB, free: 26.57 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003886/0.4034, allocations: 2.529 MB / 1.309 GB, free: 23.97 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4034, allocations: 11.98 kB / 1.309 GB, free: 23.96 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.4059, allocations: 0.5326 MB / 1.309 GB, free: 23.43 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/0.4089, allocations: 1.682 MB / 1.311 GB, free: 21.69 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003193/0.4093, allocations: 142.4 kB / 1.311 GB, free: 21.55 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.4094, allocations: 124 kB / 1.311 GB, free: 21.43 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.4117, allocations: 1.371 MB / 1.313 GB, free: 19.97 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.4117, allocations: 7.938 kB / 1.313 GB, free: 19.96 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/0.4119, allocations: 44 kB / 1.313 GB, free: 19.92 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.4119, allocations: 46.02 kB / 1.313 GB, free: 19.87 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.4143, allocations: 1.144 MB / 1.314 GB, free: 18.72 MB / 0.823 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.00775/0.4221, allocations: 7.01 MB / 1.321 GB, free: 11.17 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.4244, allocations: 1.42 MB / 1.322 GB, free: 9.637 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009213/0.4253, allocations: 450.8 kB / 1.322 GB, free: 9.195 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00464/0.43, allocations: 3.157 MB / 1.326 GB, free: 5.695 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.431, allocations: 470.9 kB / 1.326 GB, free: 5.223 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004885/0.4315, allocations: 91.19 kB / 1.326 GB, free: 5.133 MB / 0.823 GB Notification: Performance of pre-optimization done (n=61): time 4.428e-06/0.4315, allocations: 0 / 1.326 GB, free: 5.133 MB / 0.823 GB Notification: Performance of matching and sorting (n=61): time 0.003097/0.4346, allocations: 1.287 MB / 1.327 GB, free: 3.816 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.4347, allocations: 59.97 kB / 1.327 GB, free: 3.746 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.4366, allocations: 1.513 MB / 1.329 GB, free: 2.23 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-05/0.4367, allocations: 45.7 kB / 1.329 GB, free: 2.18 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005835/0.4373, allocations: 0.8761 MB / 1.33 GB, free: 1.293 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.4375, allocations: 220.9 kB / 1.33 GB, free: 1.074 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.4378, allocations: 202.4 kB / 1.33 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.4379, allocations: 345.9 kB / 1.331 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009127/0.4388, allocations: 412.5 kB / 1.331 GB, free: 124 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.4401, allocations: 0.7788 MB / 1.332 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.4425, allocations: 1.167 MB / 1.333 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.475e-05/0.4425, allocations: 4 kB / 1.333 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003202/0.4457, allocations: 1.345 MB / 1.334 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/0.4458, allocations: 41.77 kB / 1.334 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.4458, allocations: 12 kB / 1.334 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.4459, allocations: 16 kB / 1.334 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.4469, allocations: 267.7 kB / 1.334 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.33e-05/0.447, allocations: 27.86 kB / 1.334 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.4484, allocations: 124.5 kB / 1.335 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.4486, allocations: 51.98 kB / 1.335 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001732/0.4503, allocations: 0.701 MB / 1.335 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001317/0.4516, allocations: 0.7709 MB / 1.336 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002225/0.4539, allocations: 1.128 MB / 1.337 GB, free: 9.012 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.658e-06/0.4539, allocations: 8 kB / 1.337 GB, free: 9.004 MB / 0.8386 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.003286/0.4572, allocations: 1.317 MB / 1.338 GB, free: 7.672 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.4573, allocations: 38.8 kB / 1.339 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.4573, allocations: 12 kB / 1.339 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.4573, allocations: 16 kB / 1.339 GB, free: 7.602 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.4584, allocations: 267.9 kB / 1.339 GB, free: 7.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.852e-05/0.4584, allocations: 19.94 kB / 1.339 GB, free: 7.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.4599, allocations: 128.4 kB / 1.339 GB, free: 7.195 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.46, allocations: 51.98 kB / 1.339 GB, free: 7.145 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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): 119 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003644/0.4604, allocations: 249.4 kB / 1.339 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005522/0.461, allocations: 161.9 kB / 1.339 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/0.4642, allocations: 1.178 MB / 1.341 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.4642, allocations: 8 kB / 1.341 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4642, allocations: 0 / 1.341 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002123/0.4663, allocations: 1.013 MB / 1.342 GB, free: 4.469 MB / 0.8386 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.00601/0.4724, allocations: 2.479 MB / 1.344 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4724, allocations: 0 / 1.344 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007842/0.4732, allocations: 151.9 kB / 1.344 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/0.4734, allocations: 32.77 kB / 1.344 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/0.4734, allocations: 27.98 kB / 1.344 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.4745, allocations: 1.319 MB / 1.345 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/0.4745, allocations: 12.08 kB / 1.345 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1844/0.6589, allocations: 39.21 MB / 1.384 GB, free: 8.582 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.66, allocations: 330.7 kB / 1.384 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004734/0.6605, allocations: 20 kB / 1.384 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.6618, allocations: 111.8 kB / 1.384 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.662, allocations: 56.48 kB / 1.384 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.6621, allocations: 27.98 kB / 1.384 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00209/0.6642, allocations: 1.077 MB / 1.385 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6642, allocations: 0 / 1.385 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006191/0.6704, allocations: 1.381 MB / 1.387 GB, free: 5.543 MB / 0.8855 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.s[1],mov.filter.s[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 (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002509/0.673, allocations: 0.765 MB / 1.387 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004075/0.677, allocations: 1.672 MB / 1.389 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6771, allocations: 0 / 1.389 GB, free: 3.246 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.6784, allocations: 0.5686 MB / 1.39 GB, free: 2.668 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003591/0.682, allocations: 0.7177 MB / 1.39 GB, free: 1.953 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007521/0.6896, allocations: 4.281 MB / 1.395 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.6909, allocations: 1.381 MB / 1.396 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002582/0.6935, allocations: 474 kB / 1.396 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007846/0.6943, allocations: 159.4 kB / 1.396 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of SimCode: time 2.184e-06/0.6943, allocations: 3.938 kB / 1.396 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of Templates: time 0.5933/1.288, allocations: 41.9 MB / 1.437 GB, free: 189.2 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)