Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001033, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001143/0.001143, allocations: 194.4 kB / 16.26 MB, free: 6.633 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.403/1.403, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 251.6 MB / 0.5089 GB, free: 3.281 MB / 414.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.001348/0.001348, allocations: 71.84 kB / 0.6217 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5436, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02739/0.5711, allocations: 29.15 MB / 0.7525 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009731/0.5809, allocations: 6.662 MB / 0.759 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.5827, allocations: 47.62 kB / 0.759 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/0.585, allocations: 0.6183 MB / 0.7596 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.5895, allocations: 1.326 MB / 0.7609 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003995/0.5935, allocations: 1.061 MB / 0.7619 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003594/0.5971, allocations: 2.489 MB / 0.7644 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.5984, allocations: 0.7922 MB / 0.7651 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.6005, allocations: 1.043 MB / 0.7662 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.6016, allocations: 0.848 MB / 0.767 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.6017, allocations: 68 kB / 0.7671 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.6035, allocations: 0.8342 MB / 0.7679 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.6038, allocations: 286.9 kB / 0.7681 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005526/0.6044, allocations: 0.5709 MB / 0.7687 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.6068, allocations: 1.62 MB / 0.7703 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.6068, allocations: 0 / 0.7703 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6068, allocations: 4 kB / 0.7703 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.666e-05/0.6068, allocations: 0 / 0.7703 GB, free: 13.49 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002621/0.6094, allocations: 1.582 MB / 0.7718 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.6095, allocations: 8.031 kB / 0.7718 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/0.613, allocations: 0.5845 MB / 0.7724 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.6142, allocations: 0.8213 MB / 0.7732 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.6142, allocations: 54.38 kB / 0.7733 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.6144, allocations: 87.92 kB / 0.7733 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.6167, allocations: 1.096 MB / 0.7744 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.6167, allocations: 0 / 0.7744 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/0.6168, allocations: 32 kB / 0.7744 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.6168, allocations: 16 kB / 0.7745 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/0.6197, allocations: 1.008 MB / 0.7754 GB, free: 8.008 MB / 0.5919 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.005189/0.6249, allocations: 4.951 MB / 0.7803 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.6276, allocations: 0.8913 MB / 0.7812 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.6289, allocations: 495 kB / 0.7816 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.6302, allocations: 1.591 MB / 0.7832 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.6318, allocations: 0.5768 MB / 0.7837 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.825e-06/0.6318, allocations: 0 / 0.7837 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.004479/0.6363, allocations: 1.489 MB / 0.7852 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.6364, allocations: 59.97 kB / 0.7853 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.6377, allocations: 1.121 MB / 0.7863 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-05/0.6378, allocations: 45.7 kB / 0.7864 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004/0.6382, allocations: 0.5551 MB / 0.7869 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/0.6384, allocations: 213 kB / 0.7871 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.6386, allocations: 166.5 kB / 0.7873 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6387, allocations: 337.9 kB / 0.7876 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.6401, allocations: 449.6 kB / 0.788 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.6417, allocations: 0.7357 MB / 0.7888 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00281/0.6445, allocations: 1.12 MB / 0.7899 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6445, allocations: 4 kB / 0.7899 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003445/0.648, allocations: 1.27 MB / 0.7911 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.648, allocations: 8 kB / 0.7911 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.648, allocations: 11.94 kB / 0.7911 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.6481, allocations: 15.98 kB / 0.7911 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.6493, allocations: 264.2 kB / 0.7914 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.6493, allocations: 19.92 kB / 0.7914 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.6506, allocations: 199 kB / 0.7916 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.325e-05/0.6507, allocations: 47.97 kB / 0.7916 GB, free: 6.465 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0004401/0.6511, allocations: 287.8 kB / 0.7919 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.6513, allocations: 122.4 kB / 0.792 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003779/0.6551, allocations: 1.371 MB / 0.7934 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.6552, allocations: 11.98 kB / 0.7934 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.6552, allocations: 4 kB / 0.7934 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.6552, allocations: 3.984 kB / 0.7934 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004714/0.6599, allocations: 2.374 MB / 0.7957 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.6599, allocations: 4 kB / 0.7957 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.6609, allocations: 179.9 kB / 0.7959 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.661, allocations: 8 kB / 0.7959 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-05/0.661, allocations: 23.97 kB / 0.7959 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.81e-05/0.6611, allocations: 11.94 kB / 0.7959 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6611, allocations: 0 / 0.7959 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004826/0.6659, allocations: 1.973 MB / 0.7979 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/0.6664, allocations: 279.3 kB / 0.7981 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.6666, allocations: 19.98 kB / 0.7981 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009722/0.6676, allocations: 119.9 kB / 0.7983 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.6677, allocations: 52.44 kB / 0.7983 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.6678, allocations: 39.91 kB / 0.7983 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009408/0.6687, allocations: 0.772 MB / 0.7991 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.714e-06/0.6687, allocations: 0 / 0.7991 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001158/0.6699, allocations: 347.5 kB / 0.7994 GB, free: 14.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001498/0.6714, allocations: 0.6657 MB / 0.8001 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003577/0.675, allocations: 1.185 MB / 0.8012 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.675, allocations: 4.188 kB / 0.8012 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.6766, allocations: 0.5735 MB / 0.8018 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/0.6787, allocations: 459.2 kB / 0.8022 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.6836, allocations: 2.746 MB / 0.8049 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.6841, allocations: 1.108 MB / 0.806 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001081/0.6852, allocations: 252.8 kB / 0.8062 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002901/0.6855, allocations: 111.4 kB / 0.8063 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.6855, allocations: 0 / 0.8063 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of Templates: time 0.03121/0.7167, allocations: 20.2 MB / 0.8261 GB, free: 3.453 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)