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.825/1.825, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.001423/0.001423, allocations: 191.2 kB / 372 MB, free: 10.24 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.686/1.686, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0008803/0.0008802, allocations: 94.36 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004145, allocations: 10.94 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2445, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6977/0.9423, allocations: 172.8 MB / 1.148 GB, free: 10.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01233/0.9547, allocations: 7.159 MB / 1.155 GB, free: 7.172 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.9562, allocations: 32.5 kB / 1.155 GB, free: 7.152 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.9575, allocations: 366.7 kB / 1.156 GB, free: 6.852 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.9611, allocations: 1.128 MB / 1.157 GB, free: 5.961 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006387/0.9675, allocations: 2.039 MB / 1.159 GB, free: 4.652 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003603/0.9711, allocations: 2.425 MB / 1.161 GB, free: 3.188 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.9726, allocations: 0.8574 MB / 1.162 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.9741, allocations: 0.8232 MB / 1.163 GB, free: 2.191 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.9751, allocations: 0.7756 MB / 1.164 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.9753, allocations: 56.62 kB / 1.164 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.9775, allocations: 0.9185 MB / 1.165 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.9778, allocations: 335.9 kB / 1.165 GB, free: 1.004 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.9781, allocations: 229.1 kB / 1.165 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.9799, allocations: 1.56 MB / 1.167 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9799, allocations: 0 / 1.167 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9799, allocations: 0 / 1.167 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.9799, allocations: 0 / 1.167 GB, free: 15.78 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.003869/0.9838, allocations: 1.543 MB / 1.168 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9838, allocations: 10 kB / 1.168 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.9839, allocations: 87.45 kB / 1.168 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007734/0.9847, allocations: 190.8 kB / 1.168 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.9865, allocations: 1.013 MB / 1.169 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.9866, allocations: 47.28 kB / 1.169 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.9868, allocations: 66.55 kB / 1.17 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.9881, allocations: 0.6902 MB / 1.17 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.9881, allocations: 3.938 kB / 1.17 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/0.9882, allocations: 21.5 kB / 1.17 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.9882, allocations: 15 kB / 1.17 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.9896, allocations: 0.6406 MB / 1.171 GB, free: 12.93 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.004123/0.9937, allocations: 2.69 MB / 1.173 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.9948, allocations: 0.5599 MB / 1.174 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006132/0.9954, allocations: 355 kB / 1.174 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003913/0.9958, allocations: 294.9 kB / 1.175 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.9959, allocations: 41.48 kB / 1.175 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007084/0.9966, allocations: 164.2 kB / 1.175 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/0.9966, allocations: 0 / 1.175 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.00224/0.9988, allocations: 1.069 MB / 1.176 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.9989, allocations: 137.9 kB / 1.176 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/1.001, allocations: 1.273 MB / 1.177 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.61e-05/1.001, allocations: 41.67 kB / 1.177 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/1.001, allocations: 451.1 kB / 1.178 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/1.001, allocations: 160.2 kB / 1.178 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/1.001, allocations: 4 kB / 1.178 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.002, allocations: 328.2 kB / 1.178 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005629/1.002, allocations: 283.1 kB / 1.178 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/1.003, allocations: 0.5203 MB / 1.179 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/1.004, allocations: 345.1 kB / 1.179 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.004, allocations: 0 / 1.179 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001478/1.005, allocations: 0.7896 MB / 1.18 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/1.005, allocations: 100.5 kB / 1.18 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/1.005, allocations: 3.984 kB / 1.18 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/1.005, allocations: 2.906 kB / 1.18 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/1.006, allocations: 126.2 kB / 1.18 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/1.006, allocations: 0 / 1.18 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.007, allocations: 130 kB / 1.18 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/1.007, allocations: 25.75 kB / 1.18 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/1.007, allocations: 5.719 kB / 1.18 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001273/1.008, allocations: 0.6624 MB / 1.181 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.008, allocations: 6.875 kB / 1.181 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-06/1.008, allocations: 2.188 kB / 1.181 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/1.009, allocations: 122.8 kB / 1.181 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/1.009, allocations: 2.844 kB / 1.181 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/1.01, allocations: 131 kB / 1.181 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/1.01, allocations: 20.73 kB / 1.181 GB, free: 5.926 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.0004393/1.011, allocations: 339.8 kB / 1.182 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/1.011, allocations: 104.2 kB / 1.182 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/1.013, allocations: 0.8313 MB / 1.183 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/1.013, allocations: 9.797 kB / 1.183 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.013, allocations: 0 / 1.183 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.013, allocations: 4 kB / 1.183 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/1.015, allocations: 1.979 MB / 1.185 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.015, allocations: 2.812 kB / 1.185 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/1.016, allocations: 116.5 kB / 1.185 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.016, allocations: 9.344 kB / 1.185 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/1.016, allocations: 9.938 kB / 1.185 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/1.016, allocations: 4.594 kB / 1.185 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.016, allocations: 3.344 kB / 1.185 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/1.018, allocations: 1.283 MB / 1.186 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000399/1.019, allocations: 286.4 kB / 1.186 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.019, allocations: 13.62 kB / 1.186 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009814/1.02, allocations: 83.75 kB / 1.186 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.02, allocations: 47.14 kB / 1.186 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/1.02, allocations: 21.7 kB / 1.186 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001297/1.021, allocations: 0.9173 MB / 1.187 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/1.021, allocations: 0 / 1.187 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001212/1.022, allocations: 450.7 kB / 1.188 GB, free: 2.012 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.002959/1.025, allocations: 1.966 MB / 1.19 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002292/1.028, allocations: 1.076 MB / 1.191 GB, free: 132 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.028, allocations: 0 / 1.191 GB, free: 132 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006433/1.028, allocations: 346.7 kB / 1.191 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/1.031, allocations: 486.8 kB / 1.191 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/1.045, allocations: 6.928 MB / 1.198 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/1.045, allocations: 1.057 MB / 1.199 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00143/1.047, allocations: 291.4 kB / 1.2 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000668/1.048, allocations: 407.2 kB / 1.2 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of SimCode: time 1.834e-06/1.048, allocations: 0 / 1.2 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06795/1.116, allocations: 30.65 MB / 1.23 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/1.116, allocations: 233.4 kB / 1.23 GB, free: 9.691 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.318/4.434, allocations: 0 / 1.23 GB, free: 9.691 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)