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 1.883/1.883, allocations: 287.4 MB / 302.6 MB, free: 8.195 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.0014/0.0014, allocations: 183 kB / 371.1 MB, free: 10.83 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.668/1.668, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008699/0.0008699, allocations: 82.38 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004204, allocations: 11.34 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2371, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8009/1.038, allocations: 180.9 MB / 1.155 GB, free: 6.895 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02125/1.059, allocations: 8.333 MB / 1.163 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00242/1.062, allocations: 44.53 kB / 1.164 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/1.064, allocations: 464.2 kB / 1.164 GB, free: 212 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005009/1.069, allocations: 1.35 MB / 1.165 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007947/1.077, allocations: 2.404 MB / 1.168 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005286/1.082, allocations: 3.13 MB / 1.171 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/1.084, allocations: 1.242 MB / 1.172 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/1.087, allocations: 1.054 MB / 1.173 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/1.089, allocations: 1.03 MB / 1.174 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/1.089, allocations: 82.44 kB / 1.174 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/1.092, allocations: 0.9743 MB / 1.175 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005261/1.093, allocations: 439.4 kB / 1.175 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005464/1.093, allocations: 287.1 kB / 1.176 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002529/1.096, allocations: 1.986 MB / 1.178 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.096, allocations: 0 / 1.178 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.182e-06/1.096, allocations: 0 / 1.178 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.583e-05/1.096, allocations: 0 / 1.178 GB, free: 7.316 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.004693/1.101, allocations: 1.882 MB / 1.179 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.101, allocations: 8.625 kB / 1.179 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/1.101, allocations: 108.6 kB / 1.18 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008848/1.102, allocations: 234 kB / 1.18 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/1.104, allocations: 1.332 MB / 1.181 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/1.104, allocations: 68.05 kB / 1.181 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/1.104, allocations: 89.16 kB / 1.181 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/1.106, allocations: 0.9252 MB / 1.182 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.106, allocations: 3.984 kB / 1.182 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.4e-05/1.106, allocations: 33.69 kB / 1.182 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/1.106, allocations: 13.78 kB / 1.182 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/1.108, allocations: 0.8474 MB / 1.183 GB, free: 3.699 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.005774/1.113, allocations: 3.505 MB / 1.186 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/1.115, allocations: 0.7717 MB / 1.187 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/1.116, allocations: 449.9 kB / 1.188 GB, free: 332 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004016/1.116, allocations: 295.1 kB / 1.188 GB, free: 16 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.561e-05/1.116, allocations: 40.75 kB / 1.188 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001072/1.117, allocations: 244.7 kB / 1.188 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 2.755e-06/1.117, allocations: 0 / 1.188 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.002726/1.12, allocations: 1.347 MB / 1.189 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.12, allocations: 212.3 kB / 1.19 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/1.123, allocations: 1.664 MB / 1.191 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/1.123, allocations: 49.61 kB / 1.191 GB, free: 14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/1.123, allocations: 0.5557 MB / 1.192 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/1.123, allocations: 183.3 kB / 1.192 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/1.123, allocations: 7.938 kB / 1.192 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.124, allocations: 337.8 kB / 1.192 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007643/1.124, allocations: 386.3 kB / 1.193 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.125, allocations: 0.6949 MB / 1.193 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/1.127, allocations: 0.8293 MB / 1.194 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.127, allocations: 3.312 kB / 1.194 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002269/1.129, allocations: 1.049 MB / 1.195 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/1.129, allocations: 102.9 kB / 1.195 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/1.129, allocations: 2.656 kB / 1.195 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.129, allocations: 2.688 kB / 1.195 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/1.13, allocations: 165.3 kB / 1.196 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/1.13, allocations: 3.281 kB / 1.196 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/1.132, allocations: 156.9 kB / 1.196 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/1.132, allocations: 40.02 kB / 1.196 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/1.132, allocations: 2.469 kB / 1.196 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001652/1.134, allocations: 0.8984 MB / 1.197 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/1.134, allocations: 2.906 kB / 1.197 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/1.134, allocations: 2.844 kB / 1.197 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/1.134, allocations: 165.5 kB / 1.197 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.134, allocations: 0 / 1.197 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/1.136, allocations: 166.5 kB / 1.197 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/1.136, allocations: 30.81 kB / 1.197 GB, free: 10.52 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.0006402/1.137, allocations: 387.3 kB / 1.197 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/1.137, allocations: 137.4 kB / 1.197 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/1.139, allocations: 1.056 MB / 1.199 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/1.139, allocations: 11.92 kB / 1.199 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.139, allocations: 0 / 1.199 GB, free: 9.543 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/1.139, allocations: 0 / 1.199 GB, free: 9.543 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.003722/1.143, allocations: 2.487 MB / 1.201 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.143, allocations: 3.938 kB / 1.201 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007143/1.143, allocations: 131.8 kB / 1.201 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.739e-06/1.143, allocations: 12.28 kB / 1.201 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/1.144, allocations: 19.98 kB / 1.201 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/1.144, allocations: 8 kB / 1.201 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.144, allocations: 3.938 kB / 1.201 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/1.146, allocations: 1.562 MB / 1.203 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007573/1.147, allocations: 351.1 kB / 1.203 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/1.147, allocations: 27.86 kB / 1.203 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.149, allocations: 103.8 kB / 1.203 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/1.149, allocations: 40.38 kB / 1.203 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/1.149, allocations: 23.98 kB / 1.203 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002096/1.151, allocations: 1.195 MB / 1.204 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2e-07/1.151, allocations: 0 / 1.204 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001891/1.153, allocations: 0.55 MB / 1.205 GB, free: 3.531 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.003469/1.156, allocations: 2.282 MB / 1.207 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002767/1.159, allocations: 1.445 MB / 1.209 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.159, allocations: 4 kB / 1.209 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008148/1.16, allocations: 434.7 kB / 1.209 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/1.164, allocations: 0.5887 MB / 1.21 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.182, allocations: 9.166 MB / 1.218 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/1.183, allocations: 1.169 MB / 1.22 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00181/1.184, allocations: 389.6 kB / 1.22 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008445/1.185, allocations: 0.5266 MB / 1.22 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of SimCode: time 2.013e-06/1.185, allocations: 4 kB / 1.22 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06811/1.253, allocations: 39.29 MB / 1.259 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.254, allocations: 237.1 kB / 1.259 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.122/4.375, allocations: 0 / 1.259 GB, free: 12.01 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)