Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.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.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001173/0.001173, allocations: 175.8 kB / 326.5 MB, free: 2.676 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.655/1.655, allocations: 205 MB / 0.5766 GB, free: 20.96 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.0008475/0.0008474, allocations: 95.45 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003339, allocations: 8.625 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2165, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.7275/0.944, allocations: 253.8 MB / 1.145 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01751/0.9616, allocations: 9.756 MB / 1.154 GB, free: 276 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.9654, allocations: 71.53 kB / 1.154 GB, free: 276 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.9685, allocations: 0.8097 MB / 1.155 GB, free: 256 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008987/0.9775, allocations: 2.56 MB / 1.157 GB, free: 120 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006732/0.9842, allocations: 1.967 MB / 1.159 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007918/0.9922, allocations: 5.505 MB / 1.165 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.9945, allocations: 1.274 MB / 1.166 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004169/0.9987, allocations: 1.655 MB / 1.168 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/1.002, allocations: 1.262 MB / 1.169 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002646/1.002, allocations: 61.22 kB / 1.169 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00687/1.009, allocations: 3.493 MB / 1.172 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0007791/1.01, allocations: 487.5 kB / 1.173 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001676/1.011, allocations: 0.89 MB / 1.174 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004581/1.016, allocations: 2.694 MB / 1.176 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/1.016, allocations: 0 / 1.176 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.113e-06/1.016, allocations: 0 / 1.176 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.49e-05/1.016, allocations: 5.75 kB / 1.176 GB, free: 8.656 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004164/1.02, allocations: 2.134 MB / 1.178 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.02, allocations: 11.56 kB / 1.178 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003619/1.024, allocations: 0.6388 MB / 1.179 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/1.027, allocations: 1.372 MB / 1.18 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003978/1.027, allocations: 159.9 kB / 1.18 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/1.027, allocations: 128.4 kB / 1.181 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/1.031, allocations: 1.447 MB / 1.182 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/1.031, allocations: 3.938 kB / 1.182 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.031, allocations: 53.72 kB / 1.182 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.596e-05/1.031, allocations: 45.41 kB / 1.182 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/1.033, allocations: 1.217 MB / 1.183 GB, free: 4.152 MB / 0.7136 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.009642/1.043, allocations: 5.734 MB / 1.189 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/1.045, allocations: 1.041 MB / 1.19 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/1.046, allocations: 0.537 MB / 1.19 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/1.047, allocations: 331.6 kB / 1.191 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/1.048, allocations: 0.5735 MB / 1.191 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 4.268e-06/1.048, allocations: 3.656 kB / 1.191 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=93): time 0.009139/1.057, allocations: 3.628 MB / 1.195 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/1.057, allocations: 94.05 kB / 1.195 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/1.06, allocations: 1.342 MB / 1.196 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/1.06, allocations: 53.69 kB / 1.196 GB, free: 7.637 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006869/1.06, allocations: 0.7242 MB / 1.197 GB, free: 6.906 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/1.061, allocations: 325.5 kB / 1.197 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/1.061, allocations: 89.66 kB / 1.197 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.061, allocations: 345.9 kB / 1.198 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/1.062, allocations: 462.1 kB / 1.198 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/1.063, allocations: 0.6889 MB / 1.199 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/1.077, allocations: 3.639 MB / 1.202 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/1.077, allocations: 4 kB / 1.202 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003998/1.081, allocations: 1.568 MB / 1.204 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002168/1.082, allocations: 250.3 kB / 1.204 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/1.082, allocations: 4 kB / 1.204 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007981/1.082, allocations: 246.1 kB / 1.204 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000905/1.083, allocations: 201.6 kB / 1.205 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004409/1.088, allocations: 4.488 MB / 1.209 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/1.09, allocations: 147.8 kB / 1.209 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/1.09, allocations: 40 kB / 1.209 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/1.09, allocations: 4 kB / 1.209 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003099/1.093, allocations: 1.396 MB / 1.211 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/1.093, allocations: 7.938 kB / 1.211 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/1.093, allocations: 226.2 kB / 1.211 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/1.094, allocations: 193.5 kB / 1.211 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/1.1, allocations: 5.517 MB / 1.216 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/1.102, allocations: 144.4 kB / 1.217 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/1.102, allocations: 43.98 kB / 1.217 GB, free: 2.094 MB / 0.7448 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 98 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,8), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001224/1.103, allocations: 0.5087 MB / 1.217 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00051/1.104, allocations: 166 kB / 1.217 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/1.107, allocations: 1.321 MB / 1.218 GB, free: 76 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.107, allocations: 8 kB / 1.218 GB, free: 68 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.107, allocations: 3.984 kB / 1.219 GB, free: 64 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002249/1.109, allocations: 1.192 MB / 1.22 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006213/1.115, allocations: 3.111 MB / 1.223 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.115, allocations: 4 kB / 1.223 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009682/1.116, allocations: 193.1 kB / 1.223 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/1.116, allocations: 52.83 kB / 1.223 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.68e-05/1.117, allocations: 28 kB / 1.223 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004664/1.117, allocations: 0.588 MB / 1.224 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/1.117, allocations: 4 kB / 1.224 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/1.121, allocations: 2.027 MB / 1.226 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008593/1.122, allocations: 354.9 kB / 1.226 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000381/1.122, allocations: 27.98 kB / 1.226 GB, free: 8.289 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.124, allocations: 108 kB / 1.226 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.124, allocations: 66.39 kB / 1.226 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/1.124, allocations: 43.97 kB / 1.226 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001663/1.125, allocations: 0.9177 MB / 1.227 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.01e-07/1.125, allocations: 2.25 kB / 1.227 GB, free: 7.164 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002778/1.128, allocations: 0.6987 MB / 1.228 GB, free: 6.469 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008086/1.129, allocations: 292.3 kB / 1.228 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005018/1.134, allocations: 2.599 MB / 1.23 GB, free: 3.531 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.134, allocations: 0 / 1.23 GB, free: 3.531 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/1.135, allocations: 0.617 MB / 1.231 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005245/1.141, allocations: 0.8428 MB / 1.232 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007729/1.148, allocations: 3.93 MB / 1.236 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.15, allocations: 1.348 MB / 1.237 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005476/1.15, allocations: 119.4 kB / 1.237 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of SimCode: time 1.283e-06/1.15, allocations: 0 / 1.237 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.05508/1.205, allocations: 40.16 MB / 1.276 GB, free: 4.488 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)