Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.585/1.585, allocations: 252 MB / 267.3 MB, free: 10.81 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 175.6 kB / 327 MB, free: 2.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.4 MB / 0.578 GB, free: 20.1 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008212/0.0008214, allocations: 86.3 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003831, allocations: 12.38 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2271, allocations: 106.3 MB / 0.9009 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7485/0.9757, allocations: 194.1 MB / 1.09 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01528/0.991, allocations: 9.078 MB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.9939, allocations: 40.19 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.9961, allocations: 0.5732 MB / 1.1 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005555/1.002, allocations: 1.736 MB / 1.102 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008933/1.011, allocations: 2.734 MB / 1.104 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005467/1.016, allocations: 3.578 MB / 1.108 GB, free: 1.109 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/1.018, allocations: 1.25 MB / 1.109 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/1.021, allocations: 1.074 MB / 1.11 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/1.023, allocations: 1.076 MB / 1.111 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002747/1.023, allocations: 78.19 kB / 1.111 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003801/1.027, allocations: 1.62 MB / 1.113 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006033/1.027, allocations: 450.2 kB / 1.113 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/1.029, allocations: 0.7565 MB / 1.114 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004081/1.033, allocations: 2.626 MB / 1.117 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.033, allocations: 0 / 1.117 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.625e-06/1.033, allocations: 0 / 1.117 GB, free: 16.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.369e-05/1.033, allocations: 0 / 1.117 GB, free: 16.68 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.005189/1.038, allocations: 1.876 MB / 1.118 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.038, allocations: 8.219 kB / 1.118 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000185/1.038, allocations: 111 kB / 1.118 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/1.039, allocations: 230.7 kB / 1.119 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/1.042, allocations: 1.334 MB / 1.12 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/1.042, allocations: 71.3 kB / 1.12 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/1.042, allocations: 81.19 kB / 1.12 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/1.044, allocations: 0.9361 MB / 1.121 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/1.044, allocations: 0 / 1.121 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/1.044, allocations: 27.84 kB / 1.121 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/1.044, allocations: 14.5 kB / 1.121 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/1.046, allocations: 0.8613 MB / 1.122 GB, free: 15.07 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.007168/1.053, allocations: 3.509 MB / 1.125 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/1.055, allocations: 0.7733 MB / 1.126 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007614/1.055, allocations: 458.3 kB / 1.127 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000453/1.056, allocations: 291.3 kB / 1.127 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/1.056, allocations: 44.5 kB / 1.127 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00147/1.057, allocations: 238.1 kB / 1.127 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 3.547e-06/1.057, allocations: 0 / 1.127 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.003459/1.061, allocations: 1.349 MB / 1.128 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/1.061, allocations: 216.6 kB / 1.129 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004098/1.065, allocations: 1.678 MB / 1.13 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002677/1.065, allocations: 45.22 kB / 1.13 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005848/1.066, allocations: 0.5601 MB / 1.131 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001905/1.066, allocations: 186 kB / 1.131 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/1.066, allocations: 14.28 kB / 1.131 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.066, allocations: 320.8 kB / 1.131 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007925/1.067, allocations: 400.3 kB / 1.132 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/1.068, allocations: 0.704 MB / 1.132 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/1.07, allocations: 0.8451 MB / 1.133 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.07, allocations: 0 / 1.133 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002291/1.072, allocations: 1.07 MB / 1.134 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.522e-05/1.072, allocations: 104.2 kB / 1.134 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.072, allocations: 2.938 kB / 1.134 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.072, allocations: 0 / 1.134 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008686/1.073, allocations: 162.5 kB / 1.135 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.073, allocations: 2.938 kB / 1.135 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/1.075, allocations: 157.4 kB / 1.135 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/1.075, allocations: 35.27 kB / 1.135 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/1.075, allocations: 3.094 kB / 1.135 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00174/1.077, allocations: 0.9014 MB / 1.136 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/1.077, allocations: 2.969 kB / 1.136 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/1.077, allocations: 2.938 kB / 1.136 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/1.078, allocations: 156.7 kB / 1.136 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.078, allocations: 2.562 kB / 1.136 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/1.08, allocations: 165.2 kB / 1.136 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-05/1.08, allocations: 33.8 kB / 1.136 GB, free: 10.93 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008205/1.081, allocations: 384.6 kB / 1.136 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004566/1.081, allocations: 133.7 kB / 1.136 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/1.084, allocations: 1.059 MB / 1.137 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.084, allocations: 6.219 kB / 1.137 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/1.084, allocations: 7.094 kB / 1.138 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/1.084, allocations: 3.984 kB / 1.138 GB, free: 10.38 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 postOpt removeSimpleEquations (simulation): time 0.004114/1.088, allocations: 2.491 MB / 1.14 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.088, allocations: 7.219 kB / 1.14 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007369/1.089, allocations: 133 kB / 1.14 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/1.089, allocations: 6.188 kB / 1.14 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/1.089, allocations: 24.36 kB / 1.14 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.808e-06/1.089, allocations: 9.562 kB / 1.14 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.089, allocations: 2.938 kB / 1.14 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/1.092, allocations: 1.572 MB / 1.142 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000803/1.092, allocations: 346.1 kB / 1.142 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/1.093, allocations: 18.34 kB / 1.142 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.094, allocations: 96.64 kB / 1.142 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/1.094, allocations: 61.11 kB / 1.142 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/1.094, allocations: 21.88 kB / 1.142 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001901/1.096, allocations: 1.201 MB / 1.143 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/1.096, allocations: 2.969 kB / 1.143 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001662/1.098, allocations: 0.5477 MB / 1.144 GB, free: 8.082 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003573/1.101, allocations: 2.289 MB / 1.146 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002839/1.104, allocations: 1.463 MB / 1.148 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/1.104, allocations: 0 / 1.148 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008128/1.105, allocations: 439.2 kB / 1.148 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/1.109, allocations: 0.5903 MB / 1.149 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02449/1.134, allocations: 12.39 MB / 1.161 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/1.134, allocations: 1.173 MB / 1.162 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002015/1.136, allocations: 381.6 kB / 1.162 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00097/1.137, allocations: 0.5266 MB / 1.163 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/1.137, allocations: 0 / 1.163 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07108/1.209, allocations: 38.84 MB / 1.201 GB, free: 3.969 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/1.209, allocations: 264.6 kB / 1.201 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.521/4.73, allocations: 3.938 kB / 1.201 GB, free: 3.609 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)