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.676/2.676, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.001372/0.001372, allocations: 179 kB / 371 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.09/2.09, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009588/0.0009588, allocations: 93.62 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006676/0.0006679, allocations: 13.19 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2067, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.9573/1.164, allocations: 192.5 MB / 1.166 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02999/1.194, allocations: 12.46 MB / 1.179 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/1.197, allocations: 52.97 kB / 1.179 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003382/1.2, allocations: 0.5798 MB / 1.179 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008801/1.209, allocations: 1.823 MB / 1.181 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01327/1.223, allocations: 2.77 MB / 1.184 GB, free: 460 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007994/1.231, allocations: 3.997 MB / 1.188 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002659/1.233, allocations: 0.9895 MB / 1.188 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005534/1.239, allocations: 1.555 MB / 1.19 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/1.242, allocations: 1.045 MB / 1.191 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005146/1.243, allocations: 62.34 kB / 1.191 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007932/1.25, allocations: 2.353 MB / 1.193 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001069/1.252, allocations: 372.3 kB / 1.194 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009409/1.253, allocations: 349.7 kB / 1.194 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006098/1.259, allocations: 2.377 MB / 1.196 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.259, allocations: 4 kB / 1.196 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.895e-06/1.259, allocations: 2.25 kB / 1.196 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.221e-05/1.259, allocations: 0 / 1.196 GB, free: 8.703 MB / 0.7292 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.007712/1.267, allocations: 2.088 MB / 1.198 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.267, allocations: 10.75 kB / 1.198 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004955/1.272, allocations: 0.5815 MB / 1.199 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004184/1.276, allocations: 1.204 MB / 1.2 GB, free: 5.969 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001194/1.277, allocations: 220.4 kB / 1.2 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/1.277, allocations: 121 kB / 1.201 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004794/1.282, allocations: 1.368 MB / 1.202 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/1.282, allocations: 0 / 1.202 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/1.283, allocations: 41.08 kB / 1.202 GB, free: 4.984 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.19e-05/1.283, allocations: 51.89 kB / 1.202 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00588/1.289, allocations: 1.38 MB / 1.203 GB, free: 4.316 MB / 0.7292 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.01516/1.304, allocations: 5.342 MB / 1.208 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005309/1.309, allocations: 1.183 MB / 1.21 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002457/1.312, allocations: 0.5693 MB / 1.21 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001843/1.313, allocations: 0.7825 MB / 1.211 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002827/1.316, allocations: 0.6367 MB / 1.212 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 4.879e-06/1.316, allocations: 0 / 1.212 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.008072/1.324, allocations: 1.667 MB / 1.213 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.325, allocations: 137.2 kB / 1.213 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/1.327, allocations: 1.335 MB / 1.215 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003327/1.328, allocations: 49.7 kB / 1.215 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009039/1.329, allocations: 0.6506 MB / 1.215 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004446/1.329, allocations: 287.9 kB / 1.216 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/1.329, allocations: 20 kB / 1.216 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002027/1.33, allocations: 345.9 kB / 1.216 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00258/1.332, allocations: 0.5412 MB / 1.216 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/1.335, allocations: 0.8318 MB / 1.217 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/1.338, allocations: 0.6293 MB / 1.218 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/1.338, allocations: 0 / 1.218 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.006753/1.345, allocations: 1.559 MB / 1.219 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002657/1.345, allocations: 270.8 kB / 1.22 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/1.345, allocations: 11.94 kB / 1.22 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/1.345, allocations: 12 kB / 1.22 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/1.349, allocations: 351.5 kB / 1.22 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/1.35, allocations: 1.195 MB / 1.221 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/1.353, allocations: 234.8 kB / 1.221 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/1.353, allocations: 55.97 kB / 1.222 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.353, allocations: 4 kB / 1.222 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009999/1.363, allocations: 1.395 MB / 1.223 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.303e-05/1.363, allocations: 8 kB / 1.223 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/1.363, allocations: 8 kB / 1.223 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00434/1.368, allocations: 327.7 kB / 1.223 GB, free: 360 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-05/1.368, allocations: 15.98 kB / 1.223 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003072/1.371, allocations: 220 kB / 1.223 GB, free: 124 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/1.371, allocations: 63.92 kB / 1.223 GB, free: 60 kB / 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.001237/1.373, allocations: 412.8 kB / 1.224 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000542/1.373, allocations: 154.1 kB / 1.224 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006074/1.379, allocations: 1.389 MB / 1.225 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/1.379, allocations: 8 kB / 1.225 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.379, allocations: 3.984 kB / 1.225 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/1.379, allocations: 7.984 kB / 1.225 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/1.389, allocations: 2.898 MB / 1.228 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.389, allocations: 4 kB / 1.228 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/1.392, allocations: 244.1 kB / 1.228 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.985e-05/1.392, allocations: 8.094 kB / 1.228 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/1.392, allocations: 31.97 kB / 1.229 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009054/1.393, allocations: 1.195 MB / 1.23 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/1.393, allocations: 7.938 kB / 1.23 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008578/1.402, allocations: 2.132 MB / 1.232 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/1.403, allocations: 370.7 kB / 1.232 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/1.403, allocations: 23.98 kB / 1.232 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/1.406, allocations: 131.8 kB / 1.232 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003464/1.406, allocations: 72.45 kB / 1.232 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/1.406, allocations: 47.91 kB / 1.232 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002142/1.408, allocations: 0.8869 MB / 1.233 GB, free: 5.812 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.42e-07/1.408, allocations: 4 kB / 1.233 GB, free: 5.809 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003454/1.412, allocations: 0.8309 MB / 1.234 GB, free: 4.977 MB / 0.7605 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.001764/1.414, allocations: 0.4905 MB / 1.235 GB, free: 4.488 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.009472/1.423, allocations: 2.225 MB / 1.237 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.423, allocations: 4 kB / 1.237 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003015/1.426, allocations: 0.6686 MB / 1.237 GB, free: 1.559 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006273/1.433, allocations: 0.707 MB / 1.238 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009059/1.442, allocations: 3.283 MB / 1.241 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.443, allocations: 1.231 MB / 1.242 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003218/1.446, allocations: 426.9 kB / 1.243 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006489/1.447, allocations: 123.4 kB / 1.243 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.593e-06/1.447, allocations: 0 / 1.243 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.08688/1.534, allocations: 29.74 MB / 1.272 GB, free: 14.23 MB / 0.8073 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)