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.685/1.685, allocations: 288.4 MB / 303.4 MB, free: 8.148 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.001187/0.001187, allocations: 172.5 kB / 372 MB, free: 10.23 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.484/1.484, allocations: 205.4 MB / 0.6307 GB, free: 9.875 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.0008017/0.0008019, allocations: 90.34 kB / 0.7441 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004984/0.0004986, allocations: 12.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2022, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6704/0.8727, allocations: 176.3 MB / 1.152 GB, free: 9.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008758/0.8815, allocations: 4.783 MB / 1.156 GB, free: 6.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.883, allocations: 41.09 kB / 1.156 GB, free: 6.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.8848, allocations: 0.6183 MB / 1.157 GB, free: 5.629 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005995/0.8908, allocations: 1.866 MB / 1.159 GB, free: 4.215 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.8937, allocations: 0.9221 MB / 1.16 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004521/0.8983, allocations: 3.053 MB / 1.163 GB, free: 1.77 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.8999, allocations: 0.7533 MB / 1.164 GB, free: 1.297 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.9027, allocations: 1.007 MB / 1.165 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.9044, allocations: 0.9505 MB / 1.165 GB, free: 268 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.9046, allocations: 48.84 kB / 1.165 GB, free: 268 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.9077, allocations: 0.939 MB / 1.166 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004879/0.9082, allocations: 405.2 kB / 1.167 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005097/0.9087, allocations: 273.7 kB / 1.167 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.9109, allocations: 1.397 MB / 1.168 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.9109, allocations: 0 / 1.168 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9109, allocations: 1.094 kB / 1.168 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.911, allocations: 0 / 1.168 GB, free: 14.53 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.004983/0.9159, allocations: 1.726 MB / 1.17 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.916, allocations: 9.625 kB / 1.17 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005736/0.9217, allocations: 0.9328 MB / 1.171 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.9236, allocations: 0.8706 MB / 1.172 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.9237, allocations: 71.95 kB / 1.172 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.9239, allocations: 94.09 kB / 1.172 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/0.9276, allocations: 1.579 MB / 1.174 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.9277, allocations: 3.984 kB / 1.174 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.9278, allocations: 39.95 kB / 1.174 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-05/0.9279, allocations: 44.36 kB / 1.174 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004931/0.9328, allocations: 1.841 MB / 1.175 GB, free: 10.26 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.007562/0.9404, allocations: 4.766 MB / 1.18 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004253/0.9446, allocations: 1.574 MB / 1.182 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002179/0.9468, allocations: 0.8461 MB / 1.182 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.9482, allocations: 0.9582 MB / 1.183 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002367/0.9506, allocations: 0.9103 MB / 1.184 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/0.9506, allocations: 0 / 1.184 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.007636/0.9582, allocations: 2.436 MB / 1.187 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.9583, allocations: 75.11 kB / 1.187 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.9601, allocations: 1.198 MB / 1.188 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.9603, allocations: 47.45 kB / 1.188 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/0.9608, allocations: 0.5439 MB / 1.188 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003302/0.9611, allocations: 326.8 kB / 1.189 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.864e-05/0.9612, allocations: 23.09 kB / 1.189 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9613, allocations: 344.8 kB / 1.189 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.9635, allocations: 0.6915 MB / 1.19 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.9658, allocations: 0.9215 MB / 1.191 GB, free: 24 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.968, allocations: 0.7312 MB / 1.191 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.968, allocations: 0 / 1.191 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005033/0.9731, allocations: 1.772 MB / 1.193 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.9731, allocations: 5.438 kB / 1.193 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.9731, allocations: 5.344 kB / 1.193 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.9732, allocations: 9.188 kB / 1.193 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.975, allocations: 337.2 kB / 1.194 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-05/0.9751, allocations: 11.81 kB / 1.194 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/0.9773, allocations: 266.1 kB / 1.194 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.9775, allocations: 42.08 kB / 1.194 GB, free: 14.58 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.0008014/0.9783, allocations: 346.9 kB / 1.194 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/0.9787, allocations: 142.8 kB / 1.194 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005201/0.9839, allocations: 1.789 MB / 1.196 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.984, allocations: 12 kB / 1.196 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.984, allocations: 7.984 kB / 1.196 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.984, allocations: 3.984 kB / 1.196 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007906/0.9919, allocations: 3.328 MB / 1.199 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.992, allocations: 4 kB / 1.199 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/0.9936, allocations: 292 kB / 1.2 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/0.9937, allocations: 8 kB / 1.2 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.9938, allocations: 31.97 kB / 1.2 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.9938, allocations: 8 kB / 1.2 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/0.9938, allocations: 4 kB / 1.2 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007336/1.001, allocations: 2.835 MB / 1.202 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008514/1.002, allocations: 331.1 kB / 1.203 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/1.002, allocations: 23.98 kB / 1.203 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.004, allocations: 175.8 kB / 1.203 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/1.004, allocations: 76.45 kB / 1.203 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/1.004, allocations: 39.97 kB / 1.203 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001148/1.006, allocations: 0.8279 MB / 1.204 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.006, allocations: 0 / 1.204 GB, free: 4.371 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001309/1.007, allocations: 343.6 kB / 1.204 GB, free: 4.035 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.00122/1.008, allocations: 0.5444 MB / 1.205 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004709/1.013, allocations: 1.611 MB / 1.206 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.013, allocations: 0 / 1.206 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/1.015, allocations: 0.8322 MB / 1.207 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0033/1.018, allocations: 0.6084 MB / 1.208 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/1.025, allocations: 3.402 MB / 1.211 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009619/1.026, allocations: 1.183 MB / 1.212 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001918/1.028, allocations: 362.2 kB / 1.212 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/1.029, allocations: 119.4 kB / 1.213 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of SimCode: time 2.775e-06/1.029, allocations: 4 kB / 1.213 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of Templates: time 0.03799/1.067, allocations: 22.39 MB / 1.234 GB, free: 5.246 MB / 0.7605 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)