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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.632/1.632, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.001008/0.001008, allocations: 188.4 kB / 372.3 MB, free: 10.15 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.559/1.559, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0007068/0.0007067, allocations: 94.69 kB / 0.7444 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 12.09 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6569/0.8863, allocations: 176.3 MB / 1.152 GB, free: 9.664 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009172/0.8955, allocations: 4.784 MB / 1.157 GB, free: 5.812 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.8978, allocations: 40.94 kB / 1.157 GB, free: 5.793 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.9004, allocations: 0.6607 MB / 1.158 GB, free: 5.328 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008345/0.9087, allocations: 2.262 MB / 1.16 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.9116, allocations: 0.9191 MB / 1.161 GB, free: 3.031 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.9159, allocations: 3.082 MB / 1.164 GB, free: 1.199 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.9174, allocations: 0.8223 MB / 1.165 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/0.9195, allocations: 1.009 MB / 1.166 GB, free: 168 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.9209, allocations: 0.9462 MB / 1.167 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.921, allocations: 48.94 kB / 1.167 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003817/0.9248, allocations: 2.027 MB / 1.169 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004648/0.9253, allocations: 404.2 kB / 1.169 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007478/0.9261, allocations: 0.6249 MB / 1.17 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00204/0.9281, allocations: 1.535 MB / 1.171 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.9281, allocations: 0 / 1.171 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9282, allocations: 3.938 kB / 1.171 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.9282, allocations: 1.469 kB / 1.171 GB, free: 12.93 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.004636/0.9328, allocations: 1.709 MB / 1.173 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.9329, allocations: 14.22 kB / 1.173 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.933, allocations: 147.2 kB / 1.173 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005219/0.9383, allocations: 0.9215 MB / 1.174 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.9399, allocations: 0.9173 MB / 1.175 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.9399, allocations: 72.7 kB / 1.175 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.9401, allocations: 94.7 kB / 1.175 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/0.9437, allocations: 1.573 MB / 1.176 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.9437, allocations: 3.938 kB / 1.176 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.9439, allocations: 36.2 kB / 1.176 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.9439, allocations: 48.42 kB / 1.176 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004828/0.9488, allocations: 1.833 MB / 1.178 GB, free: 8.52 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.007454/0.9562, allocations: 4.777 MB / 1.183 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004205/0.9604, allocations: 1.575 MB / 1.184 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/0.9626, allocations: 0.844 MB / 1.185 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/0.964, allocations: 0.9656 MB / 1.186 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002321/0.9663, allocations: 0.911 MB / 1.187 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 2.495e-06/0.9663, allocations: 2.125 kB / 1.187 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.007146/0.9735, allocations: 2.438 MB / 1.19 GB, free: 1 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.9736, allocations: 63.25 kB / 1.19 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.9751, allocations: 1.198 MB / 1.191 GB, free: 328 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.9752, allocations: 47.48 kB / 1.191 GB, free: 280 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004844/0.9757, allocations: 0.544 MB / 1.191 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.9761, allocations: 330.7 kB / 1.192 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.821e-05/0.9761, allocations: 14.97 kB / 1.192 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.9763, allocations: 348.7 kB / 1.192 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00206/0.9784, allocations: 0.6961 MB / 1.193 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002246/0.9806, allocations: 0.9296 MB / 1.194 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004082/0.9847, allocations: 1.548 MB / 1.195 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.9847, allocations: 2.719 kB / 1.195 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004842/0.9896, allocations: 1.762 MB / 1.197 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.9896, allocations: 9.719 kB / 1.197 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.9897, allocations: 4 kB / 1.197 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.9897, allocations: 11.98 kB / 1.197 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.9914, allocations: 336 kB / 1.197 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/0.9915, allocations: 12 kB / 1.197 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.9934, allocations: 262.6 kB / 1.197 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.9936, allocations: 51.97 kB / 1.197 GB, free: 11.38 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.0006639/0.9943, allocations: 335.7 kB / 1.198 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.9946, allocations: 134.3 kB / 1.198 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/0.9997, allocations: 1.796 MB / 1.2 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.9997, allocations: 8 kB / 1.2 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.9998, allocations: 0 / 1.2 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.9998, allocations: 11.91 kB / 1.2 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007565/1.007, allocations: 3.332 MB / 1.203 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.007, allocations: 4 kB / 1.203 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/1.009, allocations: 284 kB / 1.203 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/1.009, allocations: 8 kB / 1.203 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.009, allocations: 31.97 kB / 1.203 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/1.009, allocations: 11.94 kB / 1.203 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.009, allocations: 4 kB / 1.203 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007196/1.016, allocations: 2.832 MB / 1.206 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007879/1.017, allocations: 335.1 kB / 1.206 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/1.017, allocations: 31.98 kB / 1.206 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/1.019, allocations: 171.7 kB / 1.207 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.019, allocations: 76.45 kB / 1.207 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-05/1.019, allocations: 35.97 kB / 1.207 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00115/1.02, allocations: 0.8318 MB / 1.207 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.8e-07/1.02, allocations: 3.938 kB / 1.207 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001251/1.022, allocations: 347.6 kB / 1.208 GB, free: 0.5664 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.008528/1.03, allocations: 3.801 MB / 1.212 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004652/1.035, allocations: 1.615 MB / 1.213 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.035, allocations: 0 / 1.213 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002379/1.037, allocations: 0.8283 MB / 1.214 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/1.041, allocations: 0.5997 MB / 1.214 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/1.06, allocations: 9.585 MB / 1.224 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007916/1.061, allocations: 1.179 MB / 1.225 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001668/1.062, allocations: 370.2 kB / 1.225 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008462/1.063, allocations: 0.5032 MB / 1.226 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of SimCode: time 7.42e-07/1.063, allocations: 4 kB / 1.226 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6604/1.724, allocations: 34.62 MB / 1.26 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/1.724, allocations: 244.7 kB / 1.26 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.088/4.812, allocations: 0 / 1.26 GB, free: 11.15 MB / 0.7917 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)