Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008372/0.0008372, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005104/0.005104, allocations: 173.9 kB / 16.27 MB, free: 6.613 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 14.39 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3426, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.04665/0.3893, allocations: 46.96 MB / 1.12 GB, free: 8.418 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.4083, allocations: 11.93 MB / 1.132 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.4109, allocations: 51.62 kB / 1.132 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.4131, allocations: 0.5747 MB / 1.132 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006733/0.4199, allocations: 1.843 MB / 1.134 GB, free: 9.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00568/0.4256, allocations: 1.82 MB / 1.136 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006035/0.4316, allocations: 4.265 MB / 1.14 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/0.4341, allocations: 1.023 MB / 1.141 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.4377, allocations: 1.322 MB / 1.142 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.4398, allocations: 0.9796 MB / 1.143 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.4403, allocations: 52 kB / 1.143 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004891/0.4452, allocations: 2.145 MB / 1.145 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005911/0.4458, allocations: 286.5 kB / 1.146 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001523/0.4474, allocations: 0.7513 MB / 1.146 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00553/0.4529, allocations: 2.777 MB / 1.149 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4529, allocations: 0 / 1.149 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4529, allocations: 0 / 1.149 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.883e-05/0.453, allocations: 0 / 1.149 GB, free: 10.51 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.003971/0.457, allocations: 1.843 MB / 1.151 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.457, allocations: 19.97 kB / 1.151 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.4588, allocations: 422.1 kB / 1.151 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.4615, allocations: 1.372 MB / 1.153 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006885/0.4622, allocations: 210.2 kB / 1.153 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.4624, allocations: 99.91 kB / 1.153 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.4648, allocations: 1.112 MB / 1.154 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.4648, allocations: 0 / 1.154 GB, free: 5.297 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-05/0.4649, allocations: 36 kB / 1.154 GB, free: 5.262 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/0.465, allocations: 33.94 kB / 1.154 GB, free: 5.227 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.4676, allocations: 1.066 MB / 1.155 GB, free: 4.164 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.007593/0.4752, allocations: 4.754 MB / 1.16 GB, free: 15.13 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.4775, allocations: 0.8452 MB / 1.161 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.4786, allocations: 475.1 kB / 1.161 GB, free: 13.81 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.48, allocations: 1.084 MB / 1.162 GB, free: 12.51 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.4814, allocations: 0.5469 MB / 1.163 GB, free: 11.95 MB / 0.92 GB Notification: Performance of pre-optimization done (n=72): time 3.226e-06/0.4815, allocations: 0 / 1.163 GB, free: 11.95 MB / 0.92 GB Notification: Performance of matching and sorting (n=72): time 0.003963/0.4854, allocations: 1.386 MB / 1.164 GB, free: 10.55 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.4855, allocations: 60.06 kB / 1.164 GB, free: 10.48 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/0.4878, allocations: 1.195 MB / 1.165 GB, free: 9.277 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.4879, allocations: 45.7 kB / 1.165 GB, free: 9.227 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006008/0.4885, allocations: 0.5913 MB / 1.166 GB, free: 8.629 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002544/0.4888, allocations: 248.4 kB / 1.166 GB, free: 8.383 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.489, allocations: 93.66 kB / 1.166 GB, free: 8.285 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4891, allocations: 341.9 kB / 1.167 GB, free: 7.945 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.4904, allocations: 441.7 kB / 1.167 GB, free: 7.516 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.4918, allocations: 0.668 MB / 1.168 GB, free: 6.77 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.4944, allocations: 1.035 MB / 1.169 GB, free: 5.676 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4944, allocations: 0 / 1.169 GB, free: 5.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003491/0.4979, allocations: 1.302 MB / 1.17 GB, free: 4.359 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.4981, allocations: 242.7 kB / 1.17 GB, free: 4.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.4981, allocations: 4 kB / 1.17 GB, free: 4.059 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.4982, allocations: 8 kB / 1.17 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.4998, allocations: 311.5 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008037/0.5006, allocations: 1.203 MB / 1.172 GB, free: 2.496 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.5024, allocations: 198.9 kB / 1.172 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.5026, allocations: 51.91 kB / 1.172 GB, free: 2.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.5026, allocations: 4 kB / 1.172 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00307/0.5057, allocations: 1.157 MB / 1.173 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.5057, allocations: 4 kB / 1.173 GB, free: 1.074 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.5057, allocations: 8 kB / 1.173 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.5069, allocations: 287.8 kB / 1.173 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/0.507, allocations: 8 kB / 1.173 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.5087, allocations: 191 kB / 1.173 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.5088, allocations: 55.91 kB / 1.173 GB, free: 0.5352 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.0007208/0.5095, allocations: 374.1 kB / 1.174 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/0.5099, allocations: 138.3 kB / 1.174 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/0.5134, allocations: 1.306 MB / 1.175 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.5134, allocations: 8 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.5134, allocations: 0 / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.5134, allocations: 7.922 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005371/0.5188, allocations: 2.549 MB / 1.178 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5188, allocations: 4 kB / 1.178 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.52, allocations: 235.9 kB / 1.178 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.84e-05/0.52, allocations: 7.984 kB / 1.178 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.5201, allocations: 27.98 kB / 1.178 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006275/0.5207, allocations: 1.195 MB / 1.179 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5207, allocations: 0 / 1.179 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004445/0.5252, allocations: 1.891 MB / 1.181 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007336/0.5259, allocations: 354.9 kB / 1.181 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.5263, allocations: 20 kB / 1.181 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.5278, allocations: 152.3 kB / 1.182 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.528, allocations: 64.56 kB / 1.182 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.5282, allocations: 39.97 kB / 1.182 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001785/0.5299, allocations: 0.805 MB / 1.182 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.31e-07/0.53, allocations: 0 / 1.182 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003413/0.5334, allocations: 0.7567 MB / 1.183 GB, free: 6.43 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.001671/0.5351, allocations: 0.5309 MB / 1.184 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005288/0.5404, allocations: 1.852 MB / 1.185 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.5404, allocations: 4.625 kB / 1.186 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/0.542, allocations: 0.5899 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.004062/0.5461, allocations: 0.6 MB / 1.187 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005941/0.552, allocations: 3.051 MB / 1.19 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009104/0.553, allocations: 1.168 MB / 1.191 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001896/0.5549, allocations: 365.7 kB / 1.191 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004423/0.5553, allocations: 123.4 kB / 1.191 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of SimCode: time 1.112e-06/0.5553, allocations: 0 / 1.191 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.05191/0.6073, allocations: 27.52 MB / 1.218 GB, free: 2.922 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)