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.433/1.433, allocations: 252 MB / 267.6 MB, free: 10.98 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.001182/0.001182, allocations: 184.3 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.5783 GB, free: 20.48 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.0008122/0.000812, allocations: 80.38 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003665, allocations: 9.375 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.265, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.8346/1.1, allocations: 192.7 MB / 1.089 GB, free: 4.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0223/1.122, allocations: 12.5 MB / 1.101 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/1.125, allocations: 52.47 kB / 1.101 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002858/1.128, allocations: 0.5796 MB / 1.102 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008771/1.137, allocations: 1.882 MB / 1.104 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01085/1.148, allocations: 2.767 MB / 1.106 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007765/1.156, allocations: 4.001 MB / 1.11 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/1.158, allocations: 1 MB / 1.111 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004869/1.163, allocations: 1.496 MB / 1.113 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003139/1.166, allocations: 1.072 MB / 1.114 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007809/1.167, allocations: 69.81 kB / 1.114 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007836/1.175, allocations: 2.349 MB / 1.116 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001485/1.176, allocations: 364.7 kB / 1.116 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002217/1.179, allocations: 350.8 kB / 1.117 GB, free: 19.24 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007031/1.186, allocations: 2.387 MB / 1.119 GB, free: 19.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.186, allocations: 0 / 1.119 GB, free: 19.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.525e-06/1.186, allocations: 0 / 1.119 GB, free: 19.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001304/1.186, allocations: 0 / 1.119 GB, free: 19.04 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.006365/1.192, allocations: 2.082 MB / 1.121 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.192, allocations: 14.09 kB / 1.121 GB, free: 17.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/1.196, allocations: 0.5739 MB / 1.122 GB, free: 17.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/1.199, allocations: 1.215 MB / 1.123 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006667/1.2, allocations: 215 kB / 1.123 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/1.2, allocations: 116.3 kB / 1.123 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/1.203, allocations: 1.375 MB / 1.125 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/1.203, allocations: 3.984 kB / 1.125 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/1.203, allocations: 38.47 kB / 1.125 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.885e-05/1.203, allocations: 46.33 kB / 1.125 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/1.207, allocations: 1.379 MB / 1.126 GB, free: 17.18 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.01092/1.218, allocations: 5.345 MB / 1.131 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003537/1.221, allocations: 1.187 MB / 1.132 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/1.223, allocations: 0.5634 MB / 1.133 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00125/1.224, allocations: 0.7794 MB / 1.134 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/1.226, allocations: 0.6374 MB / 1.134 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.937e-06/1.226, allocations: 0 / 1.134 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.004652/1.23, allocations: 1.662 MB / 1.136 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.23, allocations: 140 kB / 1.136 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/1.233, allocations: 1.342 MB / 1.137 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002388/1.233, allocations: 47.23 kB / 1.137 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005923/1.234, allocations: 0.6513 MB / 1.138 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/1.234, allocations: 284.1 kB / 1.138 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.333e-05/1.234, allocations: 23.19 kB / 1.138 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.234, allocations: 351.2 kB / 1.139 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/1.236, allocations: 0.5353 MB / 1.139 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/1.238, allocations: 0.833 MB / 1.14 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/1.239, allocations: 0.6168 MB / 1.141 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.239, allocations: 0 / 1.141 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003822/1.243, allocations: 1.549 MB / 1.142 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002693/1.243, allocations: 270.8 kB / 1.142 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/1.243, allocations: 7.906 kB / 1.142 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.549e-05/1.243, allocations: 15.52 kB / 1.142 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/1.245, allocations: 348.5 kB / 1.143 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008704/1.246, allocations: 1.196 MB / 1.144 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/1.248, allocations: 233.6 kB / 1.144 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/1.248, allocations: 56.98 kB / 1.144 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/1.248, allocations: 3.344 kB / 1.144 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003442/1.252, allocations: 1.406 MB / 1.146 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/1.252, allocations: 3.688 kB / 1.146 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.252, allocations: 17.72 kB / 1.146 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/1.253, allocations: 316.7 kB / 1.146 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.364e-05/1.253, allocations: 21.39 kB / 1.146 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/1.256, allocations: 221.5 kB / 1.146 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/1.256, allocations: 55.47 kB / 1.146 GB, free: 8.246 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 (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.00146/1.257, allocations: 417 kB / 1.147 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008587/1.258, allocations: 162.3 kB / 1.147 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/1.262, allocations: 1.379 MB / 1.148 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/1.262, allocations: 12.48 kB / 1.148 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.262, allocations: 0 / 1.148 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/1.262, allocations: 7.984 kB / 1.148 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0067/1.269, allocations: 2.895 MB / 1.151 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/1.269, allocations: 4.906 kB / 1.151 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/1.27, allocations: 246.7 kB / 1.151 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.898e-05/1.27, allocations: 10.52 kB / 1.151 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.582e-05/1.27, allocations: 26.83 kB / 1.151 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007353/1.271, allocations: 1.196 MB / 1.152 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.271, allocations: 7.625 kB / 1.152 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004852/1.276, allocations: 2.128 MB / 1.154 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.277, allocations: 373.3 kB / 1.155 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000463/1.278, allocations: 23.73 kB / 1.155 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/1.279, allocations: 127.1 kB / 1.155 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.279, allocations: 74.17 kB / 1.155 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.279, allocations: 38.81 kB / 1.155 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001805/1.281, allocations: 0.8937 MB / 1.156 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/1.281, allocations: 0 / 1.156 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003262/1.285, allocations: 0.825 MB / 1.157 GB, free: 3.91 MB / 0.7136 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.001612/1.286, allocations: 0.4946 MB / 1.157 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005633/1.292, allocations: 2.23 MB / 1.159 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.292, allocations: 0 / 1.159 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/1.294, allocations: 0.6506 MB / 1.16 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/1.298, allocations: 0.7032 MB / 1.161 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006039/1.304, allocations: 3.323 MB / 1.164 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009684/1.305, allocations: 1.233 MB / 1.165 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/1.305, allocations: 141 kB / 1.165 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of SimCode: time 1.232e-06/1.305, allocations: 0 / 1.165 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of Templates: time 0.06073/1.366, allocations: 39.09 MB / 1.203 GB, free: 7.383 MB / 0.7605 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)