Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",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.634/2.634, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001687/0.001687, allocations: 180.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.117/2.117, 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.001093/0.001093, allocations: 100.7 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007659/0.0007662, allocations: 11.75 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2791, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.9353/1.214, allocations: 157.9 MB / 1.132 GB, free: 15.77 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01674/1.231, allocations: 7.196 MB / 1.139 GB, free: 15.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/1.233, allocations: 28.16 kB / 1.14 GB, free: 15.21 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003097/1.236, allocations: 0.625 MB / 1.14 GB, free: 15.11 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006879/1.243, allocations: 1.44 MB / 1.142 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01057/1.254, allocations: 2.316 MB / 1.144 GB, free: 14.54 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004119/1.258, allocations: 1.32 MB / 1.145 GB, free: 14.02 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/1.26, allocations: 0.881 MB / 1.146 GB, free: 13.47 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003087/1.264, allocations: 0.8428 MB / 1.147 GB, free: 12.97 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/1.266, allocations: 0.642 MB / 1.147 GB, free: 12.56 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000401/1.266, allocations: 60.62 kB / 1.147 GB, free: 12.56 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/1.269, allocations: 0.7577 MB / 1.148 GB, free: 12.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008652/1.27, allocations: 325.8 kB / 1.149 GB, free: 12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005926/1.271, allocations: 226.1 kB / 1.149 GB, free: 11.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003532/1.274, allocations: 1.505 MB / 1.15 GB, free: 10.81 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.274, allocations: 0 / 1.15 GB, free: 10.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/1.274, allocations: 4 kB / 1.15 GB, free: 10.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.105e-05/1.275, allocations: 0 / 1.15 GB, free: 10.81 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.006908/1.281, allocations: 1.519 MB / 1.152 GB, free: 9.695 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/1.282, allocations: 9.531 kB / 1.152 GB, free: 9.695 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003407/1.282, allocations: 91.83 kB / 1.152 GB, free: 9.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/1.283, allocations: 189 kB / 1.152 GB, free: 9.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/1.287, allocations: 1.009 MB / 1.153 GB, free: 8.766 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/1.287, allocations: 50.89 kB / 1.153 GB, free: 8.746 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/1.287, allocations: 66.67 kB / 1.153 GB, free: 8.723 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002287/1.289, allocations: 0.6899 MB / 1.154 GB, free: 8.301 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/1.29, allocations: 1.188 kB / 1.154 GB, free: 8.301 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/1.29, allocations: 22.11 kB / 1.154 GB, free: 8.285 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/1.29, allocations: 11.5 kB / 1.154 GB, free: 8.285 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/1.292, allocations: 0.6484 MB / 1.154 GB, free: 7.977 MB / 0.698 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.008186/1.3, allocations: 2.666 MB / 1.157 GB, free: 5.891 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/1.303, allocations: 0.5907 MB / 1.158 GB, free: 5.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/1.303, allocations: 21.08 kB / 1.158 GB, free: 5.578 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.303, allocations: 42.12 kB / 1.158 GB, free: 5.531 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001762/1.305, allocations: 164.6 kB / 1.158 GB, free: 5.453 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 4.85e-06/1.305, allocations: 0 / 1.158 GB, free: 5.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.004554/1.309, allocations: 1.061 MB / 1.159 GB, free: 4.934 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.309, allocations: 133.8 kB / 1.159 GB, free: 4.777 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/1.313, allocations: 1.274 MB / 1.16 GB, free: 4.082 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002899/1.313, allocations: 44.17 kB / 1.16 GB, free: 4.039 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/1.314, allocations: 454.1 kB / 1.161 GB, free: 3.648 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/1.314, allocations: 152.6 kB / 1.161 GB, free: 3.516 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/1.314, allocations: 9.375 kB / 1.161 GB, free: 3.508 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.315, allocations: 322 kB / 1.161 GB, free: 3.191 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/1.316, allocations: 287.6 kB / 1.161 GB, free: 3.059 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/1.317, allocations: 0.5151 MB / 1.162 GB, free: 2.652 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/1.318, allocations: 345.9 kB / 1.162 GB, free: 2.484 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.318, allocations: 0 / 1.162 GB, free: 2.484 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00322/1.322, allocations: 0.7973 MB / 1.163 GB, free: 2.082 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.322, allocations: 93.08 kB / 1.163 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/1.322, allocations: 1.938 kB / 1.163 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/1.322, allocations: 1.656 kB / 1.163 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.323, allocations: 132.5 kB / 1.163 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/1.323, allocations: 1.625 kB / 1.163 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/1.326, allocations: 125.8 kB / 1.163 GB, free: 1.895 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002316/1.327, allocations: 30.97 kB / 1.163 GB, free: 1.879 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.327, allocations: 4.781 kB / 1.163 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002486/1.329, allocations: 0.6678 MB / 1.164 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.329, allocations: 2.812 kB / 1.164 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/1.329, allocations: 3.953 kB / 1.164 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.331, allocations: 129.4 kB / 1.164 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/1.331, allocations: 1.969 kB / 1.164 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002601/1.333, allocations: 122.7 kB / 1.164 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.91e-05/1.333, allocations: 24.28 kB / 1.164 GB, free: 1.453 MB / 0.698 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0007773/1.334, allocations: 335.9 kB / 1.165 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/1.334, allocations: 104 kB / 1.165 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/1.337, allocations: 0.8436 MB / 1.166 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/1.337, allocations: 8.516 kB / 1.166 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.337, allocations: 0 / 1.166 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.338, allocations: 3.984 kB / 1.166 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005483/1.343, allocations: 1.973 MB / 1.168 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.343, allocations: 2.781 kB / 1.168 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/1.344, allocations: 109.2 kB / 1.168 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.699e-05/1.344, allocations: 5.375 kB / 1.168 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.728e-05/1.344, allocations: 21.42 kB / 1.168 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.247e-06/1.344, allocations: 5.062 kB / 1.168 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.344, allocations: 2.375 kB / 1.168 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004045/1.348, allocations: 1.388 MB / 1.169 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009727/1.349, allocations: 295.8 kB / 1.169 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/1.35, allocations: 9.406 kB / 1.169 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/1.352, allocations: 81.33 kB / 1.169 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/1.352, allocations: 44.41 kB / 1.169 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/1.352, allocations: 17.06 kB / 1.169 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002354/1.354, allocations: 0.9215 MB / 1.17 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.354, allocations: 3.938 kB / 1.17 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002218/1.357, allocations: 451.3 kB / 1.171 GB, free: 13.38 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.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 (52): * Single equations (assignments): 52 * 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.00535/1.362, allocations: 2.707 MB / 1.173 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003643/1.366, allocations: 1.056 MB / 1.174 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.366, allocations: 2.5 kB / 1.174 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/1.367, allocations: 358.8 kB / 1.175 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004502/1.371, allocations: 479.2 kB / 1.175 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/1.378, allocations: 2.942 MB / 1.178 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008988/1.379, allocations: 1.079 MB / 1.179 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002289/1.381, allocations: 296.9 kB / 1.179 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/1.382, allocations: 404.9 kB / 1.18 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of SimCode: time 1.302e-06/1.382, allocations: 0 / 1.18 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09489/1.477, allocations: 30.01 MB / 1.209 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000309/1.478, allocations: 228.4 kB / 1.209 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.716/5.193, allocations: 0 / 1.209 GB, free: 12.27 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)