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.664/1.664, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001174/0.001174, allocations: 180.9 kB / 361.4 MB, free: 6.812 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.664/1.664, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009087/0.0009086, allocations: 97.78 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.248e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.7581, allocations: 115.3 MB / 0.9644 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.736/6.494, allocations: 2.083 GB / 3.047 GB, free: 32.14 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/6.494, allocations: 95.19 kB / 3.047 GB, free: 32.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.532/9.026, allocations: 0.5982 GB / 3.646 GB, free: 179.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.803e-06/9.026, allocations: 4 kB / 3.646 GB, free: 179.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002112/9.027, allocations: 31.67 kB / 3.646 GB, free: 179.1 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.004241/9.031, allocations: 1.326 MB / 3.647 GB, free: 177.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/9.031, allocations: 12.03 kB / 3.647 GB, free: 177.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/9.034, allocations: 243.2 kB / 3.647 GB, free: 177.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/9.037, allocations: 1.047 MB / 3.648 GB, free: 176.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/9.037, allocations: 16 kB / 3.648 GB, free: 176.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/9.037, allocations: 36 kB / 3.648 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001057/9.038, allocations: 0.5336 MB / 3.649 GB, free: 175.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/9.039, allocations: 0.5962 MB / 3.649 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/9.039, allocations: 3.984 kB / 3.649 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/9.04, allocations: 3.938 kB / 3.649 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/9.04, allocations: 12 kB / 3.649 GB, free: 175.2 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.005145/9.045, allocations: 2.601 MB / 3.652 GB, free: 172.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007803/9.046, allocations: 0.5061 MB / 3.652 GB, free: 171.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/9.046, allocations: 317.3 kB / 3.653 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003885/9.046, allocations: 291.1 kB / 3.653 GB, free: 171.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/9.046, allocations: 38.56 kB / 3.653 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001217/9.048, allocations: 203.3 kB / 3.653 GB, free: 171 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 6.692e-06/9.048, allocations: 0 / 3.653 GB, free: 171 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.001758/9.049, allocations: 0.6726 MB / 3.654 GB, free: 170.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/9.049, allocations: 132.5 kB / 3.654 GB, free: 170.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/9.051, allocations: 0.9618 MB / 3.655 GB, free: 169.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001805/9.051, allocations: 29.7 kB / 3.655 GB, free: 169.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/9.052, allocations: 458 kB / 3.655 GB, free: 168.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/9.052, allocations: 141.8 kB / 3.655 GB, free: 168.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/9.052, allocations: 0 / 3.655 GB, free: 168.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/9.052, allocations: 322 kB / 3.656 GB, free: 168.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/9.052, allocations: 244.7 kB / 3.656 GB, free: 168 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/9.053, allocations: 466.7 kB / 3.656 GB, free: 167.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/9.053, allocations: 294.5 kB / 3.657 GB, free: 167.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/9.053, allocations: 0 / 3.657 GB, free: 167.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001237/9.054, allocations: 0.6784 MB / 3.657 GB, free: 166.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/9.054, allocations: 94.89 kB / 3.658 GB, free: 166.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/9.054, allocations: 8 kB / 3.658 GB, free: 166.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/9.055, allocations: 0 / 3.658 GB, free: 166.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/9.055, allocations: 131.8 kB / 3.658 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/9.055, allocations: 0 / 3.658 GB, free: 166.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/9.057, allocations: 111.7 kB / 3.658 GB, free: 166.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/9.057, allocations: 31.97 kB / 3.658 GB, free: 166.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/9.057, allocations: 4 kB / 3.658 GB, free: 166.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008183/9.058, allocations: 0.5411 MB / 3.658 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/9.058, allocations: 4 kB / 3.658 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.041e-06/9.058, allocations: 3.953 kB / 3.658 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/9.058, allocations: 123.8 kB / 3.658 GB, free: 165.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/9.058, allocations: 3.984 kB / 3.658 GB, free: 165.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/9.06, allocations: 103.9 kB / 3.659 GB, free: 165.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.018e-05/9.06, allocations: 31.97 kB / 3.659 GB, free: 165.3 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.0001758/9.06, allocations: 113.2 kB / 3.659 GB, free: 165.2 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001016/9.061, allocations: 0.625 MB / 3.659 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/9.061, allocations: 106.7 kB / 3.659 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/9.063, allocations: 0.7049 MB / 3.66 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/9.063, allocations: 8 kB / 3.66 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/9.063, allocations: 0 / 3.66 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/9.063, allocations: 0 / 3.66 GB, free: 163.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/9.065, allocations: 1.794 MB / 3.662 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/9.065, allocations: 0 / 3.662 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/9.066, allocations: 124.1 kB / 3.662 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/9.066, allocations: 7.938 kB / 3.662 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/9.066, allocations: 11.98 kB / 3.662 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/9.066, allocations: 4 kB / 3.662 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/9.066, allocations: 3.938 kB / 3.662 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/9.067, allocations: 1.189 MB / 3.663 GB, free: 160.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005197/9.068, allocations: 299.7 kB / 3.663 GB, free: 160.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/9.068, allocations: 7.953 kB / 3.663 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/9.069, allocations: 75.88 kB / 3.664 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/9.069, allocations: 43.88 kB / 3.664 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/9.069, allocations: 23.98 kB / 3.664 GB, free: 160 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001085/9.071, allocations: 0.7474 MB / 3.664 GB, free: 159.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/9.071, allocations: 0 / 3.664 GB, free: 159.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002156/9.073, allocations: 0.5498 MB / 3.665 GB, free: 158.7 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.004259/9.077, allocations: 4.111 MB / 3.669 GB, free: 154.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001375/9.078, allocations: 0.9101 MB / 3.67 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/9.078, allocations: 0 / 3.67 GB, free: 153.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/9.079, allocations: 280.2 kB / 3.67 GB, free: 153.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/9.081, allocations: 405.5 kB / 3.67 GB, free: 153 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/9.085, allocations: 1.47 MB / 3.672 GB, free: 151.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/9.086, allocations: 1.079 MB / 3.673 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00213/9.088, allocations: 378 kB / 3.673 GB, free: 150 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/9.088, allocations: 375.3 kB / 3.674 GB, free: 149.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.082e-06/9.088, allocations: 0 / 3.674 GB, free: 149.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08548/9.174, allocations: 40.15 MB / 3.713 GB, free: 109.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/9.174, allocations: 181.8 kB / 3.713 GB, free: 109.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.657/12.83, allocations: 0 / 3.713 GB, free: 109.5 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)