Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.67/1.67, allocations: 288.3 MB / 303.2 MB, free: 8.195 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.001133/0.001134, allocations: 180.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008855/0.0008855, allocations: 89.09 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.000415, allocations: 11.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.21, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.7028/0.9128, allocations: 160.8 MB / 1.136 GB, free: 160 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009498/0.9224, allocations: 4.918 MB / 1.141 GB, free: 15.54 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.9243, allocations: 39.34 kB / 1.141 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.9267, allocations: 0.7806 MB / 1.142 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006534/0.9333, allocations: 1.749 MB / 1.144 GB, free: 14.19 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003882/0.9372, allocations: 1.182 MB / 1.145 GB, free: 13.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0037/0.9409, allocations: 1.682 MB / 1.147 GB, free: 12.79 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.9428, allocations: 0.7921 MB / 1.147 GB, free: 12.3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.9455, allocations: 0.9722 MB / 1.148 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.9474, allocations: 0.7178 MB / 1.149 GB, free: 11.31 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003921/0.9478, allocations: 52.91 kB / 1.149 GB, free: 11.31 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003645/0.9514, allocations: 0.9377 MB / 1.15 GB, free: 10.9 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007141/0.9522, allocations: 379.5 kB / 1.15 GB, free: 10.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008441/0.953, allocations: 269.5 kB / 1.151 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.9558, allocations: 1.337 MB / 1.152 GB, free: 9.691 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.9558, allocations: 0 / 1.152 GB, free: 9.691 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9558, allocations: 1.719 kB / 1.152 GB, free: 9.691 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.425e-05/0.9558, allocations: 0 / 1.152 GB, free: 9.691 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005042/0.9609, allocations: 1.724 MB / 1.154 GB, free: 8.402 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.9609, allocations: 9.094 kB / 1.154 GB, free: 8.402 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005812/0.9667, allocations: 0.93 MB / 1.154 GB, free: 8.008 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.9687, allocations: 0.8584 MB / 1.155 GB, free: 7.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/0.9688, allocations: 79.27 kB / 1.155 GB, free: 7.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.969, allocations: 93.75 kB / 1.155 GB, free: 7.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/0.973, allocations: 1.567 MB / 1.157 GB, free: 6.348 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.973, allocations: 1.375 kB / 1.157 GB, free: 6.348 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.9732, allocations: 38.8 kB / 1.157 GB, free: 6.316 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.03e-05/0.9732, allocations: 45.45 kB / 1.157 GB, free: 6.312 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005422/0.9787, allocations: 1.836 MB / 1.159 GB, free: 5.441 MB / 0.698 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.007655/0.9863, allocations: 4.285 MB / 1.163 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004542/0.9909, allocations: 1.595 MB / 1.165 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004711/0.9914, allocations: 183 kB / 1.165 GB, free: 1.137 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002366/0.9938, allocations: 0.9003 MB / 1.166 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 2.865e-06/0.9938, allocations: 0 / 1.166 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.007683/1.001, allocations: 2.426 MB / 1.168 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/1.002, allocations: 66.42 kB / 1.168 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/1.003, allocations: 1.201 MB / 1.169 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/1.004, allocations: 54.23 kB / 1.169 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/1.004, allocations: 0.5488 MB / 1.17 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/1.005, allocations: 329.3 kB / 1.17 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/1.005, allocations: 16.84 kB / 1.17 GB, free: 14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.005, allocations: 341.6 kB / 1.17 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/1.007, allocations: 0.6879 MB / 1.171 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/1.009, allocations: 0.9177 MB / 1.172 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/1.011, allocations: 0.7265 MB / 1.173 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.012, allocations: 0 / 1.173 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004877/1.016, allocations: 1.754 MB / 1.174 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.016, allocations: 7.469 kB / 1.174 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.016, allocations: 13.09 kB / 1.175 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/1.016, allocations: 10.25 kB / 1.175 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/1.018, allocations: 335.9 kB / 1.175 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-05/1.018, allocations: 15.14 kB / 1.175 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/1.021, allocations: 258.7 kB / 1.175 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/1.021, allocations: 51.69 kB / 1.175 GB, free: 11.33 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001097/1.022, allocations: 342.4 kB / 1.175 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007423/1.023, allocations: 131.2 kB / 1.176 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005778/1.028, allocations: 1.789 MB / 1.177 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.028, allocations: 11.03 kB / 1.177 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.029, allocations: 0 / 1.177 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/1.029, allocations: 7.969 kB / 1.177 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007906/1.036, allocations: 3.305 MB / 1.181 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.036, allocations: 2.844 kB / 1.181 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/1.038, allocations: 292.8 kB / 1.181 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/1.038, allocations: 10.28 kB / 1.181 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/1.038, allocations: 30.25 kB / 1.181 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/1.038, allocations: 15.77 kB / 1.181 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.038, allocations: 9.297 kB / 1.181 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007165/1.045, allocations: 3.019 MB / 1.184 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009694/1.046, allocations: 332.7 kB / 1.184 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003759/1.047, allocations: 24.19 kB / 1.184 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.048, allocations: 169.1 kB / 1.184 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.049, allocations: 74.89 kB / 1.184 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.984e-05/1.049, allocations: 43.97 kB / 1.184 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001484/1.05, allocations: 0.8279 MB / 1.185 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.05, allocations: 0 / 1.185 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001712/1.052, allocations: 347.5 kB / 1.186 GB, free: 4.488 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001583/1.054, allocations: 0.5308 MB / 1.186 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005378/1.059, allocations: 1.603 MB / 1.188 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/1.059, allocations: 0 / 1.188 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002443/1.061, allocations: 0.8244 MB / 1.189 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003433/1.065, allocations: 0.5927 MB / 1.189 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007434/1.072, allocations: 3.387 MB / 1.192 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/1.074, allocations: 1.216 MB / 1.194 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002208/1.076, allocations: 374.1 kB / 1.194 GB, free: 12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005463/1.076, allocations: 115.4 kB / 1.194 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of SimCode: time 1.513e-06/1.076, allocations: 0 / 1.194 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of Templates: time 0.04391/1.12, allocations: 22.36 MB / 1.216 GB, free: 5.742 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)