Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.024/2.024, allocations: 292.6 MB / 307.5 MB, free: 5.172 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.001425/0.001425, allocations: 181 kB / 377.1 MB, free: 1.535 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.463/1.463, allocations: 205.4 MB / 0.6367 GB, free: 8.602 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.0008506/0.0008503, allocations: 88 kB / 0.751 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 16 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2353, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.631/4.866, allocations: 2.069 GB / 3.057 GB, free: 151.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/4.866, allocations: 88.75 kB / 3.057 GB, free: 151.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.597/7.464, allocations: 0.6812 GB / 3.738 GB, free: 153.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.773e-06/7.464, allocations: 4 kB / 3.738 GB, free: 153.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000219/7.464, allocations: 43.84 kB / 3.739 GB, free: 153.1 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.008454/7.473, allocations: 1.951 MB / 3.74 GB, free: 152 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/7.473, allocations: 18.78 kB / 3.74 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/7.479, allocations: 0.8796 MB / 3.741 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004921/7.484, allocations: 1.118 MB / 3.742 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/7.484, allocations: 69.25 kB / 3.742 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005316/7.484, allocations: 98.75 kB / 3.743 GB, free: 151.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004563/7.489, allocations: 1.533 MB / 3.744 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/7.489, allocations: 3.094 kB / 3.744 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/7.489, allocations: 36.12 kB / 3.744 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.603e-05/7.489, allocations: 47.53 kB / 3.744 GB, free: 150.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005051/7.494, allocations: 1.797 MB / 3.746 GB, free: 150.2 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.01029/7.505, allocations: 4.798 MB / 3.751 GB, free: 147.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004501/7.509, allocations: 1.578 MB / 3.752 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/7.511, allocations: 0.9435 MB / 3.753 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002493/7.513, allocations: 0.9026 MB / 3.754 GB, free: 145.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 7.534e-06/7.513, allocations: 0 / 3.754 GB, free: 145.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.007966/7.521, allocations: 2.423 MB / 3.756 GB, free: 145.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/7.521, allocations: 67.78 kB / 3.756 GB, free: 145 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/7.524, allocations: 1.07 MB / 3.757 GB, free: 144.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002119/7.524, allocations: 49.52 kB / 3.757 GB, free: 144.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000623/7.525, allocations: 0.5531 MB / 3.758 GB, free: 144.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003767/7.525, allocations: 333.3 kB / 3.758 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/7.525, allocations: 19.91 kB / 3.758 GB, free: 143.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001076/7.525, allocations: 341.2 kB / 3.759 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/7.527, allocations: 0.6914 MB / 3.759 GB, free: 143.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/7.529, allocations: 0.9627 MB / 3.76 GB, free: 142.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/7.531, allocations: 0.7297 MB / 3.761 GB, free: 142.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/7.531, allocations: 3.969 kB / 3.761 GB, free: 142.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004688/7.536, allocations: 1.764 MB / 3.763 GB, free: 142.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/7.536, allocations: 7.812 kB / 3.763 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/7.536, allocations: 3.906 kB / 3.763 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/7.536, allocations: 11.69 kB / 3.763 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/7.538, allocations: 340.6 kB / 3.763 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/7.538, allocations: 14.03 kB / 3.763 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/7.54, allocations: 260.4 kB / 3.763 GB, free: 142 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/7.54, allocations: 49.12 kB / 3.763 GB, free: 142 MB / 0.948 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.0008411/7.541, allocations: 346.7 kB / 3.764 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000274/7.541, allocations: 140 kB / 3.764 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/7.546, allocations: 1.839 MB / 3.766 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/7.546, allocations: 9.438 kB / 3.766 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/7.546, allocations: 0 / 3.766 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/7.546, allocations: 3.844 kB / 3.766 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00754/7.553, allocations: 3.42 MB / 3.769 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/7.554, allocations: 11 kB / 3.769 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/7.555, allocations: 303 kB / 3.769 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/7.555, allocations: 11.42 kB / 3.769 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.907e-05/7.555, allocations: 27.16 kB / 3.769 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/7.555, allocations: 14.98 kB / 3.769 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/7.555, allocations: 7.469 kB / 3.769 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006815/7.562, allocations: 3.072 MB / 3.772 GB, free: 138.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/7.563, allocations: 362.5 kB / 3.773 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000435/7.564, allocations: 26.16 kB / 3.773 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/7.565, allocations: 182.8 kB / 3.773 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/7.566, allocations: 71.55 kB / 3.773 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.655e-05/7.566, allocations: 40.7 kB / 3.773 GB, free: 138.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001277/7.567, allocations: 0.8419 MB / 3.774 GB, free: 137.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.567, allocations: 0 / 3.774 GB, free: 137.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002191/7.569, allocations: 0.516 MB / 3.774 GB, free: 137.6 MB / 0.948 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.00346/7.573, allocations: 2.029 MB / 3.776 GB, free: 136.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004431/7.577, allocations: 1.615 MB / 3.778 GB, free: 136.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/7.577, allocations: 0 / 3.778 GB, free: 136.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/7.579, allocations: 0.8344 MB / 3.779 GB, free: 136.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/7.582, allocations: 0.5903 MB / 3.779 GB, free: 135.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006331/7.589, allocations: 3.44 MB / 3.783 GB, free: 134.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007102/7.589, allocations: 1.221 MB / 3.784 GB, free: 133.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002067/7.592, allocations: 374.8 kB / 3.784 GB, free: 133.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005134/7.592, allocations: 124 kB / 3.784 GB, free: 133.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.904e-06/7.592, allocations: 3.938 kB / 3.784 GB, free: 133.1 MB / 0.948 GB Notification: Performance of Templates: time 0.06667/7.659, allocations: 42.99 MB / 3.826 GB, free: 95.82 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)