Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.6/1.6, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.001048/0.001048, allocations: 177.2 kB / 371.2 MB, free: 10.75 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.468/1.468, allocations: 205.4 MB / 0.6299 GB, free: 10.56 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.0007443/0.0007443, allocations: 84.72 kB / 0.7432 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004036, allocations: 12.34 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.748/0.9674, allocations: 176.3 MB / 1.151 GB, free: 9.867 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00956/0.977, allocations: 4.783 MB / 1.156 GB, free: 6.891 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.9785, allocations: 41.19 kB / 1.156 GB, free: 6.871 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.9803, allocations: 0.6201 MB / 1.156 GB, free: 6.426 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005713/0.986, allocations: 1.862 MB / 1.158 GB, free: 5.016 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.9889, allocations: 0.9156 MB / 1.159 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004693/0.9936, allocations: 3.075 MB / 1.162 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.9952, allocations: 0.8236 MB / 1.163 GB, free: 2.047 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002598/0.9979, allocations: 1.011 MB / 1.164 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.9999, allocations: 0.9502 MB / 1.165 GB, free: 1.008 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/1, allocations: 48.44 kB / 1.165 GB, free: 1.008 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/1.003, allocations: 0.9363 MB / 1.166 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005204/1.004, allocations: 408 kB / 1.166 GB, free: 296 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004804/1.004, allocations: 266.3 kB / 1.166 GB, free: 148 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/1.007, allocations: 1.401 MB / 1.168 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.007, allocations: 0 / 1.168 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.114e-06/1.007, allocations: 0 / 1.168 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.114e-05/1.007, allocations: 3.938 kB / 1.168 GB, free: 15.27 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004864/1.011, allocations: 1.711 MB / 1.169 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.011, allocations: 8.812 kB / 1.169 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005516/1.017, allocations: 0.9295 MB / 1.17 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/1.019, allocations: 0.9218 MB / 1.171 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.383e-05/1.019, allocations: 71.52 kB / 1.171 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/1.019, allocations: 93.88 kB / 1.171 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003797/1.023, allocations: 1.577 MB / 1.173 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/1.023, allocations: 0 / 1.173 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/1.023, allocations: 36.22 kB / 1.173 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/1.023, allocations: 47.7 kB / 1.173 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00497/1.028, allocations: 1.84 MB / 1.175 GB, free: 10.97 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.007879/1.036, allocations: 4.767 MB / 1.179 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004254/1.04, allocations: 1.583 MB / 1.181 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/1.042, allocations: 0.8435 MB / 1.182 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/1.044, allocations: 0.955 MB / 1.183 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/1.046, allocations: 0.9047 MB / 1.184 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 2.966e-06/1.046, allocations: 2.906 kB / 1.184 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.007369/1.053, allocations: 2.446 MB / 1.186 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/1.054, allocations: 63.28 kB / 1.186 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/1.055, allocations: 1.202 MB / 1.187 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001003/1.055, allocations: 42.83 kB / 1.187 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/1.056, allocations: 0.5483 MB / 1.188 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/1.056, allocations: 327.3 kB / 1.188 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/1.056, allocations: 18.94 kB / 1.188 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.056, allocations: 341.8 kB / 1.188 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/1.058, allocations: 0.6905 MB / 1.189 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/1.06, allocations: 0.9307 MB / 1.19 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00409/1.064, allocations: 1.54 MB / 1.191 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.064, allocations: 2.656 kB / 1.191 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004625/1.069, allocations: 1.769 MB / 1.193 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/1.069, allocations: 7.969 kB / 1.193 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.069, allocations: 6.188 kB / 1.193 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/1.069, allocations: 7.625 kB / 1.193 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.071, allocations: 339.8 kB / 1.194 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/1.071, allocations: 14.86 kB / 1.194 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.073, allocations: 257.9 kB / 1.194 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.073, allocations: 46.78 kB / 1.194 GB, free: 14.79 MB / 0.7292 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.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.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.0005818/1.073, allocations: 346.2 kB / 1.194 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/1.074, allocations: 138.2 kB / 1.194 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/1.078, allocations: 1.796 MB / 1.196 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.078, allocations: 11.94 kB / 1.196 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/1.078, allocations: 0 / 1.196 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.078, allocations: 3.984 kB / 1.196 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007058/1.086, allocations: 3.324 MB / 1.199 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/1.086, allocations: 7.938 kB / 1.199 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.087, allocations: 296 kB / 1.2 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/1.087, allocations: 8 kB / 1.2 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.001e-05/1.087, allocations: 31.97 kB / 1.2 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/1.087, allocations: 8 kB / 1.2 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.087, allocations: 11.92 kB / 1.2 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006997/1.094, allocations: 2.824 MB / 1.202 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006588/1.095, allocations: 343 kB / 1.203 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/1.095, allocations: 24 kB / 1.203 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/1.097, allocations: 171.8 kB / 1.203 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.097, allocations: 76.44 kB / 1.203 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.813e-05/1.097, allocations: 43.97 kB / 1.203 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009692/1.098, allocations: 0.824 MB / 1.204 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/1.098, allocations: 0 / 1.204 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00103/1.099, allocations: 343.6 kB / 1.204 GB, free: 4.062 MB / 0.7292 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 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.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.001099/1.1, allocations: 0.5397 MB / 1.205 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00449/1.104, allocations: 1.611 MB / 1.206 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.104, allocations: 0 / 1.206 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002214/1.107, allocations: 0.8321 MB / 1.207 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/1.11, allocations: 0.6024 MB / 1.208 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006119/1.116, allocations: 3.398 MB / 1.211 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008151/1.117, allocations: 1.187 MB / 1.212 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001576/1.118, allocations: 374.1 kB / 1.213 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/1.119, allocations: 115.4 kB / 1.213 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/1.119, allocations: 4 kB / 1.213 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of Templates: time 0.03582/1.155, allocations: 22.41 MB / 1.235 GB, free: 5.27 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)