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.001352/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001348/0.001348, allocations: 191.9 kB / 16.13 MB, free: 6.699 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.419/1.419, allocations: 205.1 MB / 222 MB, free: 4.801 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.463/1.463, allocations: 251.7 MB / 0.5088 GB, free: 3.355 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.001273/0.001273, allocations: 59.92 kB / 0.6216 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5879/0.5892, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03854/0.6278, allocations: 29.2 MB / 0.7523 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.6424, allocations: 6.723 MB / 0.7589 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.6443, allocations: 43.69 kB / 0.7589 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.6465, allocations: 0.6065 MB / 0.7595 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005026/0.6516, allocations: 1.322 MB / 0.7608 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.6555, allocations: 1.051 MB / 0.7618 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004872/0.6604, allocations: 3.206 MB / 0.765 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.6619, allocations: 0.7211 MB / 0.7657 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.6646, allocations: 0.9489 MB / 0.7666 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.6661, allocations: 0.8247 MB / 0.7674 GB, free: 344 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.6662, allocations: 44 kB / 0.7675 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.6687, allocations: 0.7677 MB / 0.7682 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003572/0.6691, allocations: 266.9 kB / 0.7685 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007711/0.6698, allocations: 0.5397 MB / 0.769 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.6724, allocations: 1.577 MB / 0.7705 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6724, allocations: 0 / 0.7705 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6724, allocations: 0 / 0.7705 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.6724, allocations: 0 / 0.7705 GB, free: 13.14 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.003533/0.676, allocations: 1.586 MB / 0.7721 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.676, allocations: 8.031 kB / 0.7721 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00474/0.6808, allocations: 0.5923 MB / 0.7727 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.6826, allocations: 0.8136 MB / 0.7735 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/0.6827, allocations: 58.38 kB / 0.7735 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.6829, allocations: 75.94 kB / 0.7736 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003281/0.6862, allocations: 1.107 MB / 0.7747 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.6862, allocations: 4 kB / 0.7747 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.6863, allocations: 28 kB / 0.7747 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.6864, allocations: 19.94 kB / 0.7747 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/0.6905, allocations: 1 MB / 0.7757 GB, free: 7.66 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.007513/0.698, allocations: 4.955 MB / 0.7805 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/0.7012, allocations: 0.9039 MB / 0.7814 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.7026, allocations: 486.2 kB / 0.7819 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/0.7041, allocations: 1.584 MB / 0.7834 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001717/0.7058, allocations: 0.5767 MB / 0.784 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 4.208e-06/0.7058, allocations: 7.938 kB / 0.784 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.005071/0.7109, allocations: 1.485 MB / 0.7854 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.711, allocations: 55.97 kB / 0.7855 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.7128, allocations: 1.125 MB / 0.7866 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.7129, allocations: 41.7 kB / 0.7866 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/0.7135, allocations: 0.5512 MB / 0.7872 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.7137, allocations: 217 kB / 0.7874 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/0.714, allocations: 166.5 kB / 0.7875 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7142, allocations: 337.9 kB / 0.7879 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.7156, allocations: 453.6 kB / 0.7883 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.7172, allocations: 0.728 MB / 0.789 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/0.7202, allocations: 1.128 MB / 0.7901 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.7202, allocations: 4 kB / 0.7901 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00363/0.7238, allocations: 1.275 MB / 0.7914 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.7239, allocations: 8 kB / 0.7914 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.7239, allocations: 8 kB / 0.7914 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.7239, allocations: 16.03 kB / 0.7914 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.7252, allocations: 267.6 kB / 0.7916 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.867e-05/0.7252, allocations: 19.92 kB / 0.7917 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.7266, allocations: 195 kB / 0.7918 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.7267, allocations: 47.97 kB / 0.7919 GB, free: 6.109 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.0005459/0.7273, allocations: 291.8 kB / 0.7922 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.7276, allocations: 126.4 kB / 0.7923 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.7315, allocations: 1.363 MB / 0.7936 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.7315, allocations: 8 kB / 0.7936 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.7316, allocations: 0 / 0.7936 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.7316, allocations: 7.984 kB / 0.7936 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/0.7368, allocations: 2.378 MB / 0.796 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.7368, allocations: 0 / 0.796 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.7378, allocations: 191.9 kB / 0.7961 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.7378, allocations: 4 kB / 0.7961 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.7379, allocations: 27.91 kB / 0.7962 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.7379, allocations: 11.94 kB / 0.7962 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.738, allocations: 4 kB / 0.7962 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005031/0.743, allocations: 1.977 MB / 0.7981 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/0.7435, allocations: 279.4 kB / 0.7984 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.7438, allocations: 16 kB / 0.7984 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.7449, allocations: 123.8 kB / 0.7985 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.7451, allocations: 52.42 kB / 0.7986 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/0.7452, allocations: 35.97 kB / 0.7986 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001203/0.7464, allocations: 0.7681 MB / 0.7994 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.7464, allocations: 0 / 0.7994 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001358/0.7478, allocations: 347.6 kB / 0.7997 GB, free: 13.98 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.001715/0.7495, allocations: 0.6532 MB / 0.8003 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003334/0.7528, allocations: 1.114 MB / 0.8014 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7528, allocations: 0 / 0.8014 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.7545, allocations: 0.5697 MB / 0.802 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.757, allocations: 456.8 kB / 0.8024 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/0.7628, allocations: 2.738 MB / 0.8051 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008789/0.7637, allocations: 1.116 MB / 0.8062 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001185/0.7649, allocations: 252.8 kB / 0.8064 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.7652, allocations: 107.4 kB / 0.8065 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.7653, allocations: 0 / 0.8065 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of Templates: time 0.03635/0.8016, allocations: 19.52 MB / 0.8256 GB, free: 3.844 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)