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.466/1.466, allocations: 288.4 MB / 303.6 MB, free: 8.043 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.0008531/0.0008531, allocations: 183.4 kB / 372.3 MB, free: 10.12 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.138/1.138, allocations: 205.4 MB / 0.631 GB, free: 9.934 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.0006575/0.0006576, allocations: 98.8 kB / 0.7444 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 11.56 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1571, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.4852/0.6423, allocations: 180.9 MB / 1.157 GB, free: 6.039 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.6541, allocations: 8.335 MB / 1.165 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.6552, allocations: 40.28 kB / 1.165 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.6565, allocations: 0.5058 MB / 1.165 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.6597, allocations: 1.559 MB / 1.167 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.006334/0.6661, allocations: 2.517 MB / 1.169 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003762/0.6698, allocations: 3.113 MB / 1.173 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001553/0.6714, allocations: 1.255 MB / 1.174 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.6729, allocations: 1.053 MB / 1.175 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.6741, allocations: 1.034 MB / 1.176 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.6743, allocations: 82.11 kB / 1.176 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002663/0.6769, allocations: 1.59 MB / 1.177 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003769/0.6773, allocations: 444 kB / 1.178 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005968/0.6779, allocations: 0.7196 MB / 1.179 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.6795, allocations: 2.018 MB / 1.181 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6795, allocations: 0 / 1.181 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6795, allocations: 0 / 1.181 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.6796, allocations: 0 / 1.181 GB, free: 5.285 MB / 0.7136 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.004094/0.6837, allocations: 1.886 MB / 1.182 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.6837, allocations: 10.47 kB / 1.182 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.6838, allocations: 104.2 kB / 1.182 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007288/0.6846, allocations: 236.3 kB / 1.183 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.6864, allocations: 1.334 MB / 1.184 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.6866, allocations: 63.77 kB / 1.184 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.6867, allocations: 87.31 kB / 1.184 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.6881, allocations: 0.9335 MB / 1.185 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.6881, allocations: 4 kB / 1.185 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-05/0.6882, allocations: 28 kB / 1.185 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.6882, allocations: 13.75 kB / 1.185 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.6897, allocations: 0.8431 MB / 1.186 GB, free: 1.672 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.004457/0.6941, allocations: 3.514 MB / 1.189 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.6954, allocations: 0.7739 MB / 1.19 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006789/0.6961, allocations: 453.3 kB / 1.191 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/0.6964, allocations: 290.1 kB / 1.191 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.6964, allocations: 42.83 kB / 1.191 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000864/0.6973, allocations: 233.4 kB / 1.191 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 2.154e-06/0.6973, allocations: 0 / 1.191 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.002427/0.6998, allocations: 1.353 MB / 1.192 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.6998, allocations: 212 kB / 1.193 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.7019, allocations: 1.672 MB / 1.194 GB, free: 12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.702, allocations: 51.38 kB / 1.194 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/0.7024, allocations: 0.5593 MB / 1.195 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.7026, allocations: 179.5 kB / 1.195 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.7026, allocations: 6.656 kB / 1.195 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.7027, allocations: 335.6 kB / 1.195 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.7034, allocations: 386 kB / 1.196 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008801/0.7043, allocations: 0.6911 MB / 1.196 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.7056, allocations: 0.8302 MB / 1.197 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7056, allocations: 2.812 kB / 1.197 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001699/0.7073, allocations: 1.053 MB / 1.198 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.7074, allocations: 102.7 kB / 1.198 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.7074, allocations: 2.938 kB / 1.198 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.7074, allocations: 3.25 kB / 1.198 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007594/0.7082, allocations: 160.9 kB / 1.198 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.7082, allocations: 5.75 kB / 1.198 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.7096, allocations: 160 kB / 1.199 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.062e-05/0.7097, allocations: 35.23 kB / 1.199 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/0.7097, allocations: 5.406 kB / 1.199 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00151/0.7112, allocations: 0.8975 MB / 1.2 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7112, allocations: 2.906 kB / 1.2 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.066e-06/0.7112, allocations: 1.969 kB / 1.2 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/0.7119, allocations: 159.7 kB / 1.2 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.712, allocations: 2.562 kB / 1.2 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.7133, allocations: 168.5 kB / 1.2 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.7134, allocations: 28.66 kB / 1.2 GB, free: 8.48 MB / 0.7292 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.0004475/0.7138, allocations: 390.3 kB / 1.2 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.714, allocations: 137.4 kB / 1.2 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.7159, allocations: 1.054 MB / 1.201 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.7159, allocations: 4 kB / 1.201 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.7159, allocations: 3.984 kB / 1.201 GB, free: 7.438 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.7159, allocations: 4 kB / 1.201 GB, free: 7.434 MB / 0.7292 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.003318/0.7193, allocations: 2.495 MB / 1.204 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.7193, allocations: 3.938 kB / 1.204 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/0.7199, allocations: 136.1 kB / 1.204 GB, free: 4.703 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.72, allocations: 4 kB / 1.204 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.72, allocations: 23.98 kB / 1.204 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.72, allocations: 7.938 kB / 1.204 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.72, allocations: 4 kB / 1.204 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.7223, allocations: 1.562 MB / 1.206 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.7228, allocations: 355.1 kB / 1.206 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.7229, allocations: 20 kB / 1.206 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.7241, allocations: 99.78 kB / 1.206 GB, free: 2.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.7242, allocations: 48.31 kB / 1.206 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.7242, allocations: 23.98 kB / 1.206 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001583/0.7258, allocations: 1.195 MB / 1.207 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.272e-06/0.7258, allocations: 0 / 1.207 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001213/0.7271, allocations: 0.5499 MB / 1.208 GB, free: 0.7539 MB / 0.7292 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.002953/0.73, allocations: 2.278 MB / 1.21 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002432/0.7325, allocations: 1.445 MB / 1.211 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7325, allocations: 0 / 1.211 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000714/0.7332, allocations: 442.6 kB / 1.212 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/0.7363, allocations: 0.5859 MB / 1.212 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/0.752, allocations: 9.159 MB / 1.221 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006116/0.7526, allocations: 1.173 MB / 1.223 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001434/0.7541, allocations: 381.6 kB / 1.223 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000754/0.7548, allocations: 0.5266 MB / 1.223 GB, free: 356 kB / 0.7448 GB Notification: Performance of SimCode: time 1.523e-06/0.7548, allocations: 4 kB / 1.223 GB, free: 352 kB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9667/1.722, allocations: 39.65 MB / 1.262 GB, free: 9.102 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/1.722, allocations: 248.8 kB / 1.262 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.198/4.92, allocations: 0 / 1.262 GB, free: 8.766 MB / 0.7917 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)