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.828/1.828, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001323/0.001322, allocations: 191.5 kB / 371.8 MB, free: 10.27 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.955/1.955, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001033/0.001034, allocations: 98.84 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005056, allocations: 11.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.955/6.255, allocations: 2.084 GB / 3.063 GB, free: 231.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/6.256, allocations: 97.12 kB / 3.063 GB, free: 231.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.72/8.976, allocations: 0.6057 GB / 3.669 GB, free: 194.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.274e-06/8.976, allocations: 2.875 kB / 3.669 GB, free: 194.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002704/8.977, allocations: 31.88 kB / 3.669 GB, free: 194.3 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.007833/8.985, allocations: 1.718 MB / 3.671 GB, free: 193.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/8.985, allocations: 10.34 kB / 3.671 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004801/8.985, allocations: 90.94 kB / 3.671 GB, free: 193.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/8.989, allocations: 245 kB / 3.671 GB, free: 193.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004382/8.993, allocations: 1.062 MB / 3.672 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/8.993, allocations: 45.22 kB / 3.672 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/8.993, allocations: 66.47 kB / 3.672 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/8.996, allocations: 0.7155 MB / 3.673 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/8.996, allocations: 1.875 kB / 3.673 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/8.996, allocations: 16.48 kB / 3.673 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/8.996, allocations: 12.25 kB / 3.673 GB, free: 193.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/8.998, allocations: 0.6557 MB / 3.673 GB, free: 193.4 MB / 0.948 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.007942/9.006, allocations: 2.742 MB / 3.676 GB, free: 192.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/9.007, allocations: 0.5732 MB / 3.677 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004773/9.008, allocations: 292.8 kB / 3.677 GB, free: 192.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/9.008, allocations: 37.44 kB / 3.677 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001741/9.01, allocations: 228.4 kB / 3.677 GB, free: 192.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 6.382e-06/9.01, allocations: 1.188 kB / 3.677 GB, free: 192.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.003556/9.013, allocations: 1.058 MB / 3.678 GB, free: 192.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/9.013, allocations: 136.3 kB / 3.678 GB, free: 192 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/9.016, allocations: 1.134 MB / 3.679 GB, free: 191.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001912/9.017, allocations: 39.23 kB / 3.68 GB, free: 191.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/9.017, allocations: 460.3 kB / 3.68 GB, free: 191.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/9.017, allocations: 140.8 kB / 3.68 GB, free: 191.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/9.017, allocations: 9.188 kB / 3.68 GB, free: 191.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/9.018, allocations: 321.3 kB / 3.68 GB, free: 191.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006108/9.018, allocations: 295 kB / 3.681 GB, free: 191.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008449/9.019, allocations: 0.5243 MB / 3.681 GB, free: 191.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/9.02, allocations: 342.1 kB / 3.682 GB, free: 191 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/9.02, allocations: 3.797 kB / 3.682 GB, free: 191 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001975/9.022, allocations: 0.7986 MB / 3.682 GB, free: 190.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.916e-05/9.022, allocations: 94.64 kB / 3.682 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/9.022, allocations: 6.719 kB / 3.682 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/9.022, allocations: 7.531 kB / 3.682 GB, free: 190.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/9.023, allocations: 125.5 kB / 3.683 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/9.023, allocations: 2.484 kB / 3.683 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/9.024, allocations: 120.2 kB / 3.683 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/9.025, allocations: 29.95 kB / 3.683 GB, free: 190.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/9.025, allocations: 4.312 kB / 3.683 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001312/9.026, allocations: 0.6691 MB / 3.683 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/9.026, allocations: 5.312 kB / 3.683 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.331e-06/9.026, allocations: 3.406 kB / 3.683 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/9.027, allocations: 125.5 kB / 3.683 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/9.027, allocations: 0 / 3.683 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/9.028, allocations: 122.7 kB / 3.684 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.519e-05/9.029, allocations: 33.64 kB / 3.684 GB, free: 190.8 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 () * 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.0006954/9.029, allocations: 343.3 kB / 3.684 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/9.03, allocations: 102.8 kB / 3.684 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/9.032, allocations: 0.8454 MB / 3.685 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/9.032, allocations: 7.234 kB / 3.685 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/9.032, allocations: 3.812 kB / 3.685 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/9.032, allocations: 2.906 kB / 3.685 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005672/9.038, allocations: 1.992 MB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/9.038, allocations: 3.594 kB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/9.039, allocations: 118.1 kB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/9.039, allocations: 3.469 kB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/9.039, allocations: 17.77 kB / 3.687 GB, free: 190.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/9.039, allocations: 11.61 kB / 3.687 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/9.039, allocations: 6.656 kB / 3.687 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/9.042, allocations: 1.393 MB / 3.688 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/9.043, allocations: 298.8 kB / 3.689 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005328/9.043, allocations: 10.28 kB / 3.689 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/9.045, allocations: 83.62 kB / 3.689 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/9.045, allocations: 47.48 kB / 3.689 GB, free: 189.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-05/9.046, allocations: 27.52 kB / 3.689 GB, free: 189.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002355/9.048, allocations: 0.8902 MB / 3.69 GB, free: 189.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.51e-07/9.048, allocations: 0.9375 kB / 3.69 GB, free: 189.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00397/9.052, allocations: 0.6053 MB / 3.69 GB, free: 189.4 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 () * 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.007255/9.059, allocations: 4.095 MB / 3.694 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002863/9.062, allocations: 1.047 MB / 3.695 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/9.062, allocations: 1.219 kB / 3.695 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000769/9.063, allocations: 355 kB / 3.696 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/9.066, allocations: 475.4 kB / 3.696 GB, free: 187.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006139/9.072, allocations: 2.52 MB / 3.699 GB, free: 186.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/9.073, allocations: 1.072 MB / 3.7 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002268/9.075, allocations: 294 kB / 3.7 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/9.077, allocations: 404.2 kB / 3.7 GB, free: 185.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.384e-06/9.077, allocations: 0 / 3.7 GB, free: 185.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/9.188, allocations: 54.09 MB / 3.753 GB, free: 184.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/9.188, allocations: 228.2 kB / 3.753 GB, free: 184.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.033/13.22, allocations: 0 / 3.753 GB, free: 184.2 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)