Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",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.409/1.409, allocations: 288.4 MB / 303.6 MB, free: 8.105 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.0008476/0.0008477, allocations: 182.5 kB / 372.3 MB, free: 10.14 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.128/1.128, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0006289/0.0006289, allocations: 92.77 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 12.72 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4596/0.6106, allocations: 172.8 MB / 1.149 GB, free: 11.26 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009731/0.6204, allocations: 7.158 MB / 1.156 GB, free: 6.992 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007853/0.6212, allocations: 30.09 kB / 1.156 GB, free: 6.977 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.6223, allocations: 409 kB / 1.156 GB, free: 6.652 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002606/0.6249, allocations: 1.325 MB / 1.158 GB, free: 5.633 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00533/0.6302, allocations: 2.132 MB / 1.16 GB, free: 4.266 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002637/0.6329, allocations: 2.442 MB / 1.162 GB, free: 2.793 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.6342, allocations: 0.9183 MB / 1.163 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.6356, allocations: 0.8156 MB / 1.164 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.6367, allocations: 0.7759 MB / 1.165 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002441/0.637, allocations: 57.53 kB / 1.165 GB, free: 1.301 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.6394, allocations: 1.462 MB / 1.166 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004136/0.6399, allocations: 334.9 kB / 1.166 GB, free: 260 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007777/0.6407, allocations: 0.5595 MB / 1.167 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.6423, allocations: 1.578 MB / 1.168 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6423, allocations: 5.484 kB / 1.168 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6423, allocations: 0 / 1.168 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.565e-05/0.6423, allocations: 0 / 1.168 GB, free: 14.77 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003847/0.6462, allocations: 1.529 MB / 1.17 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6462, allocations: 9.781 kB / 1.17 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.6464, allocations: 90.8 kB / 1.17 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007794/0.6471, allocations: 190.6 kB / 1.17 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.6489, allocations: 1.052 MB / 1.171 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.649, allocations: 55.25 kB / 1.171 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.6492, allocations: 58.62 kB / 1.171 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.6504, allocations: 0.7016 MB / 1.172 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.6504, allocations: 0 / 1.172 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.6505, allocations: 21.62 kB / 1.172 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.6505, allocations: 10.72 kB / 1.172 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.6518, allocations: 0.6413 MB / 1.173 GB, free: 11.87 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.003819/0.6556, allocations: 2.687 MB / 1.175 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.6566, allocations: 0.556 MB / 1.176 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005698/0.6572, allocations: 358.5 kB / 1.176 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003409/0.6575, allocations: 294.3 kB / 1.176 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.6576, allocations: 40.31 kB / 1.177 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007172/0.6583, allocations: 172.9 kB / 1.177 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.365e-06/0.6583, allocations: 0 / 1.177 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002068/0.6604, allocations: 1.06 MB / 1.178 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.6605, allocations: 138.2 kB / 1.178 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.6622, allocations: 1.273 MB / 1.179 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.6622, allocations: 45.64 kB / 1.179 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.6626, allocations: 451.4 kB / 1.18 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6627, allocations: 146.1 kB / 1.18 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.6627, allocations: 6.906 kB / 1.18 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/0.6628, allocations: 329 kB / 1.18 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.6633, allocations: 287.3 kB / 1.18 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.6641, allocations: 0.5186 MB / 1.181 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.6652, allocations: 0.6337 MB / 1.181 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6652, allocations: 0 / 1.181 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00138/0.6666, allocations: 0.7935 MB / 1.182 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.6666, allocations: 101.1 kB / 1.182 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.6666, allocations: 1.781 kB / 1.182 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.6667, allocations: 3.344 kB / 1.182 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.6672, allocations: 124.6 kB / 1.182 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.6673, allocations: 3.938 kB / 1.182 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.6685, allocations: 119.3 kB / 1.183 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-05/0.6686, allocations: 29.69 kB / 1.183 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.6686, allocations: 6.25 kB / 1.183 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001282/0.6699, allocations: 0.6623 MB / 1.183 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.6699, allocations: 2.906 kB / 1.183 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.6699, allocations: 6.844 kB / 1.183 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005559/0.6705, allocations: 121.7 kB / 1.183 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.6705, allocations: 2.875 kB / 1.183 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.6716, allocations: 132 kB / 1.183 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/0.6717, allocations: 17.52 kB / 1.183 GB, free: 4.73 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0004019/0.6721, allocations: 345.4 kB / 1.184 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.6723, allocations: 104.2 kB / 1.184 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.6739, allocations: 0.8323 MB / 1.185 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6739, allocations: 3.188 kB / 1.185 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6739, allocations: 0 / 1.185 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6739, allocations: 10.72 kB / 1.185 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/0.6769, allocations: 1.975 MB / 1.187 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6769, allocations: 5.094 kB / 1.187 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/0.6774, allocations: 110 kB / 1.187 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.986e-06/0.6774, allocations: 9.438 kB / 1.187 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.6775, allocations: 9.75 kB / 1.187 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.6775, allocations: 9.109 kB / 1.187 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.6775, allocations: 6.844 kB / 1.187 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.6794, allocations: 1.281 MB / 1.188 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.6798, allocations: 284.9 kB / 1.188 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.68, allocations: 17.25 kB / 1.188 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009872/0.681, allocations: 84.03 kB / 1.188 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6811, allocations: 36.69 kB / 1.188 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.6812, allocations: 27.75 kB / 1.189 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001257/0.6824, allocations: 0.9166 MB / 1.189 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6824, allocations: 0 / 1.189 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001211/0.6836, allocations: 446.8 kB / 1.19 GB, free: 0.8164 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.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 (52): * Single equations (assignments): 52 * 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.002613/0.6863, allocations: 1.982 MB / 1.192 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.6882, allocations: 1.063 MB / 1.193 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.6882, allocations: 0 / 1.193 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005918/0.6888, allocations: 350.3 kB / 1.193 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/0.6913, allocations: 481.7 kB / 1.194 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.7031, allocations: 6.923 MB / 1.2 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.7037, allocations: 1.061 MB / 1.201 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001194/0.7049, allocations: 291.4 kB / 1.202 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006098/0.7056, allocations: 403.3 kB / 1.202 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.7056, allocations: 0 / 1.202 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.021/1.727, allocations: 30.95 MB / 1.232 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.727, allocations: 236.8 kB / 1.232 GB, free: 7.57 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/4.844, allocations: 0 / 1.232 GB, free: 7.57 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)