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.373/2.373, allocations: 248.5 MB / 261.1 MB, free: 6.043 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.001488/0.001488, allocations: 178.6 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.2 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001114, allocations: 94.38 kB / 0.6754 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.63e-05/4.642e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2306, allocations: 106.3 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.497/7.728, allocations: 2.202 GB / 3.093 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/7.728, allocations: 95.31 kB / 3.093 GB, free: 130.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.639/11.37, allocations: 0.72 GB / 3.813 GB, free: 65.45 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.325e-06/11.37, allocations: 0 / 3.813 GB, free: 65.45 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002414/11.37, allocations: 36 kB / 3.813 GB, free: 65.41 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.005846/11.37, allocations: 1.584 MB / 3.815 GB, free: 63.78 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/11.37, allocations: 11.97 kB / 3.815 GB, free: 63.77 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003509/11.37, allocations: 110.5 kB / 3.815 GB, free: 63.65 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005154/11.38, allocations: 297.5 kB / 3.815 GB, free: 63.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004573/11.38, allocations: 1.344 MB / 3.816 GB, free: 61.96 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.812e-05/11.38, allocations: 53.31 kB / 3.816 GB, free: 61.91 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/11.38, allocations: 83.91 kB / 3.817 GB, free: 61.83 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/11.39, allocations: 0.8911 MB / 3.817 GB, free: 60.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/11.39, allocations: 4 kB / 3.817 GB, free: 60.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/11.39, allocations: 31.95 kB / 3.817 GB, free: 60.87 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/11.39, allocations: 16 kB / 3.817 GB, free: 60.85 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/11.39, allocations: 0.7587 MB / 3.818 GB, free: 60.09 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.00952/11.4, allocations: 3.57 MB / 3.822 GB, free: 56.36 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/11.4, allocations: 0.7299 MB / 3.822 GB, free: 55.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008684/11.4, allocations: 402 kB / 3.823 GB, free: 55.21 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005364/11.4, allocations: 295.7 kB / 3.823 GB, free: 54.86 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/11.4, allocations: 39 kB / 3.823 GB, free: 54.82 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002929/11.4, allocations: 331.2 kB / 3.823 GB, free: 54.49 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 6.873e-06/11.4, allocations: 8 kB / 3.823 GB, free: 54.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.003071/11.41, allocations: 0.8848 MB / 3.824 GB, free: 53.59 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/11.41, allocations: 210.1 kB / 3.825 GB, free: 53.33 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/11.41, allocations: 1.432 MB / 3.826 GB, free: 51.89 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003709/11.41, allocations: 41.7 kB / 3.826 GB, free: 51.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006421/11.41, allocations: 0.5596 MB / 3.827 GB, free: 51.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/11.41, allocations: 185.3 kB / 3.827 GB, free: 51.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/11.41, allocations: 8 kB / 3.827 GB, free: 51.08 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.922e-05/11.41, allocations: 329.9 kB / 3.827 GB, free: 50.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008803/11.41, allocations: 337.5 kB / 3.827 GB, free: 50.42 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/11.42, allocations: 0.6482 MB / 3.828 GB, free: 49.65 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009687/11.42, allocations: 412.6 kB / 3.828 GB, free: 49.25 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/11.42, allocations: 0 / 3.828 GB, free: 49.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002934/11.42, allocations: 0.9503 MB / 3.829 GB, free: 48.29 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.388e-05/11.42, allocations: 101.4 kB / 3.829 GB, free: 48.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/11.42, allocations: 7.984 kB / 3.829 GB, free: 48.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/11.42, allocations: 0 / 3.829 GB, free: 48.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/11.42, allocations: 167.7 kB / 3.83 GB, free: 48.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/11.42, allocations: 4 kB / 3.83 GB, free: 48.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003398/11.42, allocations: 155.6 kB / 3.83 GB, free: 47.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/11.42, allocations: 39.95 kB / 3.83 GB, free: 47.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/11.43, allocations: 10.03 kB / 3.83 GB, free: 47.81 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002169/11.43, allocations: 0.7901 MB / 3.831 GB, free: 47.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/11.43, allocations: 0 / 3.831 GB, free: 47.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/11.43, allocations: 4 kB / 3.831 GB, free: 47.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/11.43, allocations: 159.7 kB / 3.831 GB, free: 46.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/11.43, allocations: 4 kB / 3.831 GB, free: 46.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/11.43, allocations: 159.5 kB / 3.831 GB, free: 46.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002755/11.43, allocations: 39.95 kB / 3.831 GB, free: 46.66 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.0003408/11.43, allocations: 135.2 kB / 3.831 GB, free: 46.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000651/11.43, allocations: 138.3 kB / 3.831 GB, free: 46.38 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002952/11.44, allocations: 0.9727 MB / 3.832 GB, free: 45.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/11.44, allocations: 8 kB / 3.832 GB, free: 45.39 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/11.44, allocations: 0 / 3.832 GB, free: 45.39 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/11.44, allocations: 7.984 kB / 3.832 GB, free: 45.38 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.005959/11.44, allocations: 2.409 MB / 3.834 GB, free: 42.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/11.44, allocations: 3.938 kB / 3.834 GB, free: 42.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/11.44, allocations: 143.8 kB / 3.835 GB, free: 42.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/11.44, allocations: 4 kB / 3.835 GB, free: 42.72 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.51e-05/11.44, allocations: 24.23 kB / 3.835 GB, free: 42.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/11.44, allocations: 15.97 kB / 3.835 GB, free: 42.68 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/11.44, allocations: 0 / 3.835 GB, free: 42.68 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003374/11.45, allocations: 1.541 MB / 3.836 GB, free: 41.03 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/11.45, allocations: 371.2 kB / 3.836 GB, free: 40.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005497/11.45, allocations: 19.98 kB / 3.837 GB, free: 40.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/11.45, allocations: 103.7 kB / 3.837 GB, free: 40.52 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002739/11.45, allocations: 60.25 kB / 3.837 GB, free: 40.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/11.45, allocations: 27.98 kB / 3.837 GB, free: 40.44 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003057/11.46, allocations: 1.112 MB / 3.838 GB, free: 39.32 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.91e-07/11.46, allocations: 0 / 3.838 GB, free: 39.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003697/11.46, allocations: 0.7336 MB / 3.838 GB, free: 38.59 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.006844/11.47, allocations: 4.476 MB / 3.843 GB, free: 33.95 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00321/11.47, allocations: 1.318 MB / 3.844 GB, free: 32.61 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.557e-06/11.47, allocations: 0 / 3.844 GB, free: 32.61 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008897/11.47, allocations: 374.3 kB / 3.845 GB, free: 32.24 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005499/11.48, allocations: 0.5858 MB / 3.845 GB, free: 31.66 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006349/11.48, allocations: 1.971 MB / 3.847 GB, free: 29.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007296/11.48, allocations: 1.195 MB / 3.848 GB, free: 28.39 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004281/11.49, allocations: 0.5219 MB / 3.849 GB, free: 27.87 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/11.49, allocations: 0.4992 MB / 3.849 GB, free: 27.37 MB / 0.8698 GB Notification: Performance of SimCode: time 1.353e-06/11.49, allocations: 0 / 3.849 GB, free: 27.37 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8242/12.31, allocations: 72.78 MB / 3.92 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/12.31, allocations: 204.2 kB / 3.92 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.86/18.17, allocations: 0 / 3.92 GB, free: 159.9 MB / 0.8855 GB