Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008456, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005818/0.005818, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 18.69 kB / 0.9158 GB, free: 32.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3247, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.04353/0.3682, allocations: 46.96 MB / 1.12 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.3854, allocations: 11.93 MB / 1.132 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002628/0.3881, allocations: 51.62 kB / 1.132 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.39, allocations: 0.5825 MB / 1.132 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005817/0.3958, allocations: 1.839 MB / 1.134 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005019/0.4009, allocations: 1.825 MB / 1.136 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005642/0.4065, allocations: 4.257 MB / 1.14 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.4087, allocations: 1.031 MB / 1.141 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/0.4121, allocations: 1.326 MB / 1.142 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.4142, allocations: 0.9718 MB / 1.143 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004267/0.4147, allocations: 56 kB / 1.143 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004584/0.4192, allocations: 2.16 MB / 1.145 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005515/0.4198, allocations: 278.5 kB / 1.146 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/0.4212, allocations: 0.7475 MB / 1.146 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.005001/0.4262, allocations: 2.777 MB / 1.149 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4263, allocations: 0 / 1.149 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4263, allocations: 0 / 1.149 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.312e-05/0.4263, allocations: 0 / 1.149 GB, free: 10.49 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00382/0.4301, allocations: 1.848 MB / 1.151 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4302, allocations: 8.031 kB / 1.151 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.432, allocations: 426.2 kB / 1.151 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.4347, allocations: 1.372 MB / 1.153 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006789/0.4353, allocations: 210.2 kB / 1.153 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.4355, allocations: 99.91 kB / 1.153 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.4378, allocations: 1.108 MB / 1.154 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.4378, allocations: 0 / 1.154 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.438, allocations: 39.98 kB / 1.154 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.145e-05/0.438, allocations: 37.94 kB / 1.154 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002656/0.4407, allocations: 1.066 MB / 1.155 GB, free: 4.145 MB / 0.9044 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.007422/0.4481, allocations: 4.75 MB / 1.16 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.4503, allocations: 0.8437 MB / 1.161 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.4515, allocations: 475.2 kB / 1.161 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/0.4527, allocations: 1.084 MB / 1.162 GB, free: 12.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.4541, allocations: 0.5391 MB / 1.163 GB, free: 11.94 MB / 0.92 GB Notification: Performance of pre-optimization done (n=72): time 3.266e-06/0.4541, allocations: 0 / 1.163 GB, free: 11.94 MB / 0.92 GB Notification: Performance of matching and sorting (n=72): time 0.003755/0.4579, allocations: 1.386 MB / 1.164 GB, free: 10.55 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.4579, allocations: 64 kB / 1.164 GB, free: 10.48 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.4596, allocations: 1.191 MB / 1.165 GB, free: 9.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.4598, allocations: 49.7 kB / 1.165 GB, free: 9.219 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005349/0.4603, allocations: 0.5952 MB / 1.166 GB, free: 8.617 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.4606, allocations: 248.4 kB / 1.166 GB, free: 8.371 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.4607, allocations: 93.66 kB / 1.166 GB, free: 8.273 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4609, allocations: 341.9 kB / 1.167 GB, free: 7.934 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.4621, allocations: 441.7 kB / 1.167 GB, free: 7.504 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.4634, allocations: 0.6641 MB / 1.168 GB, free: 6.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.4658, allocations: 1.031 MB / 1.169 GB, free: 5.672 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.4658, allocations: 4 kB / 1.169 GB, free: 5.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003234/0.469, allocations: 1.314 MB / 1.17 GB, free: 4.34 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.4692, allocations: 242.7 kB / 1.17 GB, free: 4.043 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4692, allocations: 4 kB / 1.17 GB, free: 4.039 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.4693, allocations: 8 kB / 1.17 GB, free: 4.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.4708, allocations: 307.6 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006909/0.4715, allocations: 1.199 MB / 1.172 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.4731, allocations: 198.9 kB / 1.172 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.4732, allocations: 47.97 kB / 1.172 GB, free: 2.242 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.4732, allocations: 5.719 kB / 1.172 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002762/0.476, allocations: 1.161 MB / 1.173 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.476, allocations: 4 kB / 1.173 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.476, allocations: 8.219 kB / 1.173 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.4772, allocations: 279.6 kB / 1.173 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.4772, allocations: 15.92 kB / 1.173 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.4787, allocations: 187 kB / 1.173 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.4788, allocations: 55.91 kB / 1.173 GB, free: 0.5273 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0006573/0.4794, allocations: 368.9 kB / 1.174 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.4797, allocations: 138.3 kB / 1.174 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/0.4828, allocations: 1.317 MB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.4829, allocations: 8 kB / 1.175 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4829, allocations: 4 kB / 1.175 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.4829, allocations: 11.92 kB / 1.175 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004598/0.4875, allocations: 2.553 MB / 1.178 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.4875, allocations: 4 kB / 1.178 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.4885, allocations: 219.8 kB / 1.178 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.4886, allocations: 4 kB / 1.178 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.37e-05/0.4886, allocations: 27.98 kB / 1.178 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005591/0.4892, allocations: 1.191 MB / 1.179 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4892, allocations: 7.969 kB / 1.179 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.4933, allocations: 1.891 MB / 1.181 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/0.494, allocations: 354.9 kB / 1.181 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.4941, allocations: 23.98 kB / 1.181 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.4954, allocations: 148.2 kB / 1.182 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.4955, allocations: 68.56 kB / 1.182 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.157e-05/0.4956, allocations: 43.91 kB / 1.182 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001117/0.4967, allocations: 0.7972 MB / 1.182 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4967, allocations: 4 kB / 1.182 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001955/0.4987, allocations: 0.7528 MB / 1.183 GB, free: 6.422 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001133/0.4998, allocations: 0.5237 MB / 1.184 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004745/0.5046, allocations: 1.856 MB / 1.185 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.5046, allocations: 4.062 kB / 1.185 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.5061, allocations: 0.5822 MB / 1.186 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003647/0.5098, allocations: 0.6058 MB / 1.187 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.5148, allocations: 3.063 MB / 1.19 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/0.5154, allocations: 1.168 MB / 1.191 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001573/0.517, allocations: 362.3 kB / 1.191 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.5174, allocations: 127.4 kB / 1.191 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of SimCode: time 1.222e-06/0.5174, allocations: 0 / 1.191 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of Templates: time 0.04911/0.5665, allocations: 27.51 MB / 1.218 GB, free: 2.91 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)