Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.344/2.344, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002016/0.002016, allocations: 178.4 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.454/2.454, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001245/0.001245, allocations: 92.39 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004506, allocations: 12.34 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2093, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.836/8.045, allocations: 2.434 GB / 3.334 GB, free: 87.52 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/8.046, allocations: 90.3 kB / 3.334 GB, free: 87.47 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.049/11.1, allocations: 0.5812 GB / 3.915 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.455e-06/11.1, allocations: 0 / 3.915 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001413/11.1, allocations: 45.77 kB / 3.915 GB, free: 208.5 MB / 0.8855 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.004633/11.1, allocations: 1.538 MB / 3.917 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/11.1, allocations: 8.906 kB / 3.917 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00546/11.11, allocations: 0.5793 MB / 3.917 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003812/11.11, allocations: 0.9348 MB / 3.918 GB, free: 206.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/11.11, allocations: 55.84 kB / 3.918 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/11.11, allocations: 86.02 kB / 3.918 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/11.11, allocations: 1.097 MB / 3.919 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/11.11, allocations: 0 / 3.919 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/11.11, allocations: 27.75 kB / 3.919 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/11.11, allocations: 18.78 kB / 3.919 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005066/11.12, allocations: 1.011 MB / 3.92 GB, free: 205.2 MB / 0.8855 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.008162/11.13, allocations: 4.96 MB / 3.925 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005136/11.13, allocations: 0.9604 MB / 3.926 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/11.13, allocations: 493.2 kB / 3.927 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/11.14, allocations: 1.59 MB / 3.928 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002685/11.14, allocations: 0.5841 MB / 3.929 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=61): time 3.867e-06/11.14, allocations: 0 / 3.929 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=61): time 0.007884/11.15, allocations: 1.515 MB / 3.93 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/11.15, allocations: 55.97 kB / 3.93 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/11.15, allocations: 1.132 MB / 3.931 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002363/11.15, allocations: 41.7 kB / 3.931 GB, free: 195.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005295/11.15, allocations: 0.5573 MB / 3.932 GB, free: 194.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/11.15, allocations: 206.6 kB / 3.932 GB, free: 194.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.843e-05/11.15, allocations: 20 kB / 3.932 GB, free: 194.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.45e-05/11.15, allocations: 332.5 kB / 3.932 GB, free: 194 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002447/11.15, allocations: 455.9 kB / 3.933 GB, free: 193.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00265/11.16, allocations: 0.7833 MB / 3.934 GB, free: 192.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/11.16, allocations: 0.4906 MB / 3.934 GB, free: 192.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/11.16, allocations: 4 kB / 3.934 GB, free: 192.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005793/11.16, allocations: 1.284 MB / 3.935 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/11.16, allocations: 11.94 kB / 3.935 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/11.16, allocations: 8 kB / 3.935 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.46e-05/11.16, allocations: 15.98 kB / 3.935 GB, free: 190.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/11.17, allocations: 266.4 kB / 3.936 GB, free: 190.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/11.17, allocations: 19.92 kB / 3.936 GB, free: 190.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/11.17, allocations: 220.2 kB / 3.936 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/11.17, allocations: 51.97 kB / 3.936 GB, free: 190.4 MB / 0.8855 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.0007256/11.17, allocations: 292.2 kB / 3.936 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/11.17, allocations: 129.3 kB / 3.936 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/11.18, allocations: 1.437 MB / 3.938 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/11.18, allocations: 15.92 kB / 3.938 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/11.18, allocations: 0 / 3.938 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/11.18, allocations: 3.984 kB / 3.938 GB, free: 188.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008235/11.18, allocations: 2.485 MB / 3.94 GB, free: 186 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/11.18, allocations: 4 kB / 3.94 GB, free: 186 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/11.19, allocations: 199.8 kB / 3.94 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/11.19, allocations: 7.938 kB / 3.94 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.566e-05/11.19, allocations: 31.97 kB / 3.94 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.128e-06/11.19, allocations: 4 kB / 3.94 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/11.19, allocations: 7.938 kB / 3.94 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008475/11.19, allocations: 2.039 MB / 3.942 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008022/11.2, allocations: 311.2 kB / 3.943 GB, free: 183.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/11.2, allocations: 19.98 kB / 3.943 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/11.2, allocations: 127.9 kB / 3.943 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/11.2, allocations: 56.44 kB / 3.943 GB, free: 183.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/11.2, allocations: 39.97 kB / 3.943 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001391/11.2, allocations: 0.7681 MB / 3.944 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/11.2, allocations: 0 / 3.944 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001708/11.2, allocations: 395.5 kB / 3.944 GB, free: 182 MB / 0.8855 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.002116/11.2, allocations: 0.8215 MB / 3.945 GB, free: 181.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005511/11.21, allocations: 1.138 MB / 3.946 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/11.21, allocations: 0 / 3.946 GB, free: 180.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002754/11.21, allocations: 0.5993 MB / 3.947 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003824/11.22, allocations: 444.5 kB / 3.947 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007883/11.22, allocations: 2.773 MB / 3.95 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/11.22, allocations: 1.112 MB / 3.951 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001848/11.23, allocations: 254.5 kB / 3.951 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000545/11.23, allocations: 118.4 kB / 3.951 GB, free: 175 MB / 0.8855 GB Notification: Performance of SimCode: time 1.102e-06/11.23, allocations: 0 / 3.951 GB, free: 175 MB / 0.8855 GB Notification: Performance of Templates: time 0.05352/11.28, allocations: 21.43 MB / 3.972 GB, free: 154.2 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)