Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.248/2.248, allocations: 248.7 MB / 256.2 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.001529, allocations: 181.3 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.485/2.485, allocations: 205.3 MB / 0.5662 GB, free: 0.625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 90.45 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.112e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2184, allocations: 106.2 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.244/7.463, allocations: 2.203 GB / 3.087 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/7.463, allocations: 93.19 kB / 3.087 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.609/11.07, allocations: 0.7114 GB / 3.798 GB, free: 114 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.244e-06/11.07, allocations: 0 / 3.798 GB, free: 114 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002227/11.07, allocations: 37.66 kB / 3.798 GB, free: 113.9 MB / 0.8698 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.005639/11.08, allocations: 1.582 MB / 3.8 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/11.08, allocations: 12.02 kB / 3.8 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005007/11.08, allocations: 313.4 kB / 3.8 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004584/11.09, allocations: 1.339 MB / 3.801 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/11.09, allocations: 20 kB / 3.802 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/11.09, allocations: 48 kB / 3.802 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001876/11.09, allocations: 0.7367 MB / 3.802 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/11.09, allocations: 0.8115 MB / 3.803 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/11.09, allocations: 0 / 3.803 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/11.09, allocations: 0 / 3.803 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/11.09, allocations: 16 kB / 3.803 GB, free: 109 MB / 0.8698 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.009223/11.1, allocations: 3.395 MB / 3.806 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/11.1, allocations: 0.7114 MB / 3.807 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007618/11.1, allocations: 398 kB / 3.807 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005037/11.1, allocations: 301.9 kB / 3.808 GB, free: 104 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/11.1, allocations: 39 kB / 3.808 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002777/11.11, allocations: 307 kB / 3.808 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 4.99e-06/11.11, allocations: 0 / 3.808 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.002902/11.11, allocations: 0.8693 MB / 3.809 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/11.11, allocations: 218 kB / 3.809 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/11.11, allocations: 1.249 MB / 3.81 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002805/11.11, allocations: 33.7 kB / 3.81 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/11.11, allocations: 0.5664 MB / 3.811 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/11.11, allocations: 177.3 kB / 3.811 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/11.11, allocations: 0 / 3.811 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.622e-05/11.11, allocations: 329.9 kB / 3.811 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007087/11.11, allocations: 329 kB / 3.812 GB, free: 99.81 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000962/11.12, allocations: 0.6417 MB / 3.812 GB, free: 99.04 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/11.12, allocations: 403.5 kB / 3.813 GB, free: 98.65 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/11.12, allocations: 3.984 kB / 3.813 GB, free: 98.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002594/11.12, allocations: 0.9191 MB / 3.814 GB, free: 97.72 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/11.12, allocations: 104.6 kB / 3.814 GB, free: 97.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/11.12, allocations: 0 / 3.814 GB, free: 97.61 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/11.12, allocations: 4 kB / 3.814 GB, free: 97.61 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/11.12, allocations: 168.2 kB / 3.814 GB, free: 97.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/11.12, allocations: 0 / 3.814 GB, free: 97.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/11.12, allocations: 143.8 kB / 3.814 GB, free: 97.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/11.12, allocations: 39.95 kB / 3.814 GB, free: 97.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/11.12, allocations: 4 kB / 3.814 GB, free: 97.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00194/11.13, allocations: 0.751 MB / 3.815 GB, free: 96.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/11.13, allocations: 4 kB / 3.815 GB, free: 96.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/11.13, allocations: 4 kB / 3.815 GB, free: 96.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/11.13, allocations: 163.7 kB / 3.815 GB, free: 96.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/11.13, allocations: 7.953 kB / 3.815 GB, free: 96.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/11.13, allocations: 135.8 kB / 3.815 GB, free: 96.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/11.13, allocations: 43.95 kB / 3.815 GB, free: 96.16 MB / 0.8698 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 (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.0002962/11.13, allocations: 119.6 kB / 3.815 GB, free: 96.04 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002174/11.13, allocations: 0.8185 MB / 3.816 GB, free: 95.21 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/11.13, allocations: 122.5 kB / 3.816 GB, free: 95.09 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/11.14, allocations: 0.9248 MB / 3.817 GB, free: 94.16 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/11.14, allocations: 4 kB / 3.817 GB, free: 94.16 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/11.14, allocations: 0 / 3.817 GB, free: 94.16 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/11.14, allocations: 7.984 kB / 3.817 GB, free: 94.15 MB / 0.8698 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 postOpt removeSimpleEquations (simulation): time 0.005119/11.14, allocations: 2.277 MB / 3.819 GB, free: 91.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/11.14, allocations: 0 / 3.819 GB, free: 91.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001373/11.14, allocations: 140.1 kB / 3.819 GB, free: 91.67 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/11.14, allocations: 4 kB / 3.819 GB, free: 91.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.5e-05/11.14, allocations: 15.98 kB / 3.82 GB, free: 91.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/11.14, allocations: 4 kB / 3.82 GB, free: 91.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/11.14, allocations: 4 kB / 3.82 GB, free: 91.64 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/11.15, allocations: 1.488 MB / 3.821 GB, free: 90.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/11.15, allocations: 363.2 kB / 3.821 GB, free: 89.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003696/11.15, allocations: 8 kB / 3.821 GB, free: 89.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/11.15, allocations: 91.78 kB / 3.821 GB, free: 89.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/11.15, allocations: 56.39 kB / 3.821 GB, free: 89.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.384e-05/11.15, allocations: 27.98 kB / 3.821 GB, free: 89.52 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002152/11.15, allocations: 0.962 MB / 3.822 GB, free: 88.55 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.51e-07/11.15, allocations: 3.938 kB / 3.822 GB, free: 88.55 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003131/11.16, allocations: 0.6785 MB / 3.823 GB, free: 87.87 MB / 0.8698 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 () * 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.00635/11.16, allocations: 4.634 MB / 3.828 GB, free: 83.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002808/11.17, allocations: 1.279 MB / 3.829 GB, free: 81.99 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/11.17, allocations: 0 / 3.829 GB, free: 81.99 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007612/11.17, allocations: 365.8 kB / 3.829 GB, free: 81.63 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004609/11.17, allocations: 498 kB / 3.83 GB, free: 81.15 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005386/11.18, allocations: 1.906 MB / 3.832 GB, free: 79.17 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/11.18, allocations: 1.198 MB / 3.833 GB, free: 77.94 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003821/11.18, allocations: 493 kB / 3.833 GB, free: 77.45 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/11.18, allocations: 499.2 kB / 3.834 GB, free: 76.97 MB / 0.8698 GB Notification: Performance of SimCode: time 1.122e-06/11.18, allocations: 0 / 3.834 GB, free: 76.97 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1364/11.32, allocations: 49.47 MB / 3.882 GB, free: 27.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003254/11.32, allocations: 179.2 kB / 3.882 GB, free: 27.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.005/16.32, allocations: 5.625 kB / 3.882 GB, free: 27.54 MB / 0.8698 GB