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.727/2.727, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.001693/0.001693, allocations: 192.2 kB / 370.8 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.18/2.18, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001098/0.001098, allocations: 97.09 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006618/0.000662, allocations: 11.75 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2312, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 1.022/1.253, allocations: 164.8 MB / 1.139 GB, free: 15.09 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02079/1.274, allocations: 8.402 MB / 1.147 GB, free: 11.64 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/1.276, allocations: 37.84 kB / 1.147 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003548/1.28, allocations: 0.7848 MB / 1.148 GB, free: 11.11 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008988/1.289, allocations: 1.756 MB / 1.15 GB, free: 9.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01302/1.302, allocations: 2.764 MB / 1.153 GB, free: 7.852 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0054/1.307, allocations: 1.699 MB / 1.154 GB, free: 6.719 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/1.31, allocations: 1.158 MB / 1.155 GB, free: 5.969 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003891/1.314, allocations: 1.103 MB / 1.157 GB, free: 5.305 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/1.317, allocations: 0.8522 MB / 1.157 GB, free: 4.766 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004495/1.317, allocations: 81.91 kB / 1.157 GB, free: 4.762 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00354/1.321, allocations: 0.8231 MB / 1.158 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000907/1.321, allocations: 426 kB / 1.159 GB, free: 4.105 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007071/1.322, allocations: 283.5 kB / 1.159 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004524/1.327, allocations: 1.938 MB / 1.161 GB, free: 2.559 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/1.327, allocations: 1.062 kB / 1.161 GB, free: 2.559 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.116e-06/1.327, allocations: 0 / 1.161 GB, free: 2.559 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.037e-05/1.327, allocations: 0 / 1.161 GB, free: 2.559 MB / 0.698 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.009046/1.336, allocations: 1.874 MB / 1.163 GB, free: 1.215 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/1.336, allocations: 9.312 kB / 1.163 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004386/1.336, allocations: 113.4 kB / 1.163 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/1.338, allocations: 232.9 kB / 1.163 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004358/1.343, allocations: 1.278 MB / 1.164 GB, free: 80 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/1.343, allocations: 69.02 kB / 1.164 GB, free: 48 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/1.343, allocations: 79.59 kB / 1.164 GB, free: 24 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002974/1.346, allocations: 0.9283 MB / 1.165 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/1.346, allocations: 0 / 1.165 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/1.346, allocations: 26.38 kB / 1.165 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/1.346, allocations: 14.28 kB / 1.165 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003015/1.349, allocations: 0.8514 MB / 1.166 GB, free: 15.02 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.01013/1.36, allocations: 3.502 MB / 1.17 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/1.362, allocations: 0.7913 MB / 1.17 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/1.362, allocations: 19.17 kB / 1.17 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/1.362, allocations: 45.48 kB / 1.17 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002148/1.364, allocations: 238.3 kB / 1.171 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 4.268e-06/1.364, allocations: 4 kB / 1.171 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.005097/1.37, allocations: 1.346 MB / 1.172 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/1.37, allocations: 211.3 kB / 1.172 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/1.374, allocations: 1.665 MB / 1.174 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002937/1.374, allocations: 45.83 kB / 1.174 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007639/1.375, allocations: 0.5523 MB / 1.174 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/1.376, allocations: 185.7 kB / 1.175 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.299e-05/1.376, allocations: 10.94 kB / 1.175 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001719/1.376, allocations: 327.4 kB / 1.175 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/1.377, allocations: 388.6 kB / 1.175 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/1.379, allocations: 0.6999 MB / 1.176 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/1.38, allocations: 461.5 kB / 1.176 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.38, allocations: 0 / 1.176 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00382/1.384, allocations: 1.055 MB / 1.177 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.509e-05/1.384, allocations: 94.91 kB / 1.177 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.973e-05/1.384, allocations: 6.047 kB / 1.177 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/1.384, allocations: 2.844 kB / 1.177 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/1.386, allocations: 165.2 kB / 1.178 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.386, allocations: 2.469 kB / 1.178 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/1.39, allocations: 163.5 kB / 1.178 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/1.39, allocations: 40.88 kB / 1.178 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.39, allocations: 2.344 kB / 1.178 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003176/1.393, allocations: 0.9038 MB / 1.179 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.9e-05/1.393, allocations: 10.8 kB / 1.179 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/1.393, allocations: 2.906 kB / 1.179 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/1.395, allocations: 155.6 kB / 1.179 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.395, allocations: 2.875 kB / 1.179 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003445/1.398, allocations: 163.4 kB / 1.179 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/1.399, allocations: 36.58 kB / 1.179 GB, free: 6.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001057/1.4, allocations: 376.2 kB / 1.179 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006802/1.4, allocations: 138.6 kB / 1.18 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003927/1.404, allocations: 1.058 MB / 1.181 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.404, allocations: 5.688 kB / 1.181 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.404, allocations: 0 / 1.181 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/1.404, allocations: 3.984 kB / 1.181 GB, free: 5.547 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.007365/1.412, allocations: 2.481 MB / 1.183 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.412, allocations: 3.156 kB / 1.183 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/1.413, allocations: 144.4 kB / 1.183 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/1.413, allocations: 5.656 kB / 1.183 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.413, allocations: 15.53 kB / 1.183 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.509e-05/1.413, allocations: 13.84 kB / 1.183 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.413, allocations: 2.344 kB / 1.183 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005024/1.418, allocations: 1.693 MB / 1.185 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.42, allocations: 352.6 kB / 1.185 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004571/1.42, allocations: 13.66 kB / 1.185 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/1.423, allocations: 103.5 kB / 1.185 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/1.423, allocations: 52.91 kB / 1.185 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-05/1.423, allocations: 26.03 kB / 1.185 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003343/1.427, allocations: 1.19 MB / 1.187 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.51e-07/1.427, allocations: 0 / 1.187 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003049/1.43, allocations: 0.5474 MB / 1.187 GB, free: 1.504 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 (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.006712/1.437, allocations: 3.008 MB / 1.19 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004902/1.442, allocations: 1.443 MB / 1.191 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/1.442, allocations: 3.938 kB / 1.191 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/1.443, allocations: 438.7 kB / 1.192 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00944/1.453, allocations: 0.5894 MB / 1.192 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/1.465, allocations: 3.154 MB / 1.195 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/1.466, allocations: 1.192 MB / 1.197 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003045/1.469, allocations: 381.6 kB / 1.197 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001757/1.471, allocations: 0.5382 MB / 1.198 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of SimCode: time 1.743e-06/1.471, allocations: 0 / 1.198 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/1.586, allocations: 38.42 MB / 1.235 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003934/1.587, allocations: 236.8 kB / 1.235 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.223/5.809, allocations: 0 / 1.235 GB, free: 1.762 MB / 0.7605 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)