Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001388/0.001388, allocations: 171.8 kB / 16.26 MB, free: 6.664 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.463/1.463, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.964/2.964, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 9.719 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet): time 0.06072/0.4083, allocations: 60.7 MB / 1.133 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.4252, allocations: 11.44 MB / 1.145 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/0.4276, allocations: 71.5 kB / 1.145 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002228/0.4299, allocations: 0.6526 MB / 1.145 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005681/0.4356, allocations: 1.791 MB / 1.147 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006921/0.4425, allocations: 1.771 MB / 1.149 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01077/0.4533, allocations: 5.229 MB / 1.154 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003911/0.4573, allocations: 1.059 MB / 1.155 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007093/0.4644, allocations: 1.656 MB / 1.157 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002922/0.4674, allocations: 1.229 MB / 1.158 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000653/0.4681, allocations: 60 kB / 1.158 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004318/0.4724, allocations: 1.427 MB / 1.159 GB, free: 180 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007526/0.4732, allocations: 306.5 kB / 1.159 GB, free: 15.88 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002112/0.4754, allocations: 0.8368 MB / 1.16 GB, free: 15.03 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005803/0.4812, allocations: 2.519 MB / 1.163 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4812, allocations: 0 / 1.163 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4812, allocations: 0 / 1.163 GB, free: 12.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001011/0.4814, allocations: 0 / 1.163 GB, free: 12.5 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.004356/0.4857, allocations: 1.867 MB / 1.165 GB, free: 10.56 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.4858, allocations: 8.031 kB / 1.165 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003797/0.4896, allocations: 0.6494 MB / 1.165 GB, free: 9.898 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/0.4926, allocations: 1.214 MB / 1.166 GB, free: 8.629 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.4927, allocations: 78 kB / 1.166 GB, free: 8.555 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/0.493, allocations: 111.9 kB / 1.167 GB, free: 8.445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/0.4967, allocations: 1.359 MB / 1.168 GB, free: 7.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.4967, allocations: 0 / 1.168 GB, free: 7.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.4969, allocations: 40 kB / 1.168 GB, free: 6.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.4969, allocations: 24 kB / 1.168 GB, free: 6.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.5007, allocations: 1.272 MB / 1.169 GB, free: 5.684 MB / 0.92 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.00994/0.5106, allocations: 6.401 MB / 1.175 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.5141, allocations: 1.274 MB / 1.177 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.5158, allocations: 0.6635 MB / 1.177 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002005/0.5178, allocations: 2.269 MB / 1.18 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002134/0.52, allocations: 0.825 MB / 1.18 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=100): time 4.318e-06/0.52, allocations: 4 kB / 1.18 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100): time 0.006064/0.5261, allocations: 2.182 MB / 1.183 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.5262, allocations: 149.5 kB / 1.183 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/0.5285, allocations: 1.217 MB / 1.184 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.5286, allocations: 41.7 kB / 1.184 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007073/0.5293, allocations: 0.6899 MB / 1.185 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.5297, allocations: 327.3 kB / 1.185 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.5299, allocations: 89.66 kB / 1.185 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5301, allocations: 341.9 kB / 1.185 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.5317, allocations: 0.568 MB / 1.186 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.5335, allocations: 0.7793 MB / 1.187 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003425/0.537, allocations: 1.481 MB / 1.188 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.537, allocations: 3.938 kB / 1.188 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004399/0.5414, allocations: 1.75 MB / 1.19 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.5416, allocations: 315.6 kB / 1.19 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5417, allocations: 4 kB / 1.19 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/0.5417, allocations: 12 kB / 1.19 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.543, allocations: 279.6 kB / 1.19 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/0.543, allocations: 8 kB / 1.19 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.5449, allocations: 230.9 kB / 1.191 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.545, allocations: 55.97 kB / 1.191 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.5451, allocations: 7.938 kB / 1.191 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004072/0.5491, allocations: 1.648 MB / 1.192 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.5492, allocations: 4 kB / 1.192 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.5492, allocations: 8 kB / 1.192 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.5505, allocations: 284.1 kB / 1.193 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.5505, allocations: 8 kB / 1.193 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.5523, allocations: 227 kB / 1.193 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.5525, allocations: 51.97 kB / 1.193 GB, free: 12.11 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 (TSetCoolHeat.nextEventScaled,TSetCoolHeat.nextEvent,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.b,TSetCoolHeat.a,TSetCool.nextEventScaled,TSetCool.nextEvent,$PRE.TSetCool.nextEvent,TSetCool.last,TSetCool.b,TSetCool.a,TSetHeat.nextEventScaled,TSetHeat.nextEvent,$PRE.TSetHeat.nextEvent,TSetHeat.last,TSetHeat.b,TSetHeat.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009351/0.5534, allocations: 0.4957 MB / 1.193 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.5539, allocations: 166 kB / 1.193 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005546/0.5595, allocations: 2.307 MB / 1.196 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/0.5596, allocations: 15.98 kB / 1.196 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.5596, allocations: 4 kB / 1.196 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.5596, allocations: 11.92 kB / 1.196 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007728/0.5673, allocations: 3.639 MB / 1.199 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.5674, allocations: 4.156 kB / 1.199 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.5686, allocations: 231.7 kB / 1.199 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.1e-05/0.5686, allocations: 4 kB / 1.2 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.5687, allocations: 43.97 kB / 1.2 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.5687, allocations: 4 kB / 1.2 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5687, allocations: 4 kB / 1.2 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00683/0.5756, allocations: 3.078 MB / 1.203 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.5767, allocations: 394.5 kB / 1.203 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/0.5771, allocations: 32 kB / 1.203 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.5787, allocations: 163.8 kB / 1.203 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.5789, allocations: 76.78 kB / 1.203 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.579, allocations: 52.09 kB / 1.203 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001646/0.5807, allocations: 0.822 MB / 1.204 GB, free: 352 kB / 0.9512 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5807, allocations: 4 kB / 1.204 GB, free: 348 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002754/0.5835, allocations: 0.854 MB / 1.205 GB, free: 15.48 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/0.5849, allocations: 0.5717 MB / 1.205 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00644/0.5914, allocations: 2.775 MB / 1.208 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.5914, allocations: 0 / 1.208 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/0.5937, allocations: 1.102 MB / 1.209 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/0.5977, allocations: 0.6057 MB / 1.21 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/0.6046, allocations: 3.862 MB / 1.214 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/0.6058, allocations: 1.274 MB / 1.215 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001869/0.6076, allocations: 428.6 kB / 1.215 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.6081, allocations: 135.4 kB / 1.215 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of SimCode: time 1.463e-06/0.6081, allocations: 7.938 kB / 1.215 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of Templates: time 0.05737/0.6655, allocations: 30.25 MB / 1.245 GB, free: 6.73 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)