Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.652/2.652, allocations: 287.3 MB / 302.3 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 186.9 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 89.31 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004876, allocations: 12.89 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2176, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.9499/1.168, allocations: 175.8 MB / 1.15 GB, free: 9.719 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02916/1.197, allocations: 12.23 MB / 1.162 GB, free: 196 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002816/1.2, allocations: 50.53 kB / 1.162 GB, free: 172 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004135/1.204, allocations: 0.7598 MB / 1.163 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/1.214, allocations: 2.197 MB / 1.165 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01357/1.228, allocations: 2.862 MB / 1.168 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006654/1.235, allocations: 2.217 MB / 1.17 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/1.237, allocations: 1.032 MB / 1.171 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005783/1.243, allocations: 1.481 MB / 1.172 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002715/1.246, allocations: 0.8028 MB / 1.173 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005613/1.247, allocations: 62.72 kB / 1.173 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007817/1.255, allocations: 2.102 MB / 1.175 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/1.256, allocations: 346.5 kB / 1.175 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0009133/1.257, allocations: 349.5 kB / 1.176 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005859/1.262, allocations: 2.27 MB / 1.178 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.263, allocations: 2.031 kB / 1.178 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.645e-06/1.263, allocations: 0 / 1.178 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.263e-05/1.263, allocations: 0 / 1.178 GB, free: 5.297 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.007808/1.27, allocations: 2.055 MB / 1.18 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/1.27, allocations: 10.44 kB / 1.18 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/1.276, allocations: 0.5851 MB / 1.181 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/1.28, allocations: 1.193 MB / 1.182 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001247/1.281, allocations: 220.9 kB / 1.182 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/1.281, allocations: 115.3 kB / 1.182 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004885/1.286, allocations: 1.358 MB / 1.183 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/1.286, allocations: 4 kB / 1.183 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/1.287, allocations: 44.55 kB / 1.183 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.188e-05/1.287, allocations: 44.64 kB / 1.183 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006127/1.293, allocations: 1.385 MB / 1.185 GB, free: 0.9375 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.01588/1.309, allocations: 5.349 MB / 1.19 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005285/1.314, allocations: 1.187 MB / 1.191 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00152/1.316, allocations: 0.6021 MB / 1.192 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002716/1.318, allocations: 0.6381 MB / 1.192 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=82): time 4.188e-06/1.318, allocations: 0 / 1.192 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=82): time 0.008042/1.327, allocations: 1.669 MB / 1.194 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/1.327, allocations: 140.5 kB / 1.194 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/1.33, allocations: 1.339 MB / 1.195 GB, free: 9.348 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003265/1.33, allocations: 47.42 kB / 1.196 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008795/1.331, allocations: 0.6591 MB / 1.196 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004346/1.331, allocations: 284.3 kB / 1.196 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.331, allocations: 22.88 kB / 1.196 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002027/1.332, allocations: 348.2 kB / 1.197 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/1.334, allocations: 0.5389 MB / 1.197 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/1.337, allocations: 0.8331 MB / 1.198 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002784/1.34, allocations: 0.6159 MB / 1.199 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/1.34, allocations: 8 kB / 1.199 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.006821/1.347, allocations: 1.559 MB / 1.2 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009899/1.348, allocations: 1.991 MB / 1.202 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/1.348, allocations: 4 kB / 1.202 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/1.348, allocations: 12 kB / 1.202 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003539/1.352, allocations: 351.5 kB / 1.203 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/1.353, allocations: 1.199 MB / 1.204 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003193/1.356, allocations: 240.7 kB / 1.204 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/1.356, allocations: 55.97 kB / 1.204 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.356, allocations: 6.188 kB / 1.204 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006187/1.363, allocations: 1.399 MB / 1.205 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/1.363, allocations: 4 kB / 1.205 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/1.363, allocations: 15.94 kB / 1.205 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/1.366, allocations: 323.7 kB / 1.206 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.185e-05/1.366, allocations: 19.92 kB / 1.206 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/1.369, allocations: 224.1 kB / 1.206 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/1.369, allocations: 55.97 kB / 1.206 GB, free: 15.34 MB / 0.7448 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.001128/1.37, allocations: 412.8 kB / 1.206 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005337/1.371, allocations: 165.9 kB / 1.207 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006043/1.377, allocations: 1.384 MB / 1.208 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/1.377, allocations: 12 kB / 1.208 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.377, allocations: 0 / 1.208 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/1.377, allocations: 3.984 kB / 1.208 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009924/1.387, allocations: 2.914 MB / 1.211 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.771e-05/1.387, allocations: 7.953 kB / 1.211 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002295/1.389, allocations: 240.1 kB / 1.211 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/1.389, allocations: 8.094 kB / 1.211 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/1.389, allocations: 27.98 kB / 1.211 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008858/1.39, allocations: 1.188 MB / 1.212 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.39, allocations: 16.11 kB / 1.212 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008858/1.399, allocations: 2.355 MB / 1.215 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.4, allocations: 374.8 kB / 1.215 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003283/1.401, allocations: 20 kB / 1.215 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/1.403, allocations: 139.7 kB / 1.215 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/1.403, allocations: 76.45 kB / 1.215 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/1.403, allocations: 39.97 kB / 1.215 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002056/1.405, allocations: 0.8986 MB / 1.216 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.51e-07/1.405, allocations: 0 / 1.216 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003642/1.409, allocations: 0.823 MB / 1.217 GB, free: 3.914 MB / 0.7448 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.001874/1.411, allocations: 0.5081 MB / 1.217 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.009851/1.421, allocations: 2.221 MB / 1.219 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.421, allocations: 0 / 1.219 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004956/1.426, allocations: 0.6611 MB / 1.22 GB, free: 500 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/1.436, allocations: 0.6962 MB / 1.221 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.446, allocations: 3.268 MB / 1.224 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/1.448, allocations: 1.27 MB / 1.225 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003277/1.451, allocations: 420.9 kB / 1.226 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006963/1.452, allocations: 127.4 kB / 1.226 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of SimCode: time 1.102e-06/1.452, allocations: 0 / 1.226 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of Templates: time 0.08461/1.536, allocations: 29.86 MB / 1.255 GB, free: 13.05 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)