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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.603/1.603, allocations: 251.9 MB / 0.51 GB, free: 4.828 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005588/0.0005589, allocations: 20 kB / 0.6241 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6017, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.2204/0.8221, allocations: 176 MB / 0.8999 GB, free: 11 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.6483/1.471, allocations: 12.24 MB / 0.9118 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/1.474, allocations: 51.09 kB / 0.9119 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003315/1.477, allocations: 0.7603 MB / 0.9126 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009151/1.486, allocations: 2.258 MB / 0.9148 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01104/1.497, allocations: 2.864 MB / 0.9176 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00675/1.504, allocations: 2.221 MB / 0.9198 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/1.506, allocations: 1.022 MB / 0.9208 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004866/1.511, allocations: 1.445 MB / 0.9222 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/1.514, allocations: 0.8413 MB / 0.923 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002633/1.514, allocations: 64.19 kB / 0.9231 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006996/1.521, allocations: 2.093 MB / 0.9251 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005193/1.521, allocations: 352 kB / 0.9254 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/1.523, allocations: 347.8 kB / 0.9258 GB, free: 21.24 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004266/1.527, allocations: 2.27 MB / 0.928 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/1.527, allocations: 0.5625 kB / 0.928 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.425e-06/1.527, allocations: 0 / 0.928 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.351e-05/1.527, allocations: 4 kB / 0.928 GB, free: 21.05 MB / 0.7325 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.004743/1.532, allocations: 2.049 MB / 0.93 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/1.532, allocations: 9.094 kB / 0.93 GB, free: 19.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002794/1.535, allocations: 0.592 MB / 0.9306 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/1.537, allocations: 1.187 MB / 0.9317 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006158/1.538, allocations: 225.6 kB / 0.932 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/1.538, allocations: 112.2 kB / 0.9321 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/1.54, allocations: 1.359 MB / 0.9334 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.541, allocations: 0 / 0.9334 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.541, allocations: 46.02 kB / 0.9334 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/1.541, allocations: 42.81 kB / 0.9335 GB, free: 19.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00299/1.544, allocations: 1.388 MB / 0.9348 GB, free: 19.23 MB / 0.7325 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.008719/1.552, allocations: 5.354 MB / 0.9401 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/1.555, allocations: 1.18 MB / 0.9412 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009451/1.556, allocations: 0.5989 MB / 0.9418 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/1.558, allocations: 0.641 MB / 0.9424 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.416e-06/1.558, allocations: 0 / 0.9424 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.004123/1.562, allocations: 1.663 MB / 0.9441 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.571e-05/1.562, allocations: 143.1 kB / 0.9442 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/1.563, allocations: 1.335 MB / 0.9455 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/1.564, allocations: 52.81 kB / 0.9455 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004888/1.564, allocations: 0.6593 MB / 0.9462 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/1.564, allocations: 286.6 kB / 0.9465 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/1.564, allocations: 19.88 kB / 0.9465 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.564, allocations: 348 kB / 0.9468 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/1.566, allocations: 0.5365 MB / 0.9473 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/1.567, allocations: 0.8233 MB / 0.9481 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/1.569, allocations: 0.6186 MB / 0.9487 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/1.569, allocations: 0 / 0.9487 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003246/1.572, allocations: 1.559 MB / 0.9503 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009127/1.573, allocations: 1.996 MB / 0.9522 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/1.573, allocations: 8.906 kB / 0.9522 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/1.573, allocations: 15 kB / 0.9522 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.575, allocations: 343.2 kB / 0.9526 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007396/1.575, allocations: 1.2 MB / 0.9537 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.577, allocations: 236.4 kB / 0.954 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.577, allocations: 55.12 kB / 0.954 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/1.577, allocations: 5.375 kB / 0.954 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002982/1.58, allocations: 1.401 MB / 0.9554 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.58, allocations: 5.344 kB / 0.9554 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/1.58, allocations: 14.62 kB / 0.9554 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.581, allocations: 323.8 kB / 0.9557 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.582, allocations: 8.031 kB / 0.9557 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.583, allocations: 227 kB / 0.9559 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/1.583, allocations: 58.67 kB / 0.956 GB, free: 11.12 MB / 0.7325 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009338/1.584, allocations: 419.2 kB / 0.9564 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/1.585, allocations: 160.4 kB / 0.9565 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003158/1.588, allocations: 1.38 MB / 0.9579 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/1.588, allocations: 7.656 kB / 0.9579 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/1.588, allocations: 2.906 kB / 0.9579 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.588, allocations: 7.047 kB / 0.9579 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/1.593, allocations: 2.909 MB / 0.9608 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.593, allocations: 2.781 kB / 0.9608 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.594, allocations: 246.7 kB / 0.961 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.809e-05/1.594, allocations: 7.719 kB / 0.961 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/1.594, allocations: 31.95 kB / 0.961 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000757/1.595, allocations: 1.19 MB / 0.9622 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/1.595, allocations: 10.11 kB / 0.9622 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004507/1.6, allocations: 2.357 MB / 0.9645 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007832/1.6, allocations: 376.2 kB / 0.9649 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/1.601, allocations: 24.3 kB / 0.9649 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.602, allocations: 137.2 kB / 0.965 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/1.602, allocations: 73.69 kB / 0.9651 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/1.602, allocations: 40.38 kB / 0.9651 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001322/1.603, allocations: 0.8977 MB / 0.966 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.21e-07/1.604, allocations: 0 / 0.966 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002794/1.606, allocations: 0.8277 MB / 0.9668 GB, free: 7.844 MB / 0.7325 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001325/1.608, allocations: 0.5054 MB / 0.9673 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005479/1.613, allocations: 2.223 MB / 0.9695 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.613, allocations: 0 / 0.9695 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/1.615, allocations: 0.6689 MB / 0.9701 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/1.618, allocations: 0.6852 MB / 0.9708 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/1.625, allocations: 3.253 MB / 0.974 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/1.626, allocations: 1.264 MB / 0.9752 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002199/1.628, allocations: 419.5 kB / 0.9756 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004917/1.629, allocations: 131 kB / 0.9757 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of SimCode: time 2.725e-06/1.629, allocations: 4 kB / 0.9757 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of Templates: time 0.05835/1.687, allocations: 29.8 MB / 1.005 GB, free: 13.61 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: