Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.926/1.926, allocations: 288.2 MB / 303.2 MB, free: 8.137 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.0013/0.0013, allocations: 181 kB / 371.8 MB, free: 10.29 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.652/1.652, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009436/0.0009435, allocations: 97.27 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.000382, allocations: 11.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2105, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.689/0.8995, allocations: 164.8 MB / 1.14 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02164/0.9213, allocations: 8.409 MB / 1.149 GB, free: 10.89 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/0.9243, allocations: 39.16 kB / 1.149 GB, free: 10.87 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003643/0.9279, allocations: 0.7908 MB / 1.149 GB, free: 10.22 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008179/0.9362, allocations: 1.748 MB / 1.151 GB, free: 8.797 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01267/0.9488, allocations: 2.755 MB / 1.154 GB, free: 6.988 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006036/0.9549, allocations: 1.7 MB / 1.155 GB, free: 5.859 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002603/0.9575, allocations: 1.156 MB / 1.157 GB, free: 5.109 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.9613, allocations: 1.111 MB / 1.158 GB, free: 4.438 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.9635, allocations: 0.8488 MB / 1.159 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.9639, allocations: 76.62 kB / 1.159 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003317/0.9672, allocations: 0.8286 MB / 1.159 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006744/0.9679, allocations: 421.8 kB / 1.16 GB, free: 3.246 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006443/0.9685, allocations: 283.2 kB / 1.16 GB, free: 3.078 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003304/0.9719, allocations: 1.941 MB / 1.162 GB, free: 1.699 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9719, allocations: 0 / 1.162 GB, free: 1.699 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9719, allocations: 1.375 kB / 1.162 GB, free: 1.699 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.884e-05/0.9719, allocations: 0 / 1.162 GB, free: 1.699 MB / 0.698 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.007442/0.9794, allocations: 1.882 MB / 1.164 GB, free: 356 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.9794, allocations: 9.156 kB / 1.164 GB, free: 356 kB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002782/0.9797, allocations: 109.3 kB / 1.164 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.9815, allocations: 231.2 kB / 1.164 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.9843, allocations: 1.283 MB / 1.165 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.9845, allocations: 65.17 kB / 1.165 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.9847, allocations: 84.36 kB / 1.166 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.9863, allocations: 0.9197 MB / 1.166 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.9864, allocations: 0 / 1.166 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/0.9865, allocations: 34.45 kB / 1.166 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.9865, allocations: 19.88 kB / 1.166 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.9882, allocations: 0.8492 MB / 1.167 GB, free: 14.14 MB / 0.7136 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.006071/0.9943, allocations: 3.496 MB / 1.171 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.9957, allocations: 0.8023 MB / 1.172 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.686e-05/0.9958, allocations: 22.58 kB / 1.172 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.9958, allocations: 40.31 kB / 1.172 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00112/0.997, allocations: 239.8 kB / 1.172 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 3.537e-06/0.997, allocations: 2.469 kB / 1.172 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.002894/0.9999, allocations: 1.345 MB / 1.173 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/1, allocations: 211 kB / 1.173 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/1.003, allocations: 1.665 MB / 1.175 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/1.003, allocations: 46.2 kB / 1.175 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005117/1.003, allocations: 0.5499 MB / 1.176 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/1.003, allocations: 188.6 kB / 1.176 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/1.004, allocations: 6.906 kB / 1.176 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.004, allocations: 330.1 kB / 1.176 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007498/1.004, allocations: 388.7 kB / 1.176 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/1.005, allocations: 0.6911 MB / 1.177 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008485/1.006, allocations: 465.4 kB / 1.178 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.006, allocations: 2.875 kB / 1.178 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002155/1.009, allocations: 1.057 MB / 1.179 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.122e-05/1.009, allocations: 95.19 kB / 1.179 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/1.009, allocations: 10.27 kB / 1.179 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/1.009, allocations: 2.281 kB / 1.179 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/1.009, allocations: 167.3 kB / 1.179 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/1.01, allocations: 6.906 kB / 1.179 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/1.011, allocations: 157.3 kB / 1.179 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/1.011, allocations: 34.86 kB / 1.179 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.108e-06/1.011, allocations: 4.219 kB / 1.179 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001659/1.013, allocations: 0.8947 MB / 1.18 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.013, allocations: 2.375 kB / 1.18 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/1.013, allocations: 6.828 kB / 1.18 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/1.014, allocations: 164.7 kB / 1.18 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/1.014, allocations: 2.031 kB / 1.18 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/1.016, allocations: 163 kB / 1.18 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/1.016, allocations: 29.91 kB / 1.18 GB, free: 5.656 MB / 0.7136 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.0007211/1.017, allocations: 379.5 kB / 1.181 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/1.017, allocations: 133.1 kB / 1.181 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/1.019, allocations: 1.066 MB / 1.182 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/1.019, allocations: 4.625 kB / 1.182 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.019, allocations: 0 / 1.182 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.019, allocations: 3.984 kB / 1.182 GB, free: 4.684 MB / 0.7136 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.004433/1.024, allocations: 2.481 MB / 1.184 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.024, allocations: 4.875 kB / 1.184 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/1.025, allocations: 130.5 kB / 1.184 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/1.025, allocations: 4.906 kB / 1.184 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/1.025, allocations: 24.42 kB / 1.184 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.025, allocations: 12.84 kB / 1.184 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.025, allocations: 10.73 kB / 1.184 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/1.028, allocations: 1.692 MB / 1.186 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000845/1.028, allocations: 350 kB / 1.186 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/1.029, allocations: 15.06 kB / 1.186 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.03, allocations: 105.5 kB / 1.186 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.03, allocations: 43.75 kB / 1.187 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/1.03, allocations: 22.98 kB / 1.187 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001962/1.032, allocations: 1.197 MB / 1.188 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/1.032, allocations: 4 kB / 1.188 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001757/1.034, allocations: 0.5457 MB / 1.188 GB, free: 0.6406 MB / 0.7136 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.0038/1.038, allocations: 3.003 MB / 1.191 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002825/1.041, allocations: 1.446 MB / 1.193 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.041, allocations: 0 / 1.193 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008045/1.041, allocations: 434.7 kB / 1.193 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.045, allocations: 0.5856 MB / 1.194 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/1.049, allocations: 3.166 MB / 1.197 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/1.05, allocations: 1.192 MB / 1.198 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001618/1.052, allocations: 385.6 kB / 1.198 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008217/1.053, allocations: 0.5305 MB / 1.199 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/1.053, allocations: 0 / 1.199 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06843/1.121, allocations: 38.42 MB / 1.236 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/1.121, allocations: 244.5 kB / 1.236 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.387/4.508, allocations: 0 / 1.236 GB, free: 0.5938 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)