Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.85/1.85, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001443/0.001443, allocations: 179.9 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008997/0.0008996, allocations: 94.78 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003938, allocations: 14.78 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2357, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7437/0.9795, allocations: 157.9 MB / 1.134 GB, free: 384 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.9913, allocations: 7.202 MB / 1.141 GB, free: 15.83 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.9932, allocations: 31.22 kB / 1.141 GB, free: 15.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.9954, allocations: 0.6256 MB / 1.141 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00523/1.001, allocations: 1.443 MB / 1.143 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009581/1.01, allocations: 2.312 MB / 1.145 GB, free: 14.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00368/1.014, allocations: 1.321 MB / 1.146 GB, free: 13.19 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/1.015, allocations: 0.8696 MB / 1.147 GB, free: 12.63 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/1.017, allocations: 0.8536 MB / 1.148 GB, free: 12.12 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/1.019, allocations: 0.6347 MB / 1.149 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002199/1.019, allocations: 56.06 kB / 1.149 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/1.021, allocations: 0.7605 MB / 1.149 GB, free: 11.38 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003703/1.021, allocations: 318.6 kB / 1.15 GB, free: 11.16 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003364/1.022, allocations: 225.6 kB / 1.15 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002121/1.024, allocations: 1.516 MB / 1.151 GB, free: 9.957 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/1.024, allocations: 0 / 1.151 GB, free: 9.957 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.587e-06/1.024, allocations: 0 / 1.151 GB, free: 9.957 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.722e-05/1.024, allocations: 3.938 kB / 1.151 GB, free: 9.953 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.004167/1.028, allocations: 1.509 MB / 1.153 GB, free: 8.844 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/1.028, allocations: 12.7 kB / 1.153 GB, free: 8.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/1.028, allocations: 88.91 kB / 1.153 GB, free: 8.762 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009332/1.029, allocations: 188.7 kB / 1.153 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/1.033, allocations: 1.014 MB / 1.154 GB, free: 7.906 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/1.033, allocations: 51.3 kB / 1.154 GB, free: 7.887 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/1.033, allocations: 58.81 kB / 1.154 GB, free: 7.871 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/1.035, allocations: 0.6983 MB / 1.155 GB, free: 7.441 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/1.035, allocations: 0 / 1.155 GB, free: 7.441 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.036, allocations: 23.98 kB / 1.155 GB, free: 7.422 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/1.036, allocations: 16.16 kB / 1.155 GB, free: 7.418 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/1.038, allocations: 0.633 MB / 1.156 GB, free: 7.125 MB / 0.698 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.007657/1.045, allocations: 2.684 MB / 1.158 GB, free: 5.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/1.047, allocations: 0.5797 MB / 1.159 GB, free: 4.727 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/1.048, allocations: 17.81 kB / 1.159 GB, free: 4.719 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/1.048, allocations: 46.44 kB / 1.159 GB, free: 4.668 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001527/1.049, allocations: 164.1 kB / 1.159 GB, free: 4.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 7.754e-06/1.049, allocations: 0 / 1.159 GB, free: 4.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.004395/1.054, allocations: 1.06 MB / 1.16 GB, free: 4.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/1.054, allocations: 134.5 kB / 1.16 GB, free: 3.914 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003696/1.057, allocations: 1.273 MB / 1.161 GB, free: 3.219 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/1.058, allocations: 39.86 kB / 1.161 GB, free: 3.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/1.058, allocations: 459.8 kB / 1.162 GB, free: 2.785 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/1.059, allocations: 147.4 kB / 1.162 GB, free: 2.656 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/1.059, allocations: 5.062 kB / 1.162 GB, free: 2.652 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001762/1.059, allocations: 322.6 kB / 1.162 GB, free: 2.336 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.06, allocations: 291.6 kB / 1.163 GB, free: 2.199 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/1.061, allocations: 0.5241 MB / 1.163 GB, free: 1.785 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/1.062, allocations: 348.2 kB / 1.163 GB, free: 1.613 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.062, allocations: 1.031 kB / 1.163 GB, free: 1.613 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002996/1.065, allocations: 0.7983 MB / 1.164 GB, free: 1.211 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.937e-05/1.066, allocations: 94.3 kB / 1.164 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/1.066, allocations: 0 / 1.164 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/1.066, allocations: 2.625 kB / 1.164 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/1.067, allocations: 125.1 kB / 1.164 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/1.067, allocations: 6.938 kB / 1.164 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/1.069, allocations: 131.6 kB / 1.165 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.86e-05/1.07, allocations: 21.08 kB / 1.165 GB, free: 1.012 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/1.07, allocations: 6.844 kB / 1.165 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002311/1.072, allocations: 0.6707 MB / 1.165 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.072, allocations: 3.188 kB / 1.165 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/1.072, allocations: 3.984 kB / 1.165 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/1.073, allocations: 125.8 kB / 1.165 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/1.073, allocations: 3.953 kB / 1.165 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/1.076, allocations: 122.9 kB / 1.165 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.791e-05/1.076, allocations: 27.72 kB / 1.166 GB, free: 0.5742 MB / 0.698 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.0008543/1.077, allocations: 329.5 kB / 1.166 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005126/1.077, allocations: 104.2 kB / 1.166 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003129/1.08, allocations: 0.8367 MB / 1.167 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/1.08, allocations: 5.375 kB / 1.167 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.08, allocations: 7.891 kB / 1.167 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/1.08, allocations: 6.891 kB / 1.167 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005981/1.086, allocations: 1.971 MB / 1.169 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/1.086, allocations: 0 / 1.169 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009078/1.087, allocations: 115.5 kB / 1.169 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/1.087, allocations: 2.688 kB / 1.169 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.801e-05/1.087, allocations: 15.73 kB / 1.169 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/1.087, allocations: 9.844 kB / 1.169 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.739e-05/1.087, allocations: 6.438 kB / 1.169 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003401/1.091, allocations: 1.393 MB / 1.17 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009712/1.092, allocations: 290.3 kB / 1.17 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004264/1.092, allocations: 15.72 kB / 1.17 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.094, allocations: 76.69 kB / 1.171 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.094, allocations: 46.98 kB / 1.171 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/1.094, allocations: 22.91 kB / 1.171 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002349/1.097, allocations: 0.9173 MB / 1.172 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.4e-07/1.097, allocations: 0 / 1.172 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002492/1.099, allocations: 444.9 kB / 1.172 GB, free: 12.51 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.005324/1.104, allocations: 2.714 MB / 1.175 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003712/1.108, allocations: 1.055 MB / 1.176 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.108, allocations: 3.125 kB / 1.176 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.109, allocations: 355.6 kB / 1.176 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00467/1.114, allocations: 475.6 kB / 1.176 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007778/1.122, allocations: 2.947 MB / 1.179 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/1.123, allocations: 1.074 MB / 1.18 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002647/1.126, allocations: 297.6 kB / 1.181 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.127, allocations: 401.1 kB / 1.181 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of SimCode: time 1.673e-06/1.127, allocations: 4 kB / 1.181 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07523/1.202, allocations: 30.04 MB / 1.21 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/1.203, allocations: 235.9 kB / 1.211 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.104/4.306, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)