Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.517/2.517, allocations: 287.5 MB / 303.2 MB, free: 8.176 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.001372/0.001372, allocations: 186.6 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009449/0.0009448, allocations: 99.41 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006275/0.0006277, allocations: 11.88 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2091, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.472/6.681, allocations: 2.085 GB / 3.064 GB, free: 234.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/6.681, allocations: 105.2 kB / 3.064 GB, free: 234 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.898/10.58, allocations: 0.7427 GB / 3.807 GB, free: 188.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.057e-06/10.58, allocations: 0 / 3.807 GB, free: 188.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003789/10.58, allocations: 42.42 kB / 3.807 GB, free: 188.7 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.01405/10.59, allocations: 2.079 MB / 3.809 GB, free: 187.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/10.59, allocations: 6.5 kB / 3.809 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007906/10.6, allocations: 300.1 kB / 3.809 GB, free: 187.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00808/10.61, allocations: 1.435 MB / 3.811 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/10.61, allocations: 61.12 kB / 3.811 GB, free: 186.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003884/10.61, allocations: 82.25 kB / 3.811 GB, free: 186.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004213/10.61, allocations: 0.9609 MB / 3.812 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.056e-05/10.61, allocations: 3.938 kB / 3.812 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/10.62, allocations: 26.47 kB / 3.812 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/10.62, allocations: 16.22 kB / 3.812 GB, free: 186.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004544/10.62, allocations: 0.8703 MB / 3.813 GB, free: 185.9 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.01503/10.63, allocations: 3.575 MB / 3.816 GB, free: 184 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00381/10.64, allocations: 0.7962 MB / 3.817 GB, free: 183.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/10.64, allocations: 469.2 kB / 3.817 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000765/10.64, allocations: 290.9 kB / 3.818 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/10.64, allocations: 38.94 kB / 3.818 GB, free: 183.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004406/10.65, allocations: 339.7 kB / 3.818 GB, free: 183 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 7.765e-06/10.65, allocations: 0 / 3.818 GB, free: 183 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.007844/10.65, allocations: 1.342 MB / 3.819 GB, free: 182.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/10.65, allocations: 217.5 kB / 3.819 GB, free: 182.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006626/10.66, allocations: 1.622 MB / 3.821 GB, free: 181.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004646/10.66, allocations: 44.86 kB / 3.821 GB, free: 181.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009641/10.66, allocations: 0.5585 MB / 3.822 GB, free: 180.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/10.66, allocations: 181.4 kB / 3.822 GB, free: 180.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/10.66, allocations: 10.81 kB / 3.822 GB, free: 180.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/10.66, allocations: 328.9 kB / 3.822 GB, free: 180.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/10.67, allocations: 389.6 kB / 3.822 GB, free: 180 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/10.67, allocations: 0.7047 MB / 3.823 GB, free: 179.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/10.67, allocations: 0.8337 MB / 3.824 GB, free: 179 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/10.67, allocations: 0 / 3.824 GB, free: 179 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.005636/10.68, allocations: 1.053 MB / 3.825 GB, free: 178.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.506e-05/10.68, allocations: 103.7 kB / 3.825 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-05/10.68, allocations: 9.047 kB / 3.825 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/10.68, allocations: 4.438 kB / 3.825 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/10.68, allocations: 160.3 kB / 3.825 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/10.68, allocations: 3.875 kB / 3.825 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/10.68, allocations: 151.9 kB / 3.825 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003663/10.68, allocations: 53.28 kB / 3.825 GB, free: 178.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/10.68, allocations: 3.875 kB / 3.825 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004479/10.69, allocations: 0.8925 MB / 3.826 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.909e-05/10.69, allocations: 7.172 kB / 3.826 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/10.69, allocations: 6.562 kB / 3.826 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/10.69, allocations: 163.5 kB / 3.826 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/10.69, allocations: 0 / 3.826 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004746/10.7, allocations: 153.2 kB / 3.827 GB, free: 177.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/10.7, allocations: 40.08 kB / 3.827 GB, free: 177.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.001361/10.7, allocations: 386.8 kB / 3.827 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008122/10.7, allocations: 137.6 kB / 3.827 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005419/10.7, allocations: 1.065 MB / 3.828 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/10.7, allocations: 7.469 kB / 3.828 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/10.7, allocations: 0 / 3.828 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/10.7, allocations: 3.984 kB / 3.828 GB, free: 176.7 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 postOpt removeSimpleEquations (simulation): time 0.01051/10.72, allocations: 2.535 MB / 3.831 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/10.72, allocations: 3.938 kB / 3.831 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002175/10.72, allocations: 137.7 kB / 3.831 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.596e-05/10.72, allocations: 6.25 kB / 3.831 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/10.72, allocations: 19.75 kB / 3.831 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/10.72, allocations: 11.56 kB / 3.831 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/10.72, allocations: 3.984 kB / 3.831 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006668/10.72, allocations: 1.57 MB / 3.832 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/10.73, allocations: 371.5 kB / 3.833 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000635/10.73, allocations: 26.16 kB / 3.833 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003621/10.73, allocations: 102.1 kB / 3.833 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/10.73, allocations: 40.66 kB / 3.833 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/10.73, allocations: 31.64 kB / 3.833 GB, free: 173.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004684/10.74, allocations: 1.167 MB / 3.834 GB, free: 172.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.82e-07/10.74, allocations: 0 / 3.834 GB, free: 172.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00517/10.74, allocations: 0.7287 MB / 3.835 GB, free: 172.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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 Backend phase and start with SimCode phase: time 0.004913/10.75, allocations: 1.923 MB / 3.837 GB, free: 171.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007037/10.75, allocations: 1.429 MB / 3.838 GB, free: 171.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/10.75, allocations: 0 / 3.838 GB, free: 171.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002124/10.76, allocations: 432.1 kB / 3.838 GB, free: 171 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009946/10.77, allocations: 0.5862 MB / 3.839 GB, free: 170.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/10.77, allocations: 2.517 MB / 3.841 GB, free: 169 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008201/10.77, allocations: 1.165 MB / 3.843 GB, free: 167.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002905/10.77, allocations: 376.9 kB / 3.843 GB, free: 167.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/10.78, allocations: 139.3 kB / 3.843 GB, free: 167.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.333e-06/10.78, allocations: 0 / 3.843 GB, free: 167.3 MB / 0.948 GB Notification: Performance of Templates: time 0.1277/10.9, allocations: 48.4 MB / 3.89 GB, free: 119.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)