Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 252 MB / 268 MB, free: 10.86 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.001233/0.001233, allocations: 182.4 kB / 327.6 MB, free: 2.094 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.796/1.796, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0009344/0.0009342, allocations: 81.61 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 15.22 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2123, allocations: 106.3 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6428/0.8551, allocations: 206.2 MB / 1.103 GB, free: 1.465 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.018/0.8732, allocations: 13.65 MB / 1.116 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/0.8761, allocations: 61.25 kB / 1.116 GB, free: 1.078 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002677/0.8788, allocations: 0.7085 MB / 1.117 GB, free: 1.062 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007919/0.8868, allocations: 2.334 MB / 1.119 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008956/0.8957, allocations: 3.064 MB / 1.122 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006195/0.9019, allocations: 4.61 MB / 1.127 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.9041, allocations: 1.118 MB / 1.128 GB, free: 0.625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/0.9081, allocations: 1.645 MB / 1.129 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/0.9109, allocations: 1.13 MB / 1.13 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/0.9113, allocations: 63.09 kB / 1.131 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006718/0.918, allocations: 3.298 MB / 1.134 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008546/0.9189, allocations: 384.7 kB / 1.134 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.9204, allocations: 0.8264 MB / 1.135 GB, free: 328 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.9261, allocations: 2.474 MB / 1.137 GB, free: 112 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.9262, allocations: 0.6094 kB / 1.137 GB, free: 112 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9262, allocations: 0 / 1.137 GB, free: 112 kB / 0.698 GB Notification: Performance of Transformations before backend: time 7.524e-05/0.9262, allocations: 0 / 1.137 GB, free: 112 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.006654/0.9329, allocations: 2.066 MB / 1.139 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.933, allocations: 8.406 kB / 1.139 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003308/0.9363, allocations: 0.5804 MB / 1.14 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.9395, allocations: 1.268 MB / 1.141 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006552/0.9402, allocations: 216.6 kB / 1.141 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.9406, allocations: 112.2 kB / 1.141 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00282/0.9434, allocations: 1.387 MB / 1.143 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.9434, allocations: 0 / 1.143 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.9435, allocations: 42.59 kB / 1.143 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-05/0.9436, allocations: 43.59 kB / 1.143 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003155/0.9468, allocations: 1.389 MB / 1.144 GB, free: 13.31 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.00947/0.9562, allocations: 5.34 MB / 1.149 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002727/0.959, allocations: 1.186 MB / 1.151 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.9603, allocations: 0.5716 MB / 1.151 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.9614, allocations: 0.778 MB / 1.152 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.9629, allocations: 0.6407 MB / 1.153 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.487e-06/0.9629, allocations: 0 / 1.153 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.004462/0.9674, allocations: 1.671 MB / 1.154 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.9675, allocations: 142.7 kB / 1.154 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.9696, allocations: 1.347 MB / 1.156 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002148/0.9698, allocations: 54.12 kB / 1.156 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005941/0.9704, allocations: 0.6569 MB / 1.156 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/0.9707, allocations: 281 kB / 1.157 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.9708, allocations: 22.47 kB / 1.157 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.9709, allocations: 349.8 kB / 1.157 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.9723, allocations: 0.5495 MB / 1.158 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.974, allocations: 0.8351 MB / 1.158 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/0.9768, allocations: 1.264 MB / 1.16 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.9768, allocations: 0 / 1.16 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003885/0.9807, allocations: 1.571 MB / 1.161 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.9809, allocations: 262.4 kB / 1.161 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.9809, allocations: 8.844 kB / 1.161 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.981, allocations: 17.52 kB / 1.161 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.9829, allocations: 341.9 kB / 1.162 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007928/0.9837, allocations: 1.197 MB / 1.163 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/0.9858, allocations: 237.8 kB / 1.163 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.9859, allocations: 53.47 kB / 1.163 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.9859, allocations: 3.688 kB / 1.163 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003309/0.9893, allocations: 1.416 MB / 1.165 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.9893, allocations: 6.062 kB / 1.165 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.9893, allocations: 10.34 kB / 1.165 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.9907, allocations: 324.3 kB / 1.165 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.9907, allocations: 12.31 kB / 1.165 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.9926, allocations: 213.2 kB / 1.165 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.9927, allocations: 59.66 kB / 1.165 GB, free: 1.438 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009228/0.9936, allocations: 413.5 kB / 1.166 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/0.994, allocations: 162.5 kB / 1.166 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.9973, allocations: 1.388 MB / 1.167 GB, free: 320 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.9973, allocations: 12.69 kB / 1.167 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.9973, allocations: 0 / 1.167 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.9973, allocations: 8.078 kB / 1.167 GB, free: 308 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005933/1.003, allocations: 2.906 MB / 1.17 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/1.003, allocations: 4 kB / 1.17 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/1.005, allocations: 242.4 kB / 1.17 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/1.005, allocations: 11.94 kB / 1.17 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.174e-05/1.005, allocations: 27.98 kB / 1.17 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006462/1.005, allocations: 1.197 MB / 1.171 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.005, allocations: 6.625 kB / 1.171 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004916/1.01, allocations: 2.141 MB / 1.173 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/1.011, allocations: 366.7 kB / 1.174 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/1.012, allocations: 23.98 kB / 1.174 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.013, allocations: 131.8 kB / 1.174 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.013, allocations: 75.09 kB / 1.174 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-05/1.013, allocations: 35.97 kB / 1.174 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001377/1.014, allocations: 0.9064 MB / 1.175 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/1.014, allocations: 0 / 1.175 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002587/1.017, allocations: 0.8308 MB / 1.176 GB, free: 7.379 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/1.018, allocations: 0.4962 MB / 1.176 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00546/1.024, allocations: 2.237 MB / 1.178 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.024, allocations: 4.062 kB / 1.178 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.026, allocations: 0.6503 MB / 1.179 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004733/1.03, allocations: 0.7081 MB / 1.18 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006232/1.037, allocations: 3.401 MB / 1.183 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008211/1.038, allocations: 1.235 MB / 1.184 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006909/1.038, allocations: 135.4 kB / 1.184 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/1.038, allocations: 0 / 1.184 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.05631/1.095, allocations: 39.08 MB / 1.223 GB, free: 7.523 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)