Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.834/1.834, allocations: 285.4 MB / 298 MB, free: 6.023 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.00114/0.001141, allocations: 184.8 kB / 366.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 0.6248 GB, free: 7.742 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009617/0.0009617, allocations: 90.92 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.25e-05/4.264e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9013/0.9014, allocations: 115.3 MB / 0.971 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.73/6.632, allocations: 2.083 GB / 3.054 GB, free: 10.43 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004091/6.632, allocations: 94.12 kB / 3.055 GB, free: 10.38 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.599/9.231, allocations: 0.6052 GB / 3.66 GB, free: 148.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.292e-06/9.231, allocations: 0 / 3.66 GB, free: 148.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001048/9.231, allocations: 31.48 kB / 3.66 GB, free: 148.5 MB / 0.948 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.003159/9.234, allocations: 1.324 MB / 3.661 GB, free: 147.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/9.234, allocations: 8.031 kB / 3.661 GB, free: 147.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/9.234, allocations: 98.52 kB / 3.661 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/9.237, allocations: 234.3 kB / 3.661 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/9.239, allocations: 1.043 MB / 3.662 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/9.239, allocations: 45 kB / 3.662 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/9.239, allocations: 66.75 kB / 3.663 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/9.24, allocations: 0.6606 MB / 3.663 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/9.24, allocations: 0 / 3.663 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/9.24, allocations: 16 kB / 3.663 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/9.24, allocations: 12 kB / 3.663 GB, free: 144.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/9.241, allocations: 0.5545 MB / 3.664 GB, free: 144.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.004084/9.245, allocations: 2.748 MB / 3.666 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007647/9.246, allocations: 0.5116 MB / 3.667 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/9.246, allocations: 312.7 kB / 3.667 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003704/9.247, allocations: 287.5 kB / 3.667 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/9.247, allocations: 42.5 kB / 3.668 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009784/9.248, allocations: 219.5 kB / 3.668 GB, free: 140 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 3.697e-06/9.248, allocations: 0 / 3.668 GB, free: 140 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.001355/9.249, allocations: 0.6842 MB / 3.668 GB, free: 139.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/9.249, allocations: 140.5 kB / 3.669 GB, free: 139.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/9.25, allocations: 1.096 MB / 3.67 GB, free: 138 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/9.25, allocations: 37.7 kB / 3.67 GB, free: 137.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/9.251, allocations: 462.8 kB / 3.67 GB, free: 137.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/9.251, allocations: 149.8 kB / 3.67 GB, free: 137.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/9.251, allocations: 8 kB / 3.67 GB, free: 137.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/9.251, allocations: 329.9 kB / 3.671 GB, free: 137 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003162/9.251, allocations: 236.8 kB / 3.671 GB, free: 136.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/9.252, allocations: 487.5 kB / 3.671 GB, free: 136.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/9.252, allocations: 303 kB / 3.672 GB, free: 135.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/9.252, allocations: 0 / 3.672 GB, free: 135.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001021/9.253, allocations: 0.6939 MB / 3.672 GB, free: 135.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/9.253, allocations: 95.39 kB / 3.672 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/9.253, allocations: 8 kB / 3.672 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/9.253, allocations: 0 / 3.672 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/9.254, allocations: 127.8 kB / 3.672 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/9.254, allocations: 0 / 3.672 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/9.255, allocations: 123.8 kB / 3.673 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/9.255, allocations: 31.97 kB / 3.673 GB, free: 134.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/9.255, allocations: 4 kB / 3.673 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000816/9.256, allocations: 0.5685 MB / 3.673 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/9.256, allocations: 7.984 kB / 3.673 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/9.256, allocations: 4 kB / 3.673 GB, free: 134.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/9.257, allocations: 127.8 kB / 3.673 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/9.257, allocations: 3.984 kB / 3.673 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/9.258, allocations: 119.8 kB / 3.673 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/9.258, allocations: 31.97 kB / 3.673 GB, free: 134 MB / 0.948 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 () * 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.0001583/9.258, allocations: 129.2 kB / 3.674 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/9.258, allocations: 102.7 kB / 3.674 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/9.26, allocations: 0.7523 MB / 3.674 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/9.26, allocations: 4 kB / 3.674 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/9.26, allocations: 0 / 3.674 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/9.26, allocations: 7.984 kB / 3.674 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/9.262, allocations: 1.89 MB / 3.676 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/9.262, allocations: 4 kB / 3.676 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005546/9.263, allocations: 120.1 kB / 3.676 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/9.263, allocations: 4 kB / 3.676 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/9.263, allocations: 19.98 kB / 3.676 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/9.263, allocations: 7.938 kB / 3.676 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/9.263, allocations: 0 / 3.676 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/9.264, allocations: 1.248 MB / 3.678 GB, free: 129.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/9.265, allocations: 303.6 kB / 3.678 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/9.265, allocations: 27.91 kB / 3.678 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009487/9.266, allocations: 83.97 kB / 3.678 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/9.266, allocations: 35.95 kB / 3.678 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/9.266, allocations: 23.98 kB / 3.678 GB, free: 129 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001037/9.267, allocations: 0.8637 MB / 3.679 GB, free: 128.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/9.267, allocations: 0 / 3.679 GB, free: 128.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002102/9.269, allocations: 0.6009 MB / 3.679 GB, free: 127.5 MB / 0.948 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 () * 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.004083/9.273, allocations: 3.944 MB / 3.683 GB, free: 123.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001462/9.275, allocations: 0.9514 MB / 3.684 GB, free: 122.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/9.275, allocations: 0 / 3.684 GB, free: 122.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003662/9.275, allocations: 288 kB / 3.685 GB, free: 122.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/9.278, allocations: 473.9 kB / 3.685 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/9.281, allocations: 1.537 MB / 3.687 GB, free: 120.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/9.281, allocations: 1.079 MB / 3.688 GB, free: 119 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001844/9.283, allocations: 419 kB / 3.688 GB, free: 118.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/9.284, allocations: 375.3 kB / 3.688 GB, free: 118.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.382e-06/9.284, allocations: 0 / 3.688 GB, free: 118.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08651/9.37, allocations: 60.21 MB / 3.747 GB, free: 58.24 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/9.37, allocations: 194.2 kB / 3.747 GB, free: 58.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.197/13.57, allocations: 0 / 3.747 GB, free: 58.02 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)