Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.59/1.59, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001076/0.001076, allocations: 181.1 kB / 371.8 MB, free: 10.26 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.49/1.49, allocations: 205.4 MB / 0.6306 GB, free: 9.898 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.001163/0.001162, allocations: 94.91 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.000383, allocations: 12.75 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2141, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.318/5.532, allocations: 2.318 GB / 3.297 GB, free: 282.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/5.533, allocations: 86.25 kB / 3.297 GB, free: 282.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.604/7.137, allocations: 0.601 GB / 3.898 GB, free: 83.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.383e-06/7.137, allocations: 0 / 3.898 GB, free: 83.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.79e-05/7.137, allocations: 39.97 kB / 3.898 GB, free: 83.2 MB / 0.948 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.002899/7.14, allocations: 1.534 MB / 3.9 GB, free: 81.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/7.14, allocations: 8.031 kB / 3.9 GB, free: 81.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002943/7.143, allocations: 0.5798 MB / 3.9 GB, free: 81.01 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/7.145, allocations: 0.934 MB / 3.901 GB, free: 80.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/7.145, allocations: 62 kB / 3.901 GB, free: 79.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/7.146, allocations: 80 kB / 3.901 GB, free: 79.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/7.148, allocations: 1.084 MB / 3.902 GB, free: 78.72 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/7.148, allocations: 0 / 3.902 GB, free: 78.72 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/7.148, allocations: 32 kB / 3.902 GB, free: 78.69 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/7.148, allocations: 24 kB / 3.902 GB, free: 78.66 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/7.15, allocations: 0.9963 MB / 3.903 GB, free: 77.67 MB / 0.948 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.005211/7.156, allocations: 4.983 MB / 3.908 GB, free: 72.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/7.158, allocations: 0.9574 MB / 3.909 GB, free: 71.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009983/7.159, allocations: 1.596 MB / 3.911 GB, free: 69.49 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/7.161, allocations: 0.5729 MB / 3.911 GB, free: 68.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.268e-06/7.161, allocations: 0 / 3.911 GB, free: 68.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.004177/7.165, allocations: 1.512 MB / 3.913 GB, free: 67.38 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/7.165, allocations: 63.92 kB / 3.913 GB, free: 67.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/7.166, allocations: 0.9936 MB / 3.914 GB, free: 66.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.953e-05/7.166, allocations: 45.7 kB / 3.914 GB, free: 66.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/7.166, allocations: 0.5473 MB / 3.914 GB, free: 65.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/7.167, allocations: 213 kB / 3.915 GB, free: 65.48 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/7.167, allocations: 16 kB / 3.915 GB, free: 65.47 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001067/7.167, allocations: 334 kB / 3.915 GB, free: 65.14 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/7.168, allocations: 461.6 kB / 3.915 GB, free: 64.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/7.169, allocations: 0.7697 MB / 3.916 GB, free: 63.77 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/7.171, allocations: 0.4964 MB / 3.917 GB, free: 63.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/7.171, allocations: 0 / 3.917 GB, free: 63.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003006/7.174, allocations: 1.285 MB / 3.918 GB, free: 61.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/7.174, allocations: 8.938 kB / 3.918 GB, free: 61.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/7.174, allocations: 8 kB / 3.918 GB, free: 61.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/7.174, allocations: 16 kB / 3.918 GB, free: 61.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/7.175, allocations: 275.6 kB / 3.918 GB, free: 61.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/7.175, allocations: 19.89 kB / 3.918 GB, free: 61.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/7.176, allocations: 210.9 kB / 3.918 GB, free: 61.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/7.176, allocations: 55.97 kB / 3.918 GB, free: 61.4 MB / 0.948 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 ($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 (100): * Single equations (assignments): 100 * 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.0005952/7.177, allocations: 295.7 kB / 3.919 GB, free: 61.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/7.177, allocations: 122.5 kB / 3.919 GB, free: 60.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003281/7.18, allocations: 1.428 MB / 3.92 GB, free: 59.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/7.18, allocations: 8 kB / 3.92 GB, free: 59.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/7.18, allocations: 8 kB / 3.92 GB, free: 59.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/7.181, allocations: 7.938 kB / 3.92 GB, free: 59.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/7.185, allocations: 2.486 MB / 3.923 GB, free: 56.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/7.185, allocations: 4 kB / 3.923 GB, free: 56.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/7.186, allocations: 204 kB / 3.923 GB, free: 56.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/7.186, allocations: 4 kB / 3.923 GB, free: 56.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/7.186, allocations: 27.97 kB / 3.923 GB, free: 56.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/7.186, allocations: 7.938 kB / 3.923 GB, free: 56.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/7.186, allocations: 4 kB / 3.923 GB, free: 56.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0043/7.19, allocations: 2.114 MB / 3.925 GB, free: 54.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/7.191, allocations: 315.2 kB / 3.925 GB, free: 54.21 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/7.191, allocations: 23.94 kB / 3.925 GB, free: 54.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/7.192, allocations: 127.9 kB / 3.925 GB, free: 54.06 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/7.192, allocations: 56.48 kB / 3.925 GB, free: 54.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/7.192, allocations: 39.92 kB / 3.926 GB, free: 53.97 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008967/7.193, allocations: 0.7681 MB / 3.926 GB, free: 53.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/7.193, allocations: 0 / 3.926 GB, free: 53.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001321/7.195, allocations: 395.6 kB / 3.927 GB, free: 52.81 MB / 0.948 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001596/7.196, allocations: 0.8111 MB / 3.927 GB, free: 52.15 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002992/7.199, allocations: 1.139 MB / 3.929 GB, free: 51.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/7.199, allocations: 3.938 kB / 3.929 GB, free: 51.01 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/7.201, allocations: 0.597 MB / 3.929 GB, free: 50.42 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/7.203, allocations: 442 kB / 3.93 GB, free: 49.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/7.207, allocations: 2.762 MB / 3.932 GB, free: 47.17 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/7.208, allocations: 1.14 MB / 3.933 GB, free: 46 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001106/7.209, allocations: 256.6 kB / 3.934 GB, free: 45.74 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/7.209, allocations: 115.4 kB / 3.934 GB, free: 45.63 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/7.209, allocations: 0 / 3.934 GB, free: 45.63 MB / 0.948 GB Notification: Performance of Templates: time 0.03171/7.241, allocations: 21.42 MB / 3.955 GB, free: 24.42 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)