Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.269/1.269, allocations: 252 MB / 267.9 MB, free: 10.93 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.0009476/0.0009476, allocations: 178.1 kB / 327.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 0.5785 GB, free: 20.52 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.0008243/0.0008245, allocations: 87.78 kB / 0.6831 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003297, allocations: 16.56 kB / 0.7974 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1651, allocations: 106.3 MB / 0.9012 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.592/3.757, allocations: 2.186 GB / 3.087 GB, free: 34.55 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/3.757, allocations: 93.5 kB / 3.088 GB, free: 34.46 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.917/5.674, allocations: 0.6576 GB / 3.745 GB, free: 61.86 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.593e-06/5.674, allocations: 0 / 3.745 GB, free: 61.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001945/5.674, allocations: 47.92 kB / 3.745 GB, free: 61.81 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006939/5.681, allocations: 1.942 MB / 3.747 GB, free: 59.81 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/5.681, allocations: 15.97 kB / 3.747 GB, free: 59.79 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004728/5.686, allocations: 0.8692 MB / 3.748 GB, free: 58.92 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/5.69, allocations: 1.161 MB / 3.749 GB, free: 57.71 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.292e-05/5.69, allocations: 70.38 kB / 3.749 GB, free: 57.64 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/5.69, allocations: 100.4 kB / 3.749 GB, free: 57.54 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/5.694, allocations: 1.541 MB / 3.751 GB, free: 55.97 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/5.694, allocations: 3.938 kB / 3.751 GB, free: 55.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/5.694, allocations: 32 kB / 3.751 GB, free: 55.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.582e-05/5.694, allocations: 53.98 kB / 3.751 GB, free: 55.88 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004381/5.698, allocations: 1.791 MB / 3.753 GB, free: 54.09 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.007807/5.706, allocations: 4.812 MB / 3.757 GB, free: 49.05 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/5.71, allocations: 1.572 MB / 3.759 GB, free: 47.46 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/5.712, allocations: 0.8372 MB / 3.76 GB, free: 46.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009975/5.713, allocations: 0.9452 MB / 3.761 GB, free: 45.49 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001923/5.715, allocations: 0.895 MB / 3.761 GB, free: 44.59 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=95): time 4.288e-06/5.715, allocations: 3.938 kB / 3.761 GB, free: 44.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.006491/5.721, allocations: 2.431 MB / 3.764 GB, free: 42.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/5.721, allocations: 64.41 kB / 3.764 GB, free: 42.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/5.723, allocations: 1.213 MB / 3.765 GB, free: 40.85 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001489/5.723, allocations: 53.64 kB / 3.765 GB, free: 40.79 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/5.724, allocations: 0.545 MB / 3.766 GB, free: 40.24 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000266/5.724, allocations: 327.3 kB / 3.766 GB, free: 39.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/5.724, allocations: 24 kB / 3.766 GB, free: 39.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.143e-05/5.724, allocations: 341.9 kB / 3.766 GB, free: 39.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/5.726, allocations: 0.6928 MB / 3.767 GB, free: 38.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/5.728, allocations: 0.9588 MB / 3.768 GB, free: 37.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003409/5.731, allocations: 1.55 MB / 3.769 GB, free: 36.19 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/5.731, allocations: 0 / 3.769 GB, free: 36.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004273/5.735, allocations: 1.76 MB / 3.771 GB, free: 34.42 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/5.736, allocations: 8 kB / 3.771 GB, free: 34.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/5.736, allocations: 4 kB / 3.771 GB, free: 34.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/5.736, allocations: 8 kB / 3.771 GB, free: 34.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/5.737, allocations: 343.9 kB / 3.771 GB, free: 34.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.289e-05/5.737, allocations: 8 kB / 3.771 GB, free: 34.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/5.739, allocations: 270.7 kB / 3.772 GB, free: 33.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/5.739, allocations: 51.97 kB / 3.772 GB, free: 33.74 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0007332/5.74, allocations: 344.2 kB / 3.772 GB, free: 33.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/5.74, allocations: 138.3 kB / 3.772 GB, free: 33.26 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/5.745, allocations: 1.831 MB / 3.774 GB, free: 31.42 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/5.745, allocations: 12 kB / 3.774 GB, free: 31.41 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/5.745, allocations: 0 / 3.774 GB, free: 31.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/5.745, allocations: 7.922 kB / 3.774 GB, free: 31.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006972/5.752, allocations: 3.419 MB / 3.777 GB, free: 27.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/5.752, allocations: 4 kB / 3.777 GB, free: 27.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/5.753, allocations: 300 kB / 3.778 GB, free: 27.58 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/5.753, allocations: 8 kB / 3.778 GB, free: 27.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/5.753, allocations: 35.97 kB / 3.778 GB, free: 27.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/5.753, allocations: 4 kB / 3.778 GB, free: 27.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/5.753, allocations: 15.94 kB / 3.778 GB, free: 27.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006269/5.76, allocations: 2.862 MB / 3.781 GB, free: 24.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008653/5.761, allocations: 359.1 kB / 3.781 GB, free: 24.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004037/5.761, allocations: 27.98 kB / 3.781 GB, free: 24.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/5.763, allocations: 175.8 kB / 3.781 GB, free: 24.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/5.763, allocations: 76.77 kB / 3.781 GB, free: 23.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/5.763, allocations: 43.97 kB / 3.781 GB, free: 23.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001236/5.764, allocations: 0.8357 MB / 3.782 GB, free: 23.06 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.1e-07/5.764, allocations: 0 / 3.782 GB, free: 23.06 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002207/5.766, allocations: 0.5152 MB / 3.783 GB, free: 22.54 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003283/5.77, allocations: 2.019 MB / 3.784 GB, free: 20.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003937/5.774, allocations: 1.614 MB / 3.786 GB, free: 18.99 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/5.774, allocations: 4.062 kB / 3.786 GB, free: 18.99 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/5.776, allocations: 0.8417 MB / 3.787 GB, free: 18.15 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/5.779, allocations: 0.5992 MB / 3.787 GB, free: 17.55 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/5.785, allocations: 3.455 MB / 3.791 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/5.786, allocations: 1.191 MB / 3.792 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001824/5.788, allocations: 373.9 kB / 3.792 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/5.788, allocations: 123.4 kB / 3.792 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of SimCode: time 7.62e-07/5.788, allocations: 0 / 3.792 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of Templates: time 0.4791/6.267, allocations: 43.38 MB / 3.835 GB, free: 174.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)