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 2.668/2.669, allocations: 287.5 MB / 302.4 MB, free: 8.355 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.001306/0.001306, allocations: 170.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.279/2.279, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.000882/0.0008821, allocations: 95.33 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004896, allocations: 17.56 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.209, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.9233/1.132, allocations: 176.3 MB / 1.151 GB, free: 9.586 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01288/1.145, allocations: 4.771 MB / 1.155 GB, free: 6.996 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/1.147, allocations: 48.12 kB / 1.155 GB, free: 6.969 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002848/1.15, allocations: 0.6168 MB / 1.156 GB, free: 6.594 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008423/1.159, allocations: 1.866 MB / 1.158 GB, free: 5.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004405/1.163, allocations: 0.9234 MB / 1.159 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006366/1.17, allocations: 3.049 MB / 1.162 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/1.172, allocations: 0.7535 MB / 1.162 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003599/1.176, allocations: 1.011 MB / 1.163 GB, free: 1.738 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002883/1.179, allocations: 0.9503 MB / 1.164 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004488/1.179, allocations: 56.91 kB / 1.164 GB, free: 1.215 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/1.184, allocations: 0.9353 MB / 1.165 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001078/1.185, allocations: 413.6 kB / 1.166 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008083/1.186, allocations: 264.5 kB / 1.166 GB, free: 356 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004039/1.19, allocations: 1.39 MB / 1.167 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.19, allocations: 0 / 1.167 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.347e-06/1.19, allocations: 0 / 1.167 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.073e-05/1.19, allocations: 1.25 kB / 1.167 GB, free: 15.49 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.009236/1.199, allocations: 1.734 MB / 1.169 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.199, allocations: 9.406 kB / 1.169 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009954/1.209, allocations: 0.929 MB / 1.17 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/1.212, allocations: 0.8669 MB / 1.171 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/1.212, allocations: 76.14 kB / 1.171 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003786/1.213, allocations: 93.8 kB / 1.171 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007069/1.22, allocations: 1.572 MB / 1.172 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/1.22, allocations: 7.891 kB / 1.172 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/1.22, allocations: 40.95 kB / 1.172 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.4e-05/1.22, allocations: 48.36 kB / 1.172 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009846/1.23, allocations: 1.832 MB / 1.174 GB, free: 11.23 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.01465/1.245, allocations: 4.762 MB / 1.179 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00855/1.253, allocations: 1.592 MB / 1.18 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004277/1.258, allocations: 0.8395 MB / 1.181 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002084/1.26, allocations: 0.9612 MB / 1.182 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004616/1.264, allocations: 0.9052 MB / 1.183 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 8.676e-06/1.265, allocations: 0 / 1.183 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.01399/1.279, allocations: 2.449 MB / 1.185 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/1.279, allocations: 60.19 kB / 1.186 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002283/1.281, allocations: 1.195 MB / 1.187 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/1.281, allocations: 47.17 kB / 1.187 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007674/1.282, allocations: 0.5482 MB / 1.187 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006375/1.283, allocations: 330.3 kB / 1.188 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/1.283, allocations: 19.34 kB / 1.188 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.283, allocations: 344.8 kB / 1.188 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004042/1.287, allocations: 0.697 MB / 1.189 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00445/1.292, allocations: 0.9263 MB / 1.19 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/1.296, allocations: 0.733 MB / 1.19 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/1.296, allocations: 6.359 kB / 1.19 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009411/1.305, allocations: 1.767 MB / 1.192 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.305, allocations: 9.875 kB / 1.192 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/1.306, allocations: 6.562 kB / 1.192 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-05/1.306, allocations: 8.031 kB / 1.192 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003451/1.309, allocations: 338.2 kB / 1.192 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-05/1.309, allocations: 16.3 kB / 1.192 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/1.312, allocations: 257.9 kB / 1.193 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/1.313, allocations: 48.16 kB / 1.193 GB, free: 15.53 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.0009541/1.314, allocations: 338.6 kB / 1.193 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004787/1.314, allocations: 133.5 kB / 1.193 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009498/1.324, allocations: 1.796 MB / 1.195 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/1.324, allocations: 8 kB / 1.195 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/1.324, allocations: 4 kB / 1.195 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/1.324, allocations: 7.969 kB / 1.195 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/1.338, allocations: 3.328 MB / 1.198 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.338, allocations: 8.5 kB / 1.198 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003339/1.341, allocations: 287.6 kB / 1.198 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.18e-05/1.341, allocations: 8 kB / 1.198 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/1.341, allocations: 35.97 kB / 1.198 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-05/1.341, allocations: 11.94 kB / 1.198 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.341, allocations: 7.984 kB / 1.198 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/1.356, allocations: 2.828 MB / 1.201 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.357, allocations: 327.1 kB / 1.201 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004434/1.357, allocations: 24 kB / 1.202 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002951/1.36, allocations: 179.8 kB / 1.202 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/1.361, allocations: 72.39 kB / 1.202 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/1.361, allocations: 39.97 kB / 1.202 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001759/1.363, allocations: 0.8318 MB / 1.203 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.51e-07/1.363, allocations: 0 / 1.203 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001843/1.365, allocations: 351.5 kB / 1.203 GB, free: 5.215 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.001714/1.366, allocations: 0.5328 MB / 1.203 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.009134/1.375, allocations: 1.607 MB / 1.205 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.376, allocations: 3.938 kB / 1.205 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004562/1.38, allocations: 0.8321 MB / 1.206 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005732/1.386, allocations: 0.5961 MB / 1.206 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.397, allocations: 3.399 MB / 1.21 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/1.399, allocations: 1.187 MB / 1.211 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002997/1.402, allocations: 378.1 kB / 1.211 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008318/1.403, allocations: 111.4 kB / 1.211 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of SimCode: time 1.703e-06/1.403, allocations: 0 / 1.211 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of Templates: time 0.06501/1.468, allocations: 22.37 MB / 1.233 GB, free: 6.461 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)