Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 293 MB / 309 MB, free: 4.852 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.001001/0.001001, allocations: 180.5 kB / 378.7 MB, free: 1.031 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.367/1.367, allocations: 205.4 MB / 0.6383 GB, free: 9.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00096/0.00096, allocations: 90.86 kB / 0.7527 GB, free: 62.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004581, allocations: 15.98 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2521, allocations: 116.4 MB / 0.9904 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.879/5.131, allocations: 2.319 GB / 3.309 GB, free: 271.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/5.131, allocations: 87.94 kB / 3.309 GB, free: 271.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.503/6.634, allocations: 0.5978 GB / 3.907 GB, free: 38.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.633e-06/6.634, allocations: 4 kB / 3.907 GB, free: 38.18 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001622/6.634, allocations: 43.97 kB / 3.907 GB, free: 38.14 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.003421/6.638, allocations: 1.526 MB / 3.909 GB, free: 36.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/6.638, allocations: 8.031 kB / 3.909 GB, free: 36.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002844/6.64, allocations: 0.5807 MB / 3.909 GB, free: 35.96 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/6.643, allocations: 0.9736 MB / 3.91 GB, free: 34.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/6.643, allocations: 66.38 kB / 3.91 GB, free: 34.87 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/6.643, allocations: 76.38 kB / 3.91 GB, free: 34.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/6.645, allocations: 1.098 MB / 3.911 GB, free: 33.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/6.645, allocations: 7.938 kB / 3.911 GB, free: 33.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/6.645, allocations: 35.98 kB / 3.911 GB, free: 33.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/6.645, allocations: 20 kB / 3.911 GB, free: 33.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/6.648, allocations: 0.9963 MB / 3.912 GB, free: 32.56 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.00517/6.653, allocations: 4.976 MB / 3.917 GB, free: 27.31 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/6.655, allocations: 0.9576 MB / 3.918 GB, free: 26.34 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/6.657, allocations: 494.1 kB / 3.919 GB, free: 25.85 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009716/6.658, allocations: 1.596 MB / 3.92 GB, free: 23.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/6.659, allocations: 0.5807 MB / 3.921 GB, free: 23.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.236e-06/6.659, allocations: 0 / 3.921 GB, free: 23.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.004044/6.663, allocations: 1.512 MB / 3.922 GB, free: 21.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/6.663, allocations: 63.97 kB / 3.922 GB, free: 21.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/6.665, allocations: 1.121 MB / 3.923 GB, free: 20.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/6.665, allocations: 45.7 kB / 3.923 GB, free: 20.53 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/6.665, allocations: 0.5512 MB / 3.924 GB, free: 19.97 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/6.665, allocations: 217 kB / 3.924 GB, free: 19.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/6.665, allocations: 16 kB / 3.924 GB, free: 19.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.2e-05/6.665, allocations: 333.9 kB / 3.924 GB, free: 19.41 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/6.667, allocations: 453.7 kB / 3.925 GB, free: 18.97 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/6.668, allocations: 0.7737 MB / 3.926 GB, free: 18.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/6.67, allocations: 1.132 MB / 3.927 GB, free: 16.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/6.67, allocations: 8 kB / 3.927 GB, free: 16.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003105/6.673, allocations: 1.29 MB / 3.928 GB, free: 15.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/6.673, allocations: 11.94 kB / 3.928 GB, free: 15.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/6.673, allocations: 8 kB / 3.928 GB, free: 15.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/6.674, allocations: 12 kB / 3.928 GB, free: 15.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/6.675, allocations: 271.7 kB / 3.928 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/6.675, allocations: 15.94 kB / 3.928 GB, free: 15.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/6.676, allocations: 218.9 kB / 3.929 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/6.676, allocations: 47.97 kB / 3.929 GB, free: 14.93 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.0006066/6.677, allocations: 295.8 kB / 3.929 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/6.677, allocations: 122.4 kB / 3.929 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/6.68, allocations: 1.432 MB / 3.93 GB, free: 13.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/6.68, allocations: 8 kB / 3.93 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/6.68, allocations: 0 / 3.93 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/6.68, allocations: 3.984 kB / 3.93 GB, free: 13.06 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/6.685, allocations: 2.491 MB / 3.933 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/6.685, allocations: 4.188 kB / 3.933 GB, free: 10.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009166/6.686, allocations: 199.8 kB / 3.933 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/6.686, allocations: 7.984 kB / 3.933 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.838e-05/6.686, allocations: 23.98 kB / 3.933 GB, free: 10.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/6.686, allocations: 11.94 kB / 3.933 GB, free: 10.26 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/6.686, allocations: 4 kB / 3.933 GB, free: 10.26 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004246/6.69, allocations: 2.041 MB / 3.935 GB, free: 8.172 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005724/6.691, allocations: 319.1 kB / 3.935 GB, free: 7.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/6.691, allocations: 16 kB / 3.935 GB, free: 7.824 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009831/6.692, allocations: 135.8 kB / 3.936 GB, free: 7.691 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/6.692, allocations: 52.42 kB / 3.936 GB, free: 7.641 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-05/6.693, allocations: 43.91 kB / 3.936 GB, free: 7.598 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009616/6.693, allocations: 0.772 MB / 3.936 GB, free: 6.82 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.51e-07/6.694, allocations: 0 / 3.936 GB, free: 6.82 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001395/6.695, allocations: 391.5 kB / 3.937 GB, free: 6.438 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.001707/6.697, allocations: 0.8026 MB / 3.938 GB, free: 5.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002773/6.699, allocations: 1.143 MB / 3.939 GB, free: 4.609 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/6.699, allocations: 0 / 3.939 GB, free: 4.609 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/6.701, allocations: 0.6009 MB / 3.939 GB, free: 4.008 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/6.703, allocations: 443.9 kB / 3.94 GB, free: 3.574 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004573/6.708, allocations: 2.759 MB / 3.942 GB, free: 0.7734 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3841/7.092, allocations: 1.111 MB / 3.943 GB, free: 167.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001447/7.093, allocations: 256.8 kB / 3.944 GB, free: 167.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/7.094, allocations: 110 kB / 3.944 GB, free: 167.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.252e-06/7.094, allocations: 0 / 3.944 GB, free: 167.4 MB / 0.948 GB Notification: Performance of Templates: time 0.03616/7.13, allocations: 21.73 MB / 3.965 GB, free: 167 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)