Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.315/2.315, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.002478/0.002478, allocations: 179.8 kB / 326.2 MB, free: 2.859 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.637/2.637, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.0009797/0.0009793, allocations: 83.86 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000701/0.0007012, allocations: 11.91 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2319, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.382/7.614, allocations: 2.186 GB / 3.085 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/7.615, allocations: 93.22 kB / 3.085 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.03/10.64, allocations: 0.6576 GB / 3.743 GB, free: 17.08 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.026e-06/10.64, allocations: 0 / 3.743 GB, free: 17.08 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002092/10.64, allocations: 39.98 kB / 3.743 GB, free: 17.04 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.01597/10.66, allocations: 1.957 MB / 3.745 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/10.66, allocations: 8.031 kB / 3.745 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/10.67, allocations: 0.8731 MB / 3.746 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007597/10.68, allocations: 1.123 MB / 3.747 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/10.68, allocations: 70.38 kB / 3.747 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004787/10.68, allocations: 96.36 kB / 3.747 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009174/10.69, allocations: 1.548 MB / 3.749 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.532e-05/10.69, allocations: 11.88 kB / 3.749 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/10.69, allocations: 32 kB / 3.749 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001125/10.69, allocations: 45.98 kB / 3.749 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/10.71, allocations: 1.784 MB / 3.75 GB, free: 9.352 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.01793/10.72, allocations: 4.816 MB / 3.755 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/10.74, allocations: 1.575 MB / 3.757 GB, free: 2.723 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006139/10.74, allocations: 0.839 MB / 3.758 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00247/10.74, allocations: 0.9374 MB / 3.758 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.7795/11.52, allocations: 0.8988 MB / 3.759 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=95): time 5.841e-06/11.52, allocations: 3.75 kB / 3.759 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.01385/11.54, allocations: 2.427 MB / 3.762 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/11.54, allocations: 63.16 kB / 3.762 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/11.54, allocations: 1.212 MB / 3.763 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003482/11.54, allocations: 46.16 kB / 3.763 GB, free: 179.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006472/11.54, allocations: 0.5516 MB / 3.764 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005049/11.54, allocations: 328 kB / 3.764 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/11.54, allocations: 19.94 kB / 3.764 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001132/11.54, allocations: 342 kB / 3.764 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004243/11.55, allocations: 0.6939 MB / 3.765 GB, free: 178.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004519/11.55, allocations: 0.959 MB / 3.766 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004366/11.56, allocations: 0.7302 MB / 3.767 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/11.56, allocations: 1.781 kB / 3.767 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01002/11.57, allocations: 1.767 MB / 3.768 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/11.57, allocations: 9.625 kB / 3.768 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/11.57, allocations: 4.312 kB / 3.768 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.814e-05/11.57, allocations: 12.22 kB / 3.768 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003698/11.57, allocations: 344 kB / 3.769 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.052e-05/11.57, allocations: 10.62 kB / 3.769 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003703/11.57, allocations: 263.4 kB / 3.769 GB, free: 178.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004485/11.57, allocations: 49.33 kB / 3.769 GB, free: 178.2 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.00152/11.58, allocations: 343 kB / 3.769 GB, free: 178 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006695/11.58, allocations: 136.2 kB / 3.769 GB, free: 178 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/11.59, allocations: 1.841 MB / 3.771 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/11.59, allocations: 8.938 kB / 3.771 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/11.59, allocations: 1.938 kB / 3.771 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/11.59, allocations: 7.453 kB / 3.771 GB, free: 177.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/11.61, allocations: 3.41 MB / 3.775 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/11.61, allocations: 6.562 kB / 3.775 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004197/11.61, allocations: 299.2 kB / 3.775 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.276e-05/11.61, allocations: 7.594 kB / 3.775 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002634/11.61, allocations: 33.23 kB / 3.775 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.735e-05/11.61, allocations: 9.844 kB / 3.775 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/11.61, allocations: 7.344 kB / 3.775 GB, free: 177.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/11.63, allocations: 2.864 MB / 3.778 GB, free: 177 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001601/11.63, allocations: 357.9 kB / 3.778 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004747/11.63, allocations: 27.83 kB / 3.778 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003499/11.63, allocations: 176.9 kB / 3.778 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/11.63, allocations: 73.88 kB / 3.778 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/11.64, allocations: 45.59 kB / 3.778 GB, free: 176.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002701/11.64, allocations: 0.8362 MB / 3.779 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.71e-07/11.64, allocations: 7.281 kB / 3.779 GB, free: 176.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004157/11.64, allocations: 0.511 MB / 3.78 GB, free: 176.8 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.006133/11.65, allocations: 2.03 MB / 3.782 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01098/11.66, allocations: 1.614 MB / 3.783 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/11.66, allocations: 0 / 3.783 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005549/11.67, allocations: 0.8395 MB / 3.784 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007289/11.67, allocations: 0.5998 MB / 3.785 GB, free: 176.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/11.69, allocations: 3.451 MB / 3.788 GB, free: 175 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/11.69, allocations: 1.192 MB / 3.789 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004193/11.69, allocations: 379.1 kB / 3.79 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/11.69, allocations: 116.2 kB / 3.79 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.393e-06/11.69, allocations: 0 / 3.79 GB, free: 174.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.1328/11.83, allocations: 43.03 MB / 3.832 GB, free: 173.2 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)