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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000957/0.000957, allocations: 172.7 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009091/0.0009089, allocations: 95.72 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 8.844 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2385, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.03665/0.2753, allocations: 52.74 MB / 0.9482 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02163/0.2969, allocations: 18.12 MB / 0.9659 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00352/0.3005, allocations: 71.56 kB / 0.966 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003355/0.3039, allocations: 0.999 MB / 0.967 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006814/0.3107, allocations: 2.121 MB / 0.9691 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.008928/0.3196, allocations: 3.07 MB / 0.9721 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007648/0.3273, allocations: 6.03 MB / 0.9779 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002139/0.3295, allocations: 1.333 MB / 0.9792 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.3327, allocations: 1.637 MB / 0.9808 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002064/0.3348, allocations: 1.33 MB / 0.9821 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004515/0.3353, allocations: 72 kB / 0.9822 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.3394, allocations: 1.801 MB / 0.984 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007489/0.3401, allocations: 438.1 kB / 0.9844 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.3412, allocations: 0.9204 MB / 0.9853 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003513/0.3448, allocations: 2.529 MB / 0.9878 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3448, allocations: 0 / 0.9878 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3448, allocations: 0 / 0.9878 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001176/0.3449, allocations: 0 / 0.9878 GB, free: 6.648 MB / 0.6355 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.004286/0.3492, allocations: 2.222 MB / 0.9899 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.504e-05/0.3493, allocations: 12.03 kB / 0.9899 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.3513, allocations: 489.6 kB / 0.9904 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/0.3544, allocations: 1.64 MB / 0.992 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/0.3548, allocations: 162.1 kB / 0.9922 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.355, allocations: 124 kB / 0.9923 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.3576, allocations: 1.399 MB / 0.9936 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.3576, allocations: 3.938 kB / 0.9937 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.3577, allocations: 48 kB / 0.9937 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.3577, allocations: 32 kB / 0.9937 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.3603, allocations: 1.132 MB / 0.9948 GB, free: 15.17 MB / 0.6511 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.008262/0.3686, allocations: 7.014 MB / 1.002 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.371, allocations: 1.449 MB / 1.003 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009346/0.372, allocations: 439.8 kB / 1.004 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004297/0.3763, allocations: 3.06 MB / 1.007 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.3774, allocations: 470.8 kB / 1.007 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004074/0.3778, allocations: 91.25 kB / 1.007 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 2.434e-06/0.3778, allocations: 0 / 1.007 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.003148/0.381, allocations: 1.295 MB / 1.008 GB, free: 348 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.381, allocations: 141.1 kB / 1.008 GB, free: 176 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.3834, allocations: 1.59 MB / 1.01 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/0.3835, allocations: 41.7 kB / 1.01 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008005/0.3843, allocations: 0.8802 MB / 1.011 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.3845, allocations: 216.9 kB / 1.011 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3846, allocations: 89.66 kB / 1.011 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3847, allocations: 349.9 kB / 1.012 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.3858, allocations: 417.7 kB / 1.012 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.387, allocations: 0.8203 MB / 1.013 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.3891, allocations: 1.178 MB / 1.014 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.3891, allocations: 4 kB / 1.014 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002729/0.3919, allocations: 1.368 MB / 1.015 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003195/0.3922, allocations: 433.2 kB / 1.016 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.3922, allocations: 12 kB / 1.016 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/0.3923, allocations: 16 kB / 1.016 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009914/0.3933, allocations: 267.5 kB / 1.016 GB, free: 7.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-05/0.3933, allocations: 23.92 kB / 1.016 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.3945, allocations: 144.3 kB / 1.016 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.3947, allocations: 51.98 kB / 1.016 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.3947, allocations: 7.938 kB / 1.016 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002422/0.3971, allocations: 1.173 MB / 1.017 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.67e-05/0.3971, allocations: 11.94 kB / 1.017 GB, free: 6.566 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3972, allocations: 20.03 kB / 1.017 GB, free: 6.547 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009542/0.3981, allocations: 259.7 kB / 1.018 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.308e-05/0.3982, allocations: 27.86 kB / 1.018 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.3993, allocations: 120.6 kB / 1.018 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.521e-05/0.3994, allocations: 51.98 kB / 1.018 GB, free: 6.098 MB / 0.6667 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 (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): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0008071/0.4002, allocations: 488.6 kB / 1.018 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.4005, allocations: 169.8 kB / 1.018 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.4032, allocations: 1.171 MB / 1.02 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.4032, allocations: 4 kB / 1.02 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4032, allocations: 7.938 kB / 1.02 GB, free: 4.246 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001928/0.4052, allocations: 1.009 MB / 1.021 GB, free: 3.184 MB / 0.6667 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.004515/0.4097, allocations: 2.441 MB / 1.023 GB, free: 0.6797 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4097, allocations: 4 kB / 1.023 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007097/0.4104, allocations: 151.9 kB / 1.023 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001918/0.4106, allocations: 40.81 kB / 1.023 GB, free: 496 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-05/0.4107, allocations: 19.98 kB / 1.023 GB, free: 476 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.4119, allocations: 1.37 MB / 1.024 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.4119, allocations: 4.031 kB / 1.024 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.4151, allocations: 1.635 MB / 1.026 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006141/0.4158, allocations: 338.6 kB / 1.026 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000321/0.4161, allocations: 16 kB / 1.026 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.4172, allocations: 115.9 kB / 1.026 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.4173, allocations: 52.44 kB / 1.027 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.594e-05/0.4174, allocations: 27.97 kB / 1.027 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001695/0.4191, allocations: 1.133 MB / 1.028 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4191, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002799/0.4219, allocations: 0.9162 MB / 1.029 GB, free: 10.66 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 (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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001815/0.4238, allocations: 0.7427 MB / 1.029 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003605/0.4274, allocations: 1.741 MB / 1.031 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.4274, allocations: 0.5625 kB / 1.031 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.4286, allocations: 0.5759 MB / 1.032 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003476/0.4321, allocations: 0.7617 MB / 1.032 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00616/0.4383, allocations: 3.816 MB / 1.036 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.4394, allocations: 1.368 MB / 1.037 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/0.4398, allocations: 151.4 kB / 1.037 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/0.4399, allocations: 0 / 1.037 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of Templates: time 0.4181/0.8579, allocations: 33.95 MB / 1.071 GB, free: 137 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (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)