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.736/1.736, allocations: 288.4 MB / 303.3 MB, free: 8.094 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.001149/0.001149, allocations: 184.5 kB / 372 MB, free: 10.28 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.694/1.694, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007976/0.0007976, allocations: 86.91 kB / 0.744 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 15.39 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8571/1.073, allocations: 180.9 MB / 1.156 GB, free: 6.316 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01802/1.092, allocations: 8.342 MB / 1.164 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003093/1.095, allocations: 35.91 kB / 1.164 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002415/1.097, allocations: 462 kB / 1.165 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006007/1.103, allocations: 1.346 MB / 1.166 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009979/1.113, allocations: 2.403 MB / 1.169 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006126/1.119, allocations: 3.094 MB / 1.172 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002745/1.122, allocations: 1.144 MB / 1.173 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/1.126, allocations: 1.062 MB / 1.174 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/1.129, allocations: 1.027 MB / 1.175 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005516/1.129, allocations: 76.91 kB / 1.175 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003789/1.133, allocations: 0.9795 MB / 1.176 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008138/1.134, allocations: 437.7 kB / 1.176 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0008711/1.135, allocations: 287.9 kB / 1.176 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/1.138, allocations: 2 MB / 1.178 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.138, allocations: 2.969 kB / 1.178 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.035e-06/1.138, allocations: 0 / 1.178 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.732e-05/1.138, allocations: 0 / 1.178 GB, free: 6.594 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.006028/1.144, allocations: 1.883 MB / 1.18 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/1.144, allocations: 14.88 kB / 1.18 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002646/1.144, allocations: 108.2 kB / 1.18 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/1.146, allocations: 236.5 kB / 1.181 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002909/1.149, allocations: 1.277 MB / 1.182 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/1.149, allocations: 71.72 kB / 1.182 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/1.149, allocations: 78.62 kB / 1.182 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/1.151, allocations: 0.9296 MB / 1.183 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/1.151, allocations: 0 / 1.183 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.082e-05/1.151, allocations: 29.7 kB / 1.183 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/1.151, allocations: 15.97 kB / 1.183 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/1.153, allocations: 0.8518 MB / 1.184 GB, free: 3.043 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.007236/1.16, allocations: 3.505 MB / 1.187 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/1.162, allocations: 0.7776 MB / 1.188 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008651/1.163, allocations: 453.1 kB / 1.188 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/1.163, allocations: 294.1 kB / 1.189 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/1.163, allocations: 41.94 kB / 1.189 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001463/1.165, allocations: 233.9 kB / 1.189 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 4.949e-06/1.165, allocations: 0 / 1.189 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.003393/1.168, allocations: 1.346 MB / 1.19 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/1.168, allocations: 220.2 kB / 1.19 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/1.171, allocations: 1.667 MB / 1.192 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001763/1.172, allocations: 43.45 kB / 1.192 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005853/1.172, allocations: 0.5592 MB / 1.193 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/1.172, allocations: 187.4 kB / 1.193 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/1.172, allocations: 6.562 kB / 1.193 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.173, allocations: 331.8 kB / 1.193 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008033/1.173, allocations: 386.6 kB / 1.194 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/1.175, allocations: 0.6929 MB / 1.194 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/1.175, allocations: 466.4 kB / 1.195 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/1.175, allocations: 0 / 1.195 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002413/1.178, allocations: 1.053 MB / 1.196 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.673e-05/1.178, allocations: 102.8 kB / 1.196 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.178, allocations: 11.03 kB / 1.196 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/1.178, allocations: 2.938 kB / 1.196 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009205/1.179, allocations: 157.2 kB / 1.196 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.179, allocations: 3.062 kB / 1.196 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002102/1.181, allocations: 156.8 kB / 1.196 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-05/1.181, allocations: 37.73 kB / 1.196 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.181, allocations: 3.938 kB / 1.196 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001889/1.183, allocations: 0.8975 MB / 1.197 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.183, allocations: 6.906 kB / 1.197 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/1.183, allocations: 3.219 kB / 1.197 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/1.184, allocations: 158.2 kB / 1.197 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/1.184, allocations: 2.938 kB / 1.197 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/1.186, allocations: 164.7 kB / 1.197 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.872e-05/1.186, allocations: 32.22 kB / 1.197 GB, free: 10.04 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.0008639/1.187, allocations: 378 kB / 1.198 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/1.188, allocations: 143.6 kB / 1.198 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/1.19, allocations: 1.053 MB / 1.199 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/1.19, allocations: 5.875 kB / 1.199 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.19, allocations: 0 / 1.199 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.19, allocations: 5.734 kB / 1.199 GB, free: 9.07 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.004913/1.195, allocations: 2.493 MB / 1.201 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/1.195, allocations: 0 / 1.201 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/1.196, allocations: 135.8 kB / 1.201 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/1.196, allocations: 4 kB / 1.201 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/1.196, allocations: 19.98 kB / 1.201 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/1.196, allocations: 16.17 kB / 1.202 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1.196, allocations: 4 kB / 1.202 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/1.199, allocations: 1.558 MB / 1.203 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.2, allocations: 355.2 kB / 1.203 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004327/1.201, allocations: 16 kB / 1.203 GB, free: 5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001728/1.202, allocations: 103.8 kB / 1.203 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/1.203, allocations: 52.33 kB / 1.204 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/1.203, allocations: 23.98 kB / 1.204 GB, free: 4.824 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002607/1.205, allocations: 1.191 MB / 1.205 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.4e-07/1.205, allocations: 0 / 1.205 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002596/1.208, allocations: 0.5538 MB / 1.205 GB, free: 3.078 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.00418/1.212, allocations: 2.279 MB / 1.207 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003285/1.215, allocations: 1.441 MB / 1.209 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.215, allocations: 3.938 kB / 1.209 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008675/1.216, allocations: 438.7 kB / 1.209 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004586/1.221, allocations: 0.5867 MB / 1.21 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02533/1.246, allocations: 9.175 MB / 1.219 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.248, allocations: 1.169 MB / 1.22 GB, free: 3.574 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00265/1.25, allocations: 385.6 kB / 1.22 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.252, allocations: 0.5266 MB / 1.221 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of SimCode: time 1.223e-06/1.252, allocations: 0 / 1.221 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0816/1.333, allocations: 39.29 MB / 1.259 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/1.334, allocations: 246.1 kB / 1.259 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.79/5.123, allocations: 0 / 1.259 GB, free: 11.45 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)