Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007756/0.0007756, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005389/0.005389, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.0005169, allocations: 18.45 kB / 0.6743 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2377, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6582/0.8959, allocations: 189 MB / 0.9725 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.9063, allocations: 5.003 MB / 0.9773 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.9084, allocations: 44.81 kB / 0.9774 GB, free: 15 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.9106, allocations: 0.7118 MB / 0.9781 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007885/0.9185, allocations: 2.421 MB / 0.9805 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.9216, allocations: 1.019 MB / 0.9814 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005216/0.9268, allocations: 3.588 MB / 0.9849 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.9283, allocations: 0.8221 MB / 0.9858 GB, free: 12 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.9305, allocations: 1.013 MB / 0.9867 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.932, allocations: 0.9979 MB / 0.9877 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.9322, allocations: 49.44 kB / 0.9878 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004178/0.9363, allocations: 2.077 MB / 0.9898 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004378/0.9368, allocations: 411.8 kB / 0.9902 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007204/0.9375, allocations: 0.6555 MB / 0.9908 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003076/0.9406, allocations: 2.254 MB / 0.993 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9406, allocations: 0 / 0.993 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9406, allocations: 0 / 0.993 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.9407, allocations: 0 / 0.993 GB, free: 8.609 MB / 0.7325 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.004635/0.9453, allocations: 1.721 MB / 0.9947 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.9453, allocations: 10.88 kB / 0.9947 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005606/0.951, allocations: 0.9266 MB / 0.9956 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.9524, allocations: 0.9213 MB / 0.9965 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.9524, allocations: 68.66 kB / 0.9966 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.9526, allocations: 98.12 kB / 0.9967 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/0.9562, allocations: 1.578 MB / 0.9982 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.9563, allocations: 0 / 0.9982 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.9564, allocations: 36.84 kB / 0.9983 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/0.9565, allocations: 48.23 kB / 0.9983 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005133/0.9616, allocations: 1.844 MB / 1 GB, free: 4.371 MB / 0.7325 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.007581/0.9692, allocations: 4.767 MB / 1.005 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004398/0.9736, allocations: 1.588 MB / 1.006 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002315/0.9759, allocations: 0.8496 MB / 1.007 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.9773, allocations: 0.9659 MB / 1.008 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002581/0.9799, allocations: 0.9075 MB / 1.009 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=95): time 5.009e-06/0.9799, allocations: 0 / 1.009 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=95): time 0.008003/0.9879, allocations: 2.451 MB / 1.011 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.988, allocations: 67.7 kB / 1.011 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.9901, allocations: 1.205 MB / 1.013 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.9902, allocations: 42.64 kB / 1.013 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005066/0.9907, allocations: 0.5528 MB / 1.013 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.9911, allocations: 331.5 kB / 1.013 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.9912, allocations: 85.14 kB / 1.014 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9914, allocations: 344.8 kB / 1.014 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.9936, allocations: 0.6965 MB / 1.015 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.996, allocations: 0.9245 MB / 1.015 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004447/1, allocations: 1.552 MB / 1.017 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/1, allocations: 2.844 kB / 1.017 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00525/1.006, allocations: 1.779 MB / 1.019 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/1.006, allocations: 8.875 kB / 1.019 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.006, allocations: 5.125 kB / 1.019 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/1.006, allocations: 8.688 kB / 1.019 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/1.008, allocations: 340.3 kB / 1.019 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/1.008, allocations: 11.25 kB / 1.019 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/1.01, allocations: 269.7 kB / 1.019 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.01, allocations: 42.14 kB / 1.019 GB, free: 8.23 MB / 0.7481 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 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000655/1.011, allocations: 333.7 kB / 1.02 GB, free: 7.996 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/1.011, allocations: 140.4 kB / 1.02 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005436/1.016, allocations: 1.796 MB / 1.022 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.016, allocations: 14.58 kB / 1.022 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.016, allocations: 0 / 1.022 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/1.016, allocations: 3.984 kB / 1.022 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007776/1.024, allocations: 3.329 MB / 1.025 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/1.024, allocations: 7.938 kB / 1.025 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/1.026, allocations: 294 kB / 1.025 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.532e-05/1.026, allocations: 8 kB / 1.025 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/1.026, allocations: 31.97 kB / 1.025 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/1.026, allocations: 8 kB / 1.025 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/1.026, allocations: 7.938 kB / 1.025 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00761/1.034, allocations: 2.833 MB / 1.028 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000705/1.035, allocations: 339 kB / 1.028 GB, free: 1.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003027/1.035, allocations: 24 kB / 1.028 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.037, allocations: 171.8 kB / 1.028 GB, free: 1.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/1.037, allocations: 80.44 kB / 1.029 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.852e-05/1.037, allocations: 40.09 kB / 1.029 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001185/1.038, allocations: 0.8318 MB / 1.029 GB, free: 120 kB / 0.7481 GB Notification: Performance of sort global known variables: time 3.2e-07/1.038, allocations: 0 / 1.029 GB, free: 120 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001358/1.039, allocations: 347.6 kB / 1.03 GB, free: 15.77 MB / 0.7637 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001344/1.041, allocations: 0.5365 MB / 1.03 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005075/1.046, allocations: 1.616 MB / 1.032 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.046, allocations: 0 / 1.032 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/1.048, allocations: 0.8381 MB / 1.033 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/1.052, allocations: 0.6089 MB / 1.033 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/1.059, allocations: 3.52 MB / 1.037 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.06, allocations: 1.191 MB / 1.038 GB, free: 7.547 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001909/1.062, allocations: 374.1 kB / 1.038 GB, free: 7.18 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005622/1.063, allocations: 119.4 kB / 1.038 GB, free: 7.062 MB / 0.7637 GB Notification: Performance of SimCode: time 4.308e-06/1.063, allocations: 3.938 kB / 1.038 GB, free: 7.059 MB / 0.7637 GB Notification: Performance of Templates: time 0.04289/1.106, allocations: 23.05 MB / 1.061 GB, free: 324 kB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: