Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001515/0.001514, allocations: 182.3 kB / 377.1 MB, free: 1.547 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.02/2.02, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.0009116/0.0009114, allocations: 92.94 kB / 0.7509 GB, free: 63.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004421, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3594, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.406/6.765, allocations: 2.086 GB / 3.074 GB, free: 133 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/6.765, allocations: 101.3 kB / 3.074 GB, free: 132.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.04/9.805, allocations: 0.7444 GB / 3.819 GB, free: 104.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.875e-06/9.805, allocations: 0 / 3.819 GB, free: 104.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003175/9.806, allocations: 39.94 kB / 3.819 GB, free: 104.2 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.008025/9.814, allocations: 2.105 MB / 3.821 GB, free: 102 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/9.814, allocations: 8.031 kB / 3.821 GB, free: 102 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004911/9.814, allocations: 114.4 kB / 3.821 GB, free: 101.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003631/9.818, allocations: 298.9 kB / 3.821 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004709/9.823, allocations: 1.378 MB / 3.822 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.254e-05/9.823, allocations: 61.31 kB / 3.822 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004002/9.823, allocations: 79.98 kB / 3.823 GB, free: 100 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/9.825, allocations: 0.9573 MB / 3.823 GB, free: 99.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/9.825, allocations: 0 / 3.823 GB, free: 99.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/9.826, allocations: 28 kB / 3.823 GB, free: 99.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/9.826, allocations: 12.86 kB / 3.823 GB, free: 99 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/9.827, allocations: 0.8679 MB / 3.824 GB, free: 98.14 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.008042/9.835, allocations: 3.574 MB / 3.828 GB, free: 94.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/9.837, allocations: 0.8019 MB / 3.829 GB, free: 93.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004066/9.837, allocations: 288.2 kB / 3.829 GB, free: 93.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/9.837, allocations: 43 kB / 3.829 GB, free: 93.18 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002009/9.839, allocations: 331.3 kB / 3.829 GB, free: 92.86 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 6.742e-06/9.839, allocations: 0 / 3.829 GB, free: 92.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.003431/9.843, allocations: 1.344 MB / 3.831 GB, free: 91.51 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/9.843, allocations: 222 kB / 3.831 GB, free: 91.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/9.846, allocations: 1.476 MB / 3.832 GB, free: 89.75 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/9.846, allocations: 45.7 kB / 3.832 GB, free: 89.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005423/9.847, allocations: 0.5586 MB / 3.833 GB, free: 89.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/9.847, allocations: 177.4 kB / 3.833 GB, free: 88.96 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/9.847, allocations: 12 kB / 3.833 GB, free: 88.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001014/9.847, allocations: 330 kB / 3.833 GB, free: 88.62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007289/9.848, allocations: 380.9 kB / 3.834 GB, free: 88.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009794/9.849, allocations: 0.7112 MB / 3.834 GB, free: 87.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/9.85, allocations: 464 kB / 3.835 GB, free: 86.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/9.85, allocations: 0 / 3.835 GB, free: 86.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002273/9.852, allocations: 1.059 MB / 3.836 GB, free: 85.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-05/9.852, allocations: 103.4 kB / 3.836 GB, free: 85.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/9.852, allocations: 4 kB / 3.836 GB, free: 85.78 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/9.852, allocations: 0 / 3.836 GB, free: 85.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000898/9.853, allocations: 159.8 kB / 3.836 GB, free: 85.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/9.853, allocations: 7.984 kB / 3.836 GB, free: 85.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/9.856, allocations: 151.8 kB / 3.836 GB, free: 85.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/9.856, allocations: 43.95 kB / 3.836 GB, free: 85.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/9.856, allocations: 4 kB / 3.836 GB, free: 85.42 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001665/9.858, allocations: 0.8993 MB / 3.837 GB, free: 84.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/9.858, allocations: 4 kB / 3.837 GB, free: 84.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/9.858, allocations: 7.891 kB / 3.837 GB, free: 84.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008159/9.859, allocations: 163.8 kB / 3.837 GB, free: 84.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/9.859, allocations: 0 / 3.837 GB, free: 84.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/9.861, allocations: 159.7 kB / 3.837 GB, free: 84.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/9.861, allocations: 43.95 kB / 3.838 GB, free: 84.15 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0008933/9.862, allocations: 380.9 kB / 3.838 GB, free: 83.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005575/9.862, allocations: 138.3 kB / 3.838 GB, free: 83.63 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/9.865, allocations: 1.071 MB / 3.839 GB, free: 82.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/9.865, allocations: 11.95 kB / 3.839 GB, free: 82.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/9.865, allocations: 0 / 3.839 GB, free: 82.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/9.865, allocations: 4 kB / 3.839 GB, free: 82.53 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 postOpt removeSimpleEquations (simulation): time 0.004944/9.87, allocations: 2.522 MB / 3.842 GB, free: 79.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/9.87, allocations: 4 kB / 3.842 GB, free: 79.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007531/9.871, allocations: 144.1 kB / 3.842 GB, free: 79.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/9.871, allocations: 4 kB / 3.842 GB, free: 79.76 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/9.871, allocations: 19.98 kB / 3.842 GB, free: 79.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/9.871, allocations: 7.938 kB / 3.842 GB, free: 79.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/9.871, allocations: 4 kB / 3.842 GB, free: 79.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/9.873, allocations: 1.701 MB / 3.843 GB, free: 77.92 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/9.874, allocations: 371.2 kB / 3.844 GB, free: 77.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000538/9.875, allocations: 19.98 kB / 3.844 GB, free: 77.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/9.877, allocations: 103.8 kB / 3.844 GB, free: 77.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/9.877, allocations: 44.36 kB / 3.844 GB, free: 77.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.497e-05/9.877, allocations: 32.08 kB / 3.844 GB, free: 77.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002477/9.88, allocations: 1.164 MB / 3.845 GB, free: 76.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/9.88, allocations: 0 / 3.845 GB, free: 76.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003583/9.883, allocations: 0.7375 MB / 3.846 GB, free: 75.44 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.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 (63): * Single equations (assignments): 63 * 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.007049/9.89, allocations: 4.632 MB / 3.85 GB, free: 70.64 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002755/9.893, allocations: 1.426 MB / 3.852 GB, free: 69.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/9.893, allocations: 3.984 kB / 3.852 GB, free: 69.19 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007301/9.894, allocations: 430.7 kB / 3.852 GB, free: 68.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003962/9.898, allocations: 0.5895 MB / 3.853 GB, free: 68.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008409/9.906, allocations: 3.175 MB / 3.856 GB, free: 64.93 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009888/9.907, allocations: 1.192 MB / 3.857 GB, free: 63.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002605/9.91, allocations: 365.5 kB / 3.857 GB, free: 63.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/9.911, allocations: 0.5305 MB / 3.858 GB, free: 62.82 MB / 0.948 GB Notification: Performance of SimCode: time 2.034e-06/9.911, allocations: 0 / 3.858 GB, free: 62.82 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/10.02, allocations: 65.69 MB / 3.922 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/10.02, allocations: 234.5 kB / 3.922 GB, free: 13.17 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.268/14.29, allocations: 0 / 3.922 GB, free: 13.17 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)