Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7676/0.7676, allocations: 143.4 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 181 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009545/0.0009545, allocations: 88.33 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 270.2 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.000458, allocations: 22.61 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1546, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.114/4.269, allocations: 1.876 GB / 2.65 GB, free: 202.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/4.269, allocations: 98.06 kB / 2.65 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.038/6.308, allocations: 0.6119 GB / 3.262 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.186e-06/6.308, allocations: 0 / 3.262 GB, free: 143.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001919/6.308, allocations: 26.34 kB / 3.262 GB, free: 143.1 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005974/6.314, allocations: 1.678 MB / 3.263 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/6.314, allocations: 8.031 kB / 3.263 GB, free: 141.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003404/6.314, allocations: 94.52 kB / 3.264 GB, free: 141.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/6.317, allocations: 234.3 kB / 3.264 GB, free: 141.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/6.32, allocations: 1.023 MB / 3.265 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-05/6.321, allocations: 45 kB / 3.265 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/6.321, allocations: 60 kB / 3.265 GB, free: 140 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/6.322, allocations: 0.6339 MB / 3.265 GB, free: 139.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/6.322, allocations: 0 / 3.265 GB, free: 139.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/6.322, allocations: 23.67 kB / 3.265 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/6.322, allocations: 28.2 kB / 3.266 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/6.323, allocations: 0.6512 MB / 3.266 GB, free: 138.7 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.005276/6.329, allocations: 2.716 MB / 3.269 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/6.33, allocations: 0.6004 MB / 3.269 GB, free: 135.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/6.33, allocations: 290.3 kB / 3.27 GB, free: 134.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/6.33, allocations: 38.12 kB / 3.27 GB, free: 134.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001162/6.332, allocations: 219.5 kB / 3.27 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=44): time 5.09e-06/6.332, allocations: 4 kB / 3.27 GB, free: 134.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=44): time 0.002408/6.334, allocations: 1.061 MB / 3.271 GB, free: 133.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/6.334, allocations: 59.39 kB / 3.271 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/6.336, allocations: 1.124 MB / 3.272 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/6.336, allocations: 37.7 kB / 3.272 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/6.336, allocations: 459.7 kB / 3.273 GB, free: 131.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/6.337, allocations: 145.9 kB / 3.273 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/6.337, allocations: 4 kB / 3.273 GB, free: 131.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/6.337, allocations: 325.7 kB / 3.273 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/6.337, allocations: 276.5 kB / 3.273 GB, free: 131.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00065/6.338, allocations: 0.4922 MB / 3.274 GB, free: 130.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/6.338, allocations: 332.6 kB / 3.274 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/6.338, allocations: 0 / 3.274 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001479/6.34, allocations: 0.7615 MB / 3.275 GB, free: 129.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/6.34, allocations: 104.6 kB / 3.275 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/6.34, allocations: 4 kB / 3.275 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/6.34, allocations: 7.984 kB / 3.275 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/6.341, allocations: 123.8 kB / 3.275 GB, free: 129.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/6.341, allocations: 11.81 kB / 3.275 GB, free: 129.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/6.342, allocations: 119.7 kB / 3.275 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/6.342, allocations: 31.97 kB / 3.275 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/6.342, allocations: 4 kB / 3.275 GB, free: 129.1 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001156/6.344, allocations: 0.6362 MB / 3.276 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/6.344, allocations: 3.938 kB / 3.276 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/6.344, allocations: 7.984 kB / 3.276 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/6.344, allocations: 131.8 kB / 3.276 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/6.344, allocations: 0 / 3.276 GB, free: 128.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/6.346, allocations: 123.8 kB / 3.276 GB, free: 128.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/6.346, allocations: 31.97 kB / 3.276 GB, free: 128.2 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0004808/6.346, allocations: 333 kB / 3.276 GB, free: 127.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/6.346, allocations: 98.78 kB / 3.277 GB, free: 127.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/6.348, allocations: 0.8461 MB / 3.277 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/6.348, allocations: 4 kB / 3.277 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/6.348, allocations: 4 kB / 3.277 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/6.348, allocations: 0 / 3.277 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/6.352, allocations: 2.017 MB / 3.279 GB, free: 124.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/6.352, allocations: 0 / 3.279 GB, free: 124.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/6.352, allocations: 124.1 kB / 3.279 GB, free: 124.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/6.352, allocations: 7.953 kB / 3.279 GB, free: 124.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/6.352, allocations: 15.98 kB / 3.28 GB, free: 124.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/6.352, allocations: 4 kB / 3.28 GB, free: 124.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/6.352, allocations: 10.78 kB / 3.28 GB, free: 124.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/6.354, allocations: 1.388 MB / 3.281 GB, free: 123.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005998/6.355, allocations: 303.6 kB / 3.281 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/6.355, allocations: 15.98 kB / 3.281 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/6.356, allocations: 87.91 kB / 3.281 GB, free: 122.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/6.356, allocations: 47.83 kB / 3.281 GB, free: 122.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/6.357, allocations: 24 kB / 3.281 GB, free: 122.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001457/6.358, allocations: 0.8895 MB / 3.282 GB, free: 121.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/6.358, allocations: 4 kB / 3.282 GB, free: 121.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002519/6.361, allocations: 0.5502 MB / 3.283 GB, free: 121.2 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.s[1],mixBox.filter.s[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 (53): * Single equations (assignments): 53 * 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.005255/6.366, allocations: 4.063 MB / 3.287 GB, free: 117.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001853/6.368, allocations: 0.9514 MB / 3.288 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/6.368, allocations: 0 / 3.288 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005577/6.368, allocations: 355.7 kB / 3.288 GB, free: 116 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/6.37, allocations: 449 kB / 3.288 GB, free: 115.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/6.381, allocations: 6.623 MB / 3.295 GB, free: 108.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/6.382, allocations: 1.069 MB / 3.296 GB, free: 107.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001382/6.383, allocations: 290.8 kB / 3.296 GB, free: 107.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/6.384, allocations: 391.3 kB / 3.297 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/6.384, allocations: 0 / 3.297 GB, free: 106.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07872/6.463, allocations: 53.14 MB / 3.348 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/6.463, allocations: 231.2 kB / 3.349 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.68/10.14, allocations: 3.938 kB / 3.349 GB, free: 53.94 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > BuildingSystems_BuildingSystems.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)