Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.838/1.838, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008945/0.0008945, allocations: 13.12 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3515, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8447/1.196, allocations: 157.9 MB / 0.9414 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01452/1.211, allocations: 7.189 MB / 0.9485 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/1.213, allocations: 33.41 kB / 0.9485 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002437/1.215, allocations: 0.6278 MB / 0.9491 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005761/1.221, allocations: 1.433 MB / 0.9505 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01618/1.237, allocations: 2.315 MB / 0.9528 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01041/1.248, allocations: 1.317 MB / 0.954 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005328/1.253, allocations: 0.8636 MB / 0.9549 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007985/1.261, allocations: 0.853 MB / 0.9557 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004588/1.266, allocations: 0.6362 MB / 0.9563 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001777/1.268, allocations: 61.16 kB / 0.9564 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008984/1.277, allocations: 0.7585 MB / 0.9571 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002587/1.28, allocations: 318.9 kB / 0.9574 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002441/1.282, allocations: 227.4 kB / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007931/1.29, allocations: 1.506 MB / 0.9591 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.291, allocations: 0 / 0.9591 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.467e-06/1.291, allocations: 5.25 kB / 0.9591 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001055/1.291, allocations: 0 / 0.9591 GB, free: 5.02 MB / 0.7169 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.01026/1.301, allocations: 1.523 MB / 0.9606 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.649e-05/1.301, allocations: 13.16 kB / 0.9606 GB, free: 20.21 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006489/1.302, allocations: 88.66 kB / 0.9607 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/1.304, allocations: 194.3 kB / 0.9609 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004804/1.309, allocations: 1.002 MB / 0.9619 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/1.309, allocations: 59.78 kB / 0.9619 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005562/1.31, allocations: 63.16 kB / 0.962 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003253/1.313, allocations: 0.6932 MB / 0.9627 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/1.313, allocations: 0 / 0.9627 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/1.314, allocations: 22.25 kB / 0.9627 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/1.314, allocations: 11 kB / 0.9627 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/1.316, allocations: 0.6375 MB / 0.9633 GB, free: 19.69 MB / 0.7325 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.01077/1.327, allocations: 2.685 MB / 0.966 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/1.329, allocations: 0.5765 MB / 0.9665 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/1.33, allocations: 19.92 kB / 0.9665 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.105e-05/1.33, allocations: 39.77 kB / 0.9666 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002201/1.332, allocations: 167.5 kB / 0.9667 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.282e-05/1.332, allocations: 0 / 0.9667 GB, free: 18.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.00463/1.337, allocations: 1.067 MB / 0.9678 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/1.337, allocations: 134.1 kB / 0.9679 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004416/1.341, allocations: 1.279 MB / 0.9692 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003504/1.342, allocations: 38.45 kB / 0.9692 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007834/1.342, allocations: 451.2 kB / 0.9696 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/1.343, allocations: 145.9 kB / 0.9698 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/1.343, allocations: 12.41 kB / 0.9698 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002094/1.343, allocations: 319.8 kB / 0.9701 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/1.344, allocations: 286 kB / 0.9704 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/1.346, allocations: 0.5233 MB / 0.9709 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/1.347, allocations: 343.4 kB / 0.9712 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.347, allocations: 0 / 0.9712 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.003834/1.351, allocations: 0.7963 MB / 0.972 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.351, allocations: 96.7 kB / 0.9721 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/1.352, allocations: 3.062 kB / 0.9721 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/1.352, allocations: 1.938 kB / 0.9721 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/1.353, allocations: 122.4 kB / 0.9722 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/1.353, allocations: 3.156 kB / 0.9722 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/1.356, allocations: 131.3 kB / 0.9723 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/1.356, allocations: 31.03 kB / 0.9723 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.356, allocations: 4.844 kB / 0.9723 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002676/1.359, allocations: 0.6687 MB / 0.973 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/1.359, allocations: 2.781 kB / 0.973 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/1.359, allocations: 0 / 0.973 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/1.36, allocations: 122.2 kB / 0.9731 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/1.36, allocations: 6.953 kB / 0.9731 GB, free: 17.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/1.363, allocations: 119.1 kB / 0.9732 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/1.363, allocations: 24.84 kB / 0.9733 GB, free: 17.03 MB / 0.7325 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.001015/1.364, allocations: 330.3 kB / 0.9736 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005935/1.365, allocations: 104.3 kB / 0.9737 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/1.368, allocations: 0.8358 MB / 0.9745 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/1.368, allocations: 15.42 kB / 0.9745 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/1.368, allocations: 3.953 kB / 0.9745 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.368, allocations: 0 / 0.9745 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006603/1.375, allocations: 1.98 MB / 0.9764 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.375, allocations: 2.5 kB / 0.9764 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/1.376, allocations: 118 kB / 0.9766 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.149e-05/1.376, allocations: 6.359 kB / 0.9766 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.022e-05/1.376, allocations: 17.81 kB / 0.9766 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-05/1.376, allocations: 4.875 kB / 0.9766 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.338e-05/1.376, allocations: 6.75 kB / 0.9766 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004389/1.381, allocations: 1.387 MB / 0.9779 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/1.382, allocations: 293.2 kB / 0.9782 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/1.383, allocations: 15.52 kB / 0.9782 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/1.385, allocations: 81.89 kB / 0.9783 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/1.385, allocations: 44.05 kB / 0.9784 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/1.385, allocations: 14 kB / 0.9784 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003001/1.388, allocations: 0.92 MB / 0.9793 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.454e-06/1.388, allocations: 4 kB / 0.9793 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003579/1.392, allocations: 444.9 kB / 0.9797 GB, free: 14.58 MB / 0.7325 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.007125/1.399, allocations: 2.716 MB / 0.9824 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004533/1.403, allocations: 1.061 MB / 0.9834 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/1.404, allocations: 0 / 0.9834 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/1.405, allocations: 355.4 kB / 0.9837 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005417/1.41, allocations: 468.8 kB / 0.9842 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/1.423, allocations: 2.949 MB / 0.9871 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.424, allocations: 1.073 MB / 0.9881 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002808/1.427, allocations: 308.9 kB / 0.9884 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/1.428, allocations: 403 kB / 0.9888 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of SimCode: time 1.693e-06/1.428, allocations: 0 / 0.9888 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/1.573, allocations: 30.02 MB / 1.018 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003646/1.574, allocations: 217.5 kB / 1.018 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.744/4.318, allocations: 0 / 1.018 GB, free: 4.102 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: