Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.985/2.985, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001331/0.001331, allocations: 184.1 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009234/0.0009234, allocations: 89.28 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005177/0.000518, allocations: 14.62 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2311, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.9561/1.187, allocations: 180.9 MB / 1.155 GB, free: 7.016 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02428/1.212, allocations: 8.321 MB / 1.163 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/1.214, allocations: 45.25 kB / 1.163 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002751/1.217, allocations: 456.5 kB / 1.164 GB, free: 332 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006478/1.223, allocations: 1.354 MB / 1.165 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01187/1.235, allocations: 2.398 MB / 1.167 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.007139/1.243, allocations: 3.105 MB / 1.17 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/1.246, allocations: 1.147 MB / 1.172 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003644/1.25, allocations: 1.05 MB / 1.173 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/1.253, allocations: 1.035 MB / 1.174 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0008388/1.254, allocations: 77.81 kB / 1.174 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006248/1.26, allocations: 0.978 MB / 1.175 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001876/1.262, allocations: 439.2 kB / 1.175 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/1.264, allocations: 283 kB / 1.175 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007425/1.271, allocations: 1.993 MB / 1.177 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/1.271, allocations: 0 / 1.177 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.427e-06/1.271, allocations: 4 kB / 1.177 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.872e-05/1.271, allocations: 0 / 1.177 GB, free: 7.496 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.01009/1.281, allocations: 1.884 MB / 1.179 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/1.281, allocations: 12.64 kB / 1.179 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004557/1.282, allocations: 104.7 kB / 1.179 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/1.284, allocations: 240.1 kB / 1.179 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004433/1.288, allocations: 1.277 MB / 1.181 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/1.288, allocations: 68.02 kB / 1.181 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002853/1.289, allocations: 78.94 kB / 1.181 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/1.292, allocations: 0.9369 MB / 1.182 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/1.292, allocations: 0 / 1.182 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/1.292, allocations: 28.19 kB / 1.182 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/1.292, allocations: 13.09 kB / 1.182 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/1.295, allocations: 0.8513 MB / 1.183 GB, free: 3.945 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.01078/1.306, allocations: 3.508 MB / 1.186 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/1.308, allocations: 0.773 MB / 1.187 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/1.31, allocations: 454.3 kB / 1.187 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006161/1.311, allocations: 287.2 kB / 1.187 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/1.311, allocations: 44.34 kB / 1.187 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002258/1.313, allocations: 233.6 kB / 1.188 GB, free: 112 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 7.304e-06/1.313, allocations: 4 kB / 1.188 GB, free: 108 kB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.005499/1.319, allocations: 1.35 MB / 1.189 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/1.319, allocations: 211.1 kB / 1.189 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004738/1.323, allocations: 1.664 MB / 1.191 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003198/1.324, allocations: 50.36 kB / 1.191 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008069/1.325, allocations: 0.5549 MB / 1.191 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/1.325, allocations: 184.2 kB / 1.192 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/1.325, allocations: 9.75 kB / 1.192 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.325, allocations: 336 kB / 1.192 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/1.327, allocations: 390 kB / 1.192 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/1.329, allocations: 0.699 MB / 1.193 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/1.33, allocations: 463.6 kB / 1.193 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/1.33, allocations: 0 / 1.193 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003969/1.334, allocations: 1.06 MB / 1.194 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-05/1.334, allocations: 94.34 kB / 1.195 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/1.334, allocations: 2.906 kB / 1.195 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-05/1.334, allocations: 0 / 1.195 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/1.336, allocations: 163.7 kB / 1.195 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/1.336, allocations: 0 / 1.195 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/1.34, allocations: 161 kB / 1.195 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002686/1.34, allocations: 38.66 kB / 1.195 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.34, allocations: 3 kB / 1.195 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003115/1.343, allocations: 0.8996 MB / 1.196 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/1.343, allocations: 2.906 kB / 1.196 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/1.343, allocations: 0 / 1.196 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/1.345, allocations: 157.5 kB / 1.196 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/1.345, allocations: 10.92 kB / 1.196 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003529/1.348, allocations: 165.9 kB / 1.196 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/1.349, allocations: 30.47 kB / 1.196 GB, free: 10.95 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.001066/1.35, allocations: 396 kB / 1.197 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000725/1.351, allocations: 136.7 kB / 1.197 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/1.356, allocations: 1.052 MB / 1.198 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.702e-05/1.356, allocations: 5.188 kB / 1.198 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/1.356, allocations: 0 / 1.198 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.356, allocations: 3.938 kB / 1.198 GB, free: 9.965 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.007534/1.363, allocations: 2.489 MB / 1.2 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.363, allocations: 3.219 kB / 1.2 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/1.365, allocations: 136.5 kB / 1.2 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.701e-05/1.365, allocations: 4 kB / 1.2 GB, free: 8.152 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/1.365, allocations: 27.94 kB / 1.2 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/1.365, allocations: 4 kB / 1.2 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.365, allocations: 4 kB / 1.2 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005251/1.37, allocations: 1.566 MB / 1.202 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/1.372, allocations: 351.2 kB / 1.202 GB, free: 6.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/1.372, allocations: 19.98 kB / 1.202 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002296/1.374, allocations: 99.78 kB / 1.202 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/1.374, allocations: 52.31 kB / 1.202 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/1.375, allocations: 23.98 kB / 1.202 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003153/1.378, allocations: 1.187 MB / 1.204 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.32e-07/1.378, allocations: 0 / 1.204 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002754/1.38, allocations: 0.5538 MB / 1.204 GB, free: 4.207 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.006076/1.387, allocations: 2.27 MB / 1.206 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004707/1.391, allocations: 1.445 MB / 1.208 GB, free: 428 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.391, allocations: 0 / 1.208 GB, free: 428 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/1.393, allocations: 442.8 kB / 1.208 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005905/1.399, allocations: 0.6006 MB / 1.209 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03128/1.43, allocations: 9.166 MB / 1.218 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.431, allocations: 1.173 MB / 1.219 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0029/1.434, allocations: 381.6 kB / 1.219 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001635/1.436, allocations: 0.5305 MB / 1.22 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of SimCode: time 1.293e-06/1.436, allocations: 0 / 1.22 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1391/1.575, allocations: 39.27 MB / 1.258 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003233/1.575, allocations: 238.1 kB / 1.258 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.447/6.023, allocations: 4 kB / 1.258 GB, free: 12.71 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)