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.466/1.466, allocations: 251.5 MB / 267.4 MB, free: 11.12 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.001071/0.001071, allocations: 174.4 kB / 326.5 MB, free: 2.734 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.786/1.786, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008721/0.0008722, allocations: 91.81 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 9 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2597, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6458/0.9056, allocations: 208.6 MB / 1.1 GB, free: 1.309 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02147/0.9271, allocations: 13.82 MB / 1.114 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.9303, allocations: 58.5 kB / 1.114 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002769/0.9331, allocations: 0.718 MB / 1.115 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007995/0.9411, allocations: 2.327 MB / 1.117 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009103/0.9502, allocations: 3.066 MB / 1.12 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006255/0.9565, allocations: 4.62 MB / 1.125 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.9584, allocations: 1.1 MB / 1.126 GB, free: 476 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004263/0.9627, allocations: 1.647 MB / 1.127 GB, free: 448 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003104/0.9659, allocations: 1.131 MB / 1.128 GB, free: 440 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004858/0.9664, allocations: 60.91 kB / 1.128 GB, free: 440 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00693/0.9733, allocations: 3.294 MB / 1.132 GB, free: 404 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000959/0.9743, allocations: 379.1 kB / 1.132 GB, free: 404 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001747/0.9761, allocations: 0.798 MB / 1.133 GB, free: 248 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005367/0.9814, allocations: 2.485 MB / 1.135 GB, free: 32 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.9815, allocations: 0 / 1.135 GB, free: 32 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9815, allocations: 0 / 1.135 GB, free: 32 kB / 0.698 GB Notification: Performance of Transformations before backend: time 4.746e-05/0.9815, allocations: 0 / 1.135 GB, free: 32 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.005872/0.9874, allocations: 2.062 MB / 1.137 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.9875, allocations: 9.406 kB / 1.137 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.9906, allocations: 0.5908 MB / 1.138 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/0.9934, allocations: 1.261 MB / 1.139 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006664/0.9941, allocations: 220.1 kB / 1.139 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.9944, allocations: 110.5 kB / 1.139 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.9973, allocations: 1.378 MB / 1.141 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.9974, allocations: 0 / 1.141 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.9975, allocations: 47.55 kB / 1.141 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.9975, allocations: 46.38 kB / 1.141 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003131/1.001, allocations: 1.394 MB / 1.142 GB, free: 13.98 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.008945/1.01, allocations: 5.327 MB / 1.147 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/1.012, allocations: 1.188 MB / 1.148 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/1.014, allocations: 0.5726 MB / 1.149 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/1.015, allocations: 0.7801 MB / 1.15 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001493/1.016, allocations: 0.636 MB / 1.15 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.467e-06/1.016, allocations: 0 / 1.15 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.004441/1.021, allocations: 1.676 MB / 1.152 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/1.021, allocations: 144.4 kB / 1.152 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/1.023, allocations: 1.347 MB / 1.153 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/1.023, allocations: 50.11 kB / 1.154 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005884/1.023, allocations: 0.6478 MB / 1.154 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/1.024, allocations: 285.6 kB / 1.154 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/1.024, allocations: 102.5 kB / 1.155 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.024, allocations: 346.9 kB / 1.155 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/1.025, allocations: 0.5539 MB / 1.155 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/1.027, allocations: 0.832 MB / 1.156 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/1.03, allocations: 1.266 MB / 1.157 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/1.03, allocations: 3.094 kB / 1.157 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003745/1.034, allocations: 1.572 MB / 1.159 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002023/1.034, allocations: 270 kB / 1.159 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/1.034, allocations: 6.062 kB / 1.159 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/1.034, allocations: 9.844 kB / 1.159 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/1.036, allocations: 358.3 kB / 1.16 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007565/1.036, allocations: 1.194 MB / 1.161 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/1.038, allocations: 234.6 kB / 1.161 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/1.039, allocations: 53.22 kB / 1.161 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.039, allocations: 9.625 kB / 1.161 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003428/1.042, allocations: 1.406 MB / 1.162 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/1.042, allocations: 8.906 kB / 1.162 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.042, allocations: 12.25 kB / 1.162 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.043, allocations: 320.3 kB / 1.163 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/1.044, allocations: 20.62 kB / 1.163 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.045, allocations: 216.5 kB / 1.163 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/1.045, allocations: 55.53 kB / 1.163 GB, free: 1.27 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 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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.0008326/1.046, allocations: 415.9 kB / 1.163 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/1.047, allocations: 157.6 kB / 1.164 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/1.05, allocations: 1.388 MB / 1.165 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/1.05, allocations: 14.69 kB / 1.165 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.05, allocations: 0 / 1.165 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.05, allocations: 6.359 kB / 1.165 GB, free: 140 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005544/1.055, allocations: 2.893 MB / 1.168 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.056, allocations: 8.062 kB / 1.168 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.057, allocations: 238 kB / 1.168 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/1.057, allocations: 8 kB / 1.168 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/1.057, allocations: 27.98 kB / 1.168 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000585/1.057, allocations: 1.196 MB / 1.169 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.057, allocations: 6.531 kB / 1.169 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/1.062, allocations: 2.142 MB / 1.171 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009964/1.063, allocations: 369.1 kB / 1.172 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/1.063, allocations: 27.98 kB / 1.172 GB, free: 9.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.065, allocations: 131.8 kB / 1.172 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.065, allocations: 79.12 kB / 1.172 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.125e-05/1.065, allocations: 39.97 kB / 1.172 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001347/1.066, allocations: 0.8986 MB / 1.173 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/1.066, allocations: 0 / 1.173 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002704/1.069, allocations: 0.8269 MB / 1.174 GB, free: 7.629 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.001455/1.07, allocations: 0.5116 MB / 1.174 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00546/1.076, allocations: 2.228 MB / 1.176 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.136e-06/1.076, allocations: 0 / 1.176 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/1.077, allocations: 0.659 MB / 1.177 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/1.082, allocations: 0.7066 MB / 1.178 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/1.087, allocations: 3.359 MB / 1.181 GB, free: 192 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/1.088, allocations: 1.235 MB / 1.182 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/1.088, allocations: 135.4 kB / 1.182 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of SimCode: time 9.71e-07/1.088, allocations: 0 / 1.182 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of Templates: time 0.0491/1.137, allocations: 39.06 MB / 1.22 GB, free: 7.828 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)