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.753/2.753, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001621/0.001621, allocations: 193.4 kB / 370.8 MB, free: 10.87 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.16/2.16, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001685/0.001685, allocations: 98.73 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007272/0.0007272, allocations: 11.25 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2856, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.917/1.203, allocations: 160.8 MB / 1.135 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01171/1.215, allocations: 4.906 MB / 1.14 GB, free: 15.1 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/1.216, allocations: 44.31 kB / 1.14 GB, free: 15.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003451/1.22, allocations: 0.7758 MB / 1.141 GB, free: 14.87 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007958/1.228, allocations: 1.753 MB / 1.142 GB, free: 14.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005443/1.233, allocations: 1.185 MB / 1.144 GB, free: 14.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004695/1.238, allocations: 1.67 MB / 1.145 GB, free: 13.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/1.24, allocations: 0.8013 MB / 1.146 GB, free: 13.04 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00367/1.244, allocations: 0.9806 MB / 1.147 GB, free: 12.58 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/1.246, allocations: 0.7074 MB / 1.148 GB, free: 12.19 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003073/1.247, allocations: 47.75 kB / 1.148 GB, free: 12.19 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/1.251, allocations: 0.9346 MB / 1.149 GB, free: 11.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009054/1.252, allocations: 389.4 kB / 1.149 GB, free: 11.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006793/1.253, allocations: 269.8 kB / 1.149 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003805/1.256, allocations: 1.336 MB / 1.151 GB, free: 10.58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.256, allocations: 0 / 1.151 GB, free: 10.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.455e-06/1.256, allocations: 0 / 1.151 GB, free: 10.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.979e-05/1.256, allocations: 0 / 1.151 GB, free: 10.58 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.009132/1.266, allocations: 1.719 MB / 1.152 GB, free: 9.305 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.266, allocations: 8.344 kB / 1.152 GB, free: 9.305 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009877/1.276, allocations: 0.9295 MB / 1.153 GB, free: 8.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003003/1.279, allocations: 0.8659 MB / 1.154 GB, free: 8.234 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/1.279, allocations: 72.33 kB / 1.154 GB, free: 8.203 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003679/1.279, allocations: 98.11 kB / 1.154 GB, free: 8.168 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006945/1.286, allocations: 1.567 MB / 1.156 GB, free: 7.246 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/1.286, allocations: 3.953 kB / 1.156 GB, free: 7.242 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/1.286, allocations: 36.52 kB / 1.156 GB, free: 7.215 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/1.286, allocations: 60.17 kB / 1.156 GB, free: 7.195 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/1.297, allocations: 1.833 MB / 1.158 GB, free: 6.332 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.01219/1.309, allocations: 4.296 MB / 1.162 GB, free: 2.898 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008621/1.317, allocations: 1.588 MB / 1.163 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007523/1.318, allocations: 171.1 kB / 1.164 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004413/1.323, allocations: 0.9025 MB / 1.164 GB, free: 1.527 MB / 0.698 GB Notification: Performance of pre-optimization done (n=95): time 5.019e-06/1.323, allocations: 0 / 1.164 GB, free: 1.527 MB / 0.698 GB Notification: Performance of matching and sorting (n=95): time 0.01387/1.337, allocations: 2.43 MB / 1.167 GB, free: 420 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/1.337, allocations: 66.7 kB / 1.167 GB, free: 352 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/1.339, allocations: 1.197 MB / 1.168 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003159/1.339, allocations: 48.95 kB / 1.168 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006594/1.34, allocations: 0.5438 MB / 1.169 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/1.341, allocations: 324 kB / 1.169 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/1.341, allocations: 21.91 kB / 1.169 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.341, allocations: 345.1 kB / 1.169 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003971/1.345, allocations: 0.6869 MB / 1.17 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/1.349, allocations: 0.9185 MB / 1.171 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/1.353, allocations: 0.7282 MB / 1.172 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.353, allocations: 2.875 kB / 1.172 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00909/1.363, allocations: 1.753 MB / 1.173 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/1.363, allocations: 5.625 kB / 1.173 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.363, allocations: 5.312 kB / 1.173 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/1.363, allocations: 8.5 kB / 1.173 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003455/1.366, allocations: 345.9 kB / 1.174 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.977e-05/1.366, allocations: 15.52 kB / 1.174 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/1.37, allocations: 259.3 kB / 1.174 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/1.37, allocations: 50.94 kB / 1.174 GB, free: 12.23 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.0009715/1.371, allocations: 339.5 kB / 1.174 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/1.371, allocations: 128.8 kB / 1.174 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009199/1.38, allocations: 1.795 MB / 1.176 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/1.38, allocations: 9.875 kB / 1.176 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/1.38, allocations: 0 / 1.176 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/1.381, allocations: 7.938 kB / 1.176 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/1.394, allocations: 3.3 MB / 1.179 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.394, allocations: 4.875 kB / 1.179 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00318/1.397, allocations: 289 kB / 1.18 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/1.397, allocations: 7.656 kB / 1.18 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/1.397, allocations: 36.58 kB / 1.18 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.898e-05/1.397, allocations: 16.17 kB / 1.18 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/1.397, allocations: 8.922 kB / 1.18 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.411, allocations: 3.012 MB / 1.183 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.412, allocations: 330.9 kB / 1.183 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003191/1.412, allocations: 33.86 kB / 1.183 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/1.415, allocations: 170.5 kB / 1.183 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/1.415, allocations: 70.06 kB / 1.183 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/1.415, allocations: 42.34 kB / 1.183 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001658/1.417, allocations: 0.8295 MB / 1.184 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.71e-07/1.417, allocations: 0 / 1.184 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001849/1.419, allocations: 347.5 kB / 1.184 GB, free: 5.648 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.001877/1.421, allocations: 0.5261 MB / 1.185 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009097/1.43, allocations: 1.599 MB / 1.186 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/1.43, allocations: 4 kB / 1.186 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00466/1.435, allocations: 0.8242 MB / 1.187 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/1.44, allocations: 0.5905 MB / 1.188 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.452, allocations: 3.399 MB / 1.191 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/1.453, allocations: 1.208 MB / 1.192 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003129/1.457, allocations: 374.2 kB / 1.193 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009351/1.458, allocations: 119.4 kB / 1.193 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of SimCode: time 1.944e-06/1.458, allocations: 0 / 1.193 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.06861/1.526, allocations: 22.35 MB / 1.215 GB, free: 6.914 MB / 0.7448 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)