Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.793/2.793, allocations: 284.9 MB / 292.4 MB, free: 10.47 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.001556/0.001556, allocations: 176.8 kB / 360.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.116/2.116, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001144/0.001144, allocations: 91.27 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/3.011e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8567/0.8568, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.157/7.013, allocations: 2.083 GB / 3.046 GB, free: 35.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/7.014, allocations: 95.62 kB / 3.046 GB, free: 35.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.293/10.31, allocations: 0.5982 GB / 3.644 GB, free: 185.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.013e-06/10.31, allocations: 0 / 3.644 GB, free: 185.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001379/10.31, allocations: 27.59 kB / 3.644 GB, free: 185.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.005442/10.31, allocations: 1.335 MB / 3.646 GB, free: 184.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.71e-05/10.31, allocations: 16.03 kB / 3.646 GB, free: 184.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007602/10.32, allocations: 235.9 kB / 3.646 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005946/10.33, allocations: 1.049 MB / 3.647 GB, free: 182.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/10.33, allocations: 20 kB / 3.647 GB, free: 182.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/10.33, allocations: 36 kB / 3.647 GB, free: 182.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002223/10.33, allocations: 0.5375 MB / 3.648 GB, free: 182.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/10.33, allocations: 0.6001 MB / 3.648 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/10.33, allocations: 4 kB / 3.648 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.07e-05/10.33, allocations: 0 / 3.648 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/10.33, allocations: 12 kB / 3.648 GB, free: 181.6 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.007855/10.34, allocations: 2.603 MB / 3.651 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/10.34, allocations: 0.5033 MB / 3.651 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006671/10.34, allocations: 305.5 kB / 3.651 GB, free: 178.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005357/10.34, allocations: 290.7 kB / 3.652 GB, free: 177.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/10.34, allocations: 38.56 kB / 3.652 GB, free: 177.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002047/10.34, allocations: 202.6 kB / 3.652 GB, free: 177.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 7.223e-06/10.34, allocations: 3.984 kB / 3.652 GB, free: 177.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.002783/10.35, allocations: 0.6719 MB / 3.653 GB, free: 176.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/10.35, allocations: 140.5 kB / 3.653 GB, free: 176.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/10.35, allocations: 0.9619 MB / 3.654 GB, free: 175.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002714/10.35, allocations: 25.7 kB / 3.654 GB, free: 175.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/10.35, allocations: 455.6 kB / 3.654 GB, free: 175.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/10.35, allocations: 141.8 kB / 3.654 GB, free: 175.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/10.35, allocations: 0 / 3.654 GB, free: 175.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.498e-05/10.35, allocations: 325.9 kB / 3.655 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/10.35, allocations: 244.7 kB / 3.655 GB, free: 174.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007389/10.35, allocations: 470.7 kB / 3.655 GB, free: 173.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007611/10.35, allocations: 298.1 kB / 3.656 GB, free: 173.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/10.35, allocations: 0 / 3.656 GB, free: 173.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002052/10.35, allocations: 0.6745 MB / 3.656 GB, free: 173 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/10.35, allocations: 94.91 kB / 3.656 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/10.35, allocations: 4 kB / 3.656 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/10.35, allocations: 3.062 kB / 3.656 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/10.36, allocations: 127.8 kB / 3.656 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/10.36, allocations: 7.938 kB / 3.656 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/10.36, allocations: 111.7 kB / 3.657 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/10.36, allocations: 27.97 kB / 3.657 GB, free: 172.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/10.36, allocations: 7.953 kB / 3.657 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001483/10.36, allocations: 0.5412 MB / 3.657 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/10.36, allocations: 0 / 3.657 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-06/10.36, allocations: 4 kB / 3.657 GB, free: 172.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/10.36, allocations: 127.8 kB / 3.657 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/10.36, allocations: 4 kB / 3.657 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/10.36, allocations: 103.9 kB / 3.657 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/10.36, allocations: 27.97 kB / 3.657 GB, free: 171.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 () * 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.0002704/10.36, allocations: 120.4 kB / 3.657 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001863/10.37, allocations: 0.625 MB / 3.658 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/10.37, allocations: 94.78 kB / 3.658 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/10.37, allocations: 0.7128 MB / 3.659 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/10.37, allocations: 4 kB / 3.659 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/10.37, allocations: 0 / 3.659 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/10.37, allocations: 3.984 kB / 3.659 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004613/10.37, allocations: 1.787 MB / 3.661 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/10.37, allocations: 4 kB / 3.661 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/10.37, allocations: 120.1 kB / 3.661 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/10.37, allocations: 4 kB / 3.661 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/10.37, allocations: 12 kB / 3.661 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/10.37, allocations: 4 kB / 3.661 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.954e-06/10.37, allocations: 7.938 kB / 3.661 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/10.38, allocations: 1.189 MB / 3.662 GB, free: 166.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009989/10.38, allocations: 299.6 kB / 3.662 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/10.38, allocations: 7.984 kB / 3.662 GB, free: 166.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/10.38, allocations: 75.88 kB / 3.662 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/10.38, allocations: 39.95 kB / 3.662 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.443e-05/10.38, allocations: 23.98 kB / 3.662 GB, free: 166.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001629/10.38, allocations: 0.7435 MB / 3.663 GB, free: 165.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.92e-07/10.38, allocations: 0 / 3.663 GB, free: 165.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002844/10.39, allocations: 0.5576 MB / 3.664 GB, free: 165.2 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.005832/10.39, allocations: 4.105 MB / 3.668 GB, free: 161.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002161/10.39, allocations: 0.9101 MB / 3.669 GB, free: 160.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/10.39, allocations: 0 / 3.669 GB, free: 160.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006396/10.39, allocations: 280.1 kB / 3.669 GB, free: 159.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00413/10.4, allocations: 400.3 kB / 3.669 GB, free: 159.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/10.4, allocations: 1.489 MB / 3.671 GB, free: 158 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/10.4, allocations: 1.075 MB / 3.672 GB, free: 156.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00317/10.41, allocations: 386 kB / 3.672 GB, free: 156.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009175/10.41, allocations: 367.3 kB / 3.672 GB, free: 156.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.623e-06/10.41, allocations: 0 / 3.672 GB, free: 156.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/10.53, allocations: 40.16 MB / 3.712 GB, free: 116.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/10.53, allocations: 181.4 kB / 3.712 GB, free: 116 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.51/15.04, allocations: 3.938 kB / 3.712 GB, free: 115.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)