Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 185.8 kB / 326.6 MB, free: 2.238 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.075/2.075, allocations: 205.4 MB / 0.5777 GB, free: 20.59 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.0008594/0.0008594, allocations: 89.69 kB / 0.6823 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 9 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2312, allocations: 106.3 MB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7023/0.9335, allocations: 181.1 MB / 1.077 GB, free: 4.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01339/0.947, allocations: 8.4 MB / 1.085 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/0.9502, allocations: 39.84 kB / 1.085 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.9527, allocations: 459.8 kB / 1.086 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006572/0.9593, allocations: 1.35 MB / 1.087 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.9694, allocations: 2.394 MB / 1.09 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005486/0.9749, allocations: 3.09 MB / 1.093 GB, free: 3.676 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.9772, allocations: 1.142 MB / 1.094 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.9799, allocations: 1.055 MB / 1.095 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.9819, allocations: 1.028 MB / 1.096 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003793/0.9823, allocations: 78.03 kB / 1.096 GB, free: 3.512 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.985, allocations: 0.9843 MB / 1.097 GB, free: 3.496 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006255/0.9857, allocations: 440.8 kB / 1.097 GB, free: 3.492 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009883/0.9867, allocations: 283.2 kB / 1.097 GB, free: 19.46 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003668/0.9903, allocations: 1.986 MB / 1.099 GB, free: 19.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.9904, allocations: 7 kB / 1.099 GB, free: 19.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9904, allocations: 0 / 1.099 GB, free: 19.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.536e-05/0.9904, allocations: 0 / 1.099 GB, free: 19.33 MB / 0.7136 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.005879/0.9963, allocations: 1.892 MB / 1.101 GB, free: 18.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.9964, allocations: 9.969 kB / 1.101 GB, free: 18.39 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002563/0.9967, allocations: 110.5 kB / 1.101 GB, free: 18.35 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.9979, allocations: 234.1 kB / 1.102 GB, free: 18.26 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/1, allocations: 1.277 MB / 1.103 GB, free: 17.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/1.001, allocations: 72.44 kB / 1.103 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/1.001, allocations: 86.81 kB / 1.103 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/1.003, allocations: 0.9263 MB / 1.104 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/1.003, allocations: 0 / 1.104 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/1.003, allocations: 24.75 kB / 1.104 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/1.003, allocations: 12.69 kB / 1.104 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/1.004, allocations: 0.849 MB / 1.105 GB, free: 17.79 MB / 0.7136 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.00593/1.01, allocations: 3.517 MB / 1.108 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/1.012, allocations: 0.7703 MB / 1.109 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007245/1.012, allocations: 453.7 kB / 1.109 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/1.013, allocations: 289 kB / 1.11 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/1.013, allocations: 42.31 kB / 1.11 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001161/1.014, allocations: 240.2 kB / 1.11 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 2.605e-06/1.014, allocations: 0 / 1.11 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.002737/1.017, allocations: 1.348 MB / 1.111 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/1.017, allocations: 211.2 kB / 1.111 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/1.019, allocations: 1.669 MB / 1.113 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/1.02, allocations: 41.8 kB / 1.113 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/1.02, allocations: 0.5638 MB / 1.114 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/1.02, allocations: 185.8 kB / 1.114 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/1.02, allocations: 12.72 kB / 1.114 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.02, allocations: 327.6 kB / 1.114 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006835/1.021, allocations: 388.3 kB / 1.114 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009741/1.022, allocations: 0.6929 MB / 1.115 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000837/1.023, allocations: 464.8 kB / 1.116 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/1.023, allocations: 2.938 kB / 1.116 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002266/1.025, allocations: 1.05 MB / 1.117 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-05/1.025, allocations: 104.4 kB / 1.117 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/1.025, allocations: 0 / 1.117 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/1.025, allocations: 6.891 kB / 1.117 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/1.026, allocations: 164.7 kB / 1.117 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/1.026, allocations: 5.922 kB / 1.117 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/1.028, allocations: 155.6 kB / 1.117 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/1.028, allocations: 32.78 kB / 1.117 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/1.028, allocations: 5.828 kB / 1.117 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001621/1.03, allocations: 0.8981 MB / 1.118 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.03, allocations: 6.578 kB / 1.118 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/1.03, allocations: 0 / 1.118 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/1.031, allocations: 156.5 kB / 1.118 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/1.031, allocations: 2.938 kB / 1.118 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.032, allocations: 161.3 kB / 1.118 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-05/1.032, allocations: 34.58 kB / 1.118 GB, free: 14.51 MB / 0.7136 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.0006498/1.033, allocations: 389.3 kB / 1.119 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/1.033, allocations: 133.8 kB / 1.119 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/1.035, allocations: 1.049 MB / 1.12 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.035, allocations: 9.406 kB / 1.12 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.035, allocations: 3.984 kB / 1.12 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.035, allocations: 3.188 kB / 1.12 GB, free: 14.16 MB / 0.7136 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.003907/1.039, allocations: 2.485 MB / 1.122 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/1.039, allocations: 6.344 kB / 1.122 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/1.04, allocations: 129.4 kB / 1.122 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/1.04, allocations: 4.719 kB / 1.122 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/1.04, allocations: 21.92 kB / 1.122 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/1.04, allocations: 8.531 kB / 1.122 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.04, allocations: 9.781 kB / 1.122 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/1.044, allocations: 1.566 MB / 1.124 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007991/1.044, allocations: 355.3 kB / 1.124 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/1.045, allocations: 17.34 kB / 1.124 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/1.046, allocations: 100.1 kB / 1.124 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/1.046, allocations: 49.75 kB / 1.124 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.651e-05/1.046, allocations: 27.27 kB / 1.124 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001972/1.048, allocations: 1.187 MB / 1.126 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.2e-07/1.048, allocations: 0 / 1.126 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001555/1.05, allocations: 0.5562 MB / 1.126 GB, free: 12.39 MB / 0.7136 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.003144/1.053, allocations: 2.28 MB / 1.128 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002526/1.055, allocations: 1.443 MB / 1.13 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.055, allocations: 3.156 kB / 1.13 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007223/1.056, allocations: 437.9 kB / 1.13 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/1.059, allocations: 0.5931 MB / 1.131 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/1.078, allocations: 9.18 MB / 1.14 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006779/1.078, allocations: 1.166 MB / 1.141 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001873/1.08, allocations: 380.9 kB / 1.141 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/1.081, allocations: 0.53 MB / 1.142 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of SimCode: time 1.583e-06/1.081, allocations: 0 / 1.142 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06577/1.147, allocations: 39.22 MB / 1.18 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/1.147, allocations: 246.2 kB / 1.18 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/4.499, allocations: 0 / 1.18 GB, free: 3.199 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)