Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 252 MB / 267 MB, free: 10.99 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.001195/0.001195, allocations: 178.7 kB / 326.6 MB, free: 2.254 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.056/2.056, allocations: 205.4 MB / 0.5777 GB, free: 20.29 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.001037/0.001037, allocations: 91.88 kB / 0.6823 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.0004231, allocations: 9.844 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.261, allocations: 106.3 MB / 0.9003 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7323/0.9934, allocations: 173 MB / 1.069 GB, free: 4.215 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01225/1.006, allocations: 7.239 MB / 1.076 GB, free: 4.023 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/1.008, allocations: 30.72 kB / 1.076 GB, free: 4.023 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/1.009, allocations: 367.3 kB / 1.077 GB, free: 4.016 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005015/1.014, allocations: 1.127 MB / 1.078 GB, free: 3.965 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008379/1.023, allocations: 2.042 MB / 1.08 GB, free: 3.891 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0047/1.028, allocations: 2.415 MB / 1.082 GB, free: 3.883 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/1.029, allocations: 0.8614 MB / 1.083 GB, free: 3.777 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/1.031, allocations: 0.8088 MB / 1.084 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/1.032, allocations: 0.7836 MB / 1.085 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/1.032, allocations: 57.53 kB / 1.085 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/1.035, allocations: 0.9124 MB / 1.085 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004012/1.035, allocations: 334 kB / 1.086 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003769/1.036, allocations: 226 kB / 1.086 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/1.038, allocations: 1.56 MB / 1.088 GB, free: 3.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.038, allocations: 0 / 1.088 GB, free: 3.621 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.426e-06/1.038, allocations: 3.344 kB / 1.088 GB, free: 3.621 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.663e-05/1.038, allocations: 0 / 1.088 GB, free: 3.621 MB / 0.698 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.005729/1.043, allocations: 1.538 MB / 1.089 GB, free: 18.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.619e-05/1.044, allocations: 8.625 kB / 1.089 GB, free: 18.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002779/1.044, allocations: 94.94 kB / 1.089 GB, free: 18.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/1.045, allocations: 190.8 kB / 1.089 GB, free: 18.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/1.048, allocations: 1.006 MB / 1.09 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/1.048, allocations: 62.56 kB / 1.09 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/1.048, allocations: 60.94 kB / 1.09 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/1.049, allocations: 0.6963 MB / 1.091 GB, free: 18.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.049, allocations: 0 / 1.091 GB, free: 18.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/1.049, allocations: 21.92 kB / 1.091 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/1.049, allocations: 15.66 kB / 1.091 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/1.051, allocations: 0.6383 MB / 1.092 GB, free: 18.27 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.005083/1.056, allocations: 2.683 MB / 1.094 GB, free: 17.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/1.057, allocations: 0.5594 MB / 1.095 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006238/1.058, allocations: 362.3 kB / 1.095 GB, free: 17.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004355/1.058, allocations: 293.4 kB / 1.096 GB, free: 17.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/1.058, allocations: 36.41 kB / 1.096 GB, free: 17.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009428/1.059, allocations: 169.5 kB / 1.096 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.826e-06/1.059, allocations: 1.859 kB / 1.096 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002231/1.061, allocations: 1.067 MB / 1.097 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/1.061, allocations: 134.2 kB / 1.097 GB, free: 16.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/1.063, allocations: 1.277 MB / 1.098 GB, free: 16.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/1.063, allocations: 38.52 kB / 1.098 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/1.064, allocations: 450.2 kB / 1.099 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/1.064, allocations: 149.9 kB / 1.099 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/1.064, allocations: 11.88 kB / 1.099 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.064, allocations: 326.1 kB / 1.099 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/1.065, allocations: 287.2 kB / 1.099 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007244/1.065, allocations: 0.5234 MB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/1.066, allocations: 343.1 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.066, allocations: 0 / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001582/1.068, allocations: 0.7906 MB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.37e-05/1.068, allocations: 100.4 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.068, allocations: 7.609 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.068, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006399/1.068, allocations: 120.5 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.068, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/1.07, allocations: 132.9 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/1.07, allocations: 22.27 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/1.07, allocations: 2.625 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/1.071, allocations: 0.6664 MB / 1.102 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.071, allocations: 7.984 kB / 1.102 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/1.071, allocations: 3.281 kB / 1.102 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/1.072, allocations: 120.9 kB / 1.102 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.072, allocations: 2.875 kB / 1.102 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/1.073, allocations: 126.3 kB / 1.102 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/1.073, allocations: 24.5 kB / 1.102 GB, free: 15.57 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 (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.0007516/1.074, allocations: 328.8 kB / 1.103 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/1.075, allocations: 107.9 kB / 1.103 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/1.076, allocations: 0.8337 MB / 1.104 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/1.076, allocations: 8.406 kB / 1.104 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/1.076, allocations: 0 / 1.104 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/1.076, allocations: 3.047 kB / 1.104 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/1.08, allocations: 1.976 MB / 1.105 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.08, allocations: 0 / 1.105 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/1.081, allocations: 115.6 kB / 1.106 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/1.081, allocations: 10.92 kB / 1.106 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/1.081, allocations: 14.77 kB / 1.106 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/1.081, allocations: 9.094 kB / 1.106 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.081, allocations: 2.938 kB / 1.106 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/1.083, allocations: 1.278 MB / 1.107 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006293/1.084, allocations: 293.2 kB / 1.107 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/1.084, allocations: 15.28 kB / 1.107 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.085, allocations: 84.38 kB / 1.107 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.956e-05/1.085, allocations: 43.41 kB / 1.107 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/1.085, allocations: 17.91 kB / 1.107 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001403/1.086, allocations: 0.9162 MB / 1.108 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/1.086, allocations: 0 / 1.108 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001401/1.088, allocations: 451.8 kB / 1.109 GB, free: 14.23 MB / 0.7136 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 () * Number of clocked 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.002812/1.091, allocations: 1.976 MB / 1.111 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00204/1.093, allocations: 1.062 MB / 1.112 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.093, allocations: 2.969 kB / 1.112 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006428/1.093, allocations: 354.4 kB / 1.112 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/1.096, allocations: 485 kB / 1.112 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/1.112, allocations: 6.928 MB / 1.119 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/1.113, allocations: 1.052 MB / 1.12 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001729/1.115, allocations: 302.3 kB / 1.12 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009156/1.116, allocations: 404 kB / 1.121 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.393e-06/1.116, allocations: 0 / 1.121 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06357/1.179, allocations: 30.63 MB / 1.151 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/1.18, allocations: 237.4 kB / 1.151 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/4.227, allocations: 0 / 1.151 GB, free: 7.5 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)