Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.7905/0.7905, allocations: 94.77 MB / 102.2 MB, free: 14.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001759/0.001759, allocations: 179 kB / 125.6 MB, free: 7.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.783/1.783, allocations: 170.6 MB / 319.4 MB, free: 1.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001746/0.001746, allocations: 111.2 kB / 381.4 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.118e-05, allocations: 4 kB / 449.1 MB, free: 44.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1625, allocations: 61.52 MB / 0.4987 GB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.664/1.826, allocations: 451.6 MB / 0.9397 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.826, allocations: 95.52 kB / 0.9398 GB, free: 196.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9226/2.749, allocations: 295.4 MB / 1.228 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.114e-06/2.749, allocations: 0 / 1.228 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002218/2.749, allocations: 39.22 kB / 1.228 GB, free: 121.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.0039/2.753, allocations: 1.37 MB / 1.23 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/2.753, allocations: 13.86 kB / 1.23 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009725/2.754, allocations: 166.4 kB / 1.23 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/2.757, allocations: 1.151 MB / 1.231 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.378e-05/2.757, allocations: 19.41 kB / 1.231 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/2.757, allocations: 48.27 kB / 1.231 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/2.759, allocations: 0.6653 MB / 1.232 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/2.76, allocations: 0.7892 MB / 1.232 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/2.76, allocations: 7.781 kB / 1.232 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/2.76, allocations: 2.969 kB / 1.232 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/2.76, allocations: 14.88 kB / 1.232 GB, free: 118.9 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.005444/2.766, allocations: 3.861 MB / 1.236 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009025/2.767, allocations: 0.5561 MB / 1.237 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/2.767, allocations: 301.5 kB / 1.237 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/2.767, allocations: 177.1 kB / 1.237 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/2.767, allocations: 38.75 kB / 1.237 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001046/2.768, allocations: 174.6 kB / 1.237 GB, free: 115 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 4.538e-06/2.768, allocations: 3.719 kB / 1.237 GB, free: 115 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.002618/2.771, allocations: 0.8856 MB / 1.238 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/2.771, allocations: 299.6 kB / 1.239 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/2.773, allocations: 1.113 MB / 1.24 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/2.773, allocations: 25.7 kB / 1.24 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004566/2.773, allocations: 0.5953 MB / 1.24 GB, free: 113 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/2.774, allocations: 161.3 kB / 1.24 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/2.774, allocations: 3.531 kB / 1.24 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000112/2.774, allocations: 333.8 kB / 1.241 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/2.774, allocations: 304 kB / 1.241 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/2.775, allocations: 0.5514 MB / 1.242 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/2.776, allocations: 493.4 kB / 1.242 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/2.776, allocations: 4 kB / 1.242 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003342/2.78, allocations: 1.252 MB / 1.243 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002822/2.78, allocations: 1.518 MB / 1.245 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/2.78, allocations: 11.11 kB / 1.245 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/2.783, allocations: 468.2 kB / 1.245 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/2.783, allocations: 167.8 kB / 1.245 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/2.785, allocations: 1.005 MB / 1.246 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/2.786, allocations: 83.84 kB / 1.246 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/2.786, allocations: 47.97 kB / 1.246 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/2.786, allocations: 4 kB / 1.246 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/2.787, allocations: 0.7434 MB / 1.247 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/2.787, allocations: 16.08 kB / 1.247 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/2.787, allocations: 8 kB / 1.247 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/2.788, allocations: 183.7 kB / 1.247 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/2.788, allocations: 7.938 kB / 1.247 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/2.789, allocations: 83.59 kB / 1.248 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/2.789, allocations: 47.97 kB / 1.248 GB, free: 105.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 64 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.00019/2.789, allocations: 126.2 kB / 1.248 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/2.79, allocations: 122.5 kB / 1.248 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/2.792, allocations: 1.025 MB / 1.249 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/2.792, allocations: 8 kB / 1.249 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.792, allocations: 3.562 kB / 1.249 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/2.792, allocations: 3.984 kB / 1.249 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/2.795, allocations: 1.94 MB / 1.251 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/2.795, allocations: 4 kB / 1.251 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004608/2.796, allocations: 107.9 kB / 1.251 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/2.797, allocations: 289.2 kB / 1.251 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/2.797, allocations: 15.98 kB / 1.251 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/2.798, allocations: 0.8698 MB / 1.252 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/2.798, allocations: 0 / 1.252 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/2.801, allocations: 1.428 MB / 1.253 GB, free: 99.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004265/2.801, allocations: 243.4 kB / 1.254 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/2.801, allocations: 7.984 kB / 1.254 GB, free: 99.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008351/2.802, allocations: 51.86 kB / 1.254 GB, free: 99.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/2.802, allocations: 48.44 kB / 1.254 GB, free: 99.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/2.802, allocations: 31.47 kB / 1.254 GB, free: 99.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001088/2.803, allocations: 0.8523 MB / 1.255 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/2.803, allocations: 0 / 1.255 GB, free: 98.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001936/2.805, allocations: 0.6433 MB / 1.255 GB, free: 97.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008353/2.806, allocations: 452 kB / 1.256 GB, free: 97.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001713/2.808, allocations: 1.255 MB / 1.257 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.808, allocations: 4.062 kB / 1.257 GB, free: 96.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/2.808, allocations: 329.9 kB / 1.257 GB, free: 95.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/2.81, allocations: 418.1 kB / 1.258 GB, free: 95.42 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/2.813, allocations: 1.522 MB / 1.259 GB, free: 93.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/2.813, allocations: 1.158 MB / 1.26 GB, free: 92.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001527/2.815, allocations: 378.9 kB / 1.261 GB, free: 92.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/2.815, allocations: 79.34 kB / 1.261 GB, free: 92.25 MB / 0.5261 GB Notification: Performance of SimCode: time 5.41e-07/2.815, allocations: 4 kB / 1.261 GB, free: 92.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.03658/2.852, allocations: 25.16 MB / 1.285 GB, free: 67.48 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)