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.334/1.334, allocations: 251.5 MB / 266.7 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.0009969/0.0009969, allocations: 175.5 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205 MB / 0.576 GB, free: 20.95 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.0006916/0.0006916, allocations: 90.28 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002612, allocations: 8.344 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1443, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.4972/0.6416, allocations: 196.4 MB / 1.088 GB, free: 1.551 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.6528, allocations: 9.166 MB / 1.097 GB, free: 1.305 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.6538, allocations: 40.88 kB / 1.097 GB, free: 1.305 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.6552, allocations: 0.579 MB / 1.098 GB, free: 1.293 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.6583, allocations: 1.729 MB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005756/0.664, allocations: 2.734 MB / 1.102 GB, free: 1.09 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002666/0.6667, allocations: 3.591 MB / 1.105 GB, free: 1.07 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.6679, allocations: 1.235 MB / 1.107 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.6691, allocations: 1.073 MB / 1.108 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009799/0.6701, allocations: 1.075 MB / 1.109 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.6703, allocations: 76.84 kB / 1.109 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002411/0.6727, allocations: 1.623 MB / 1.11 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.673, allocations: 447.9 kB / 1.111 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006293/0.6737, allocations: 0.7364 MB / 1.112 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.6757, allocations: 2.614 MB / 1.114 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.6757, allocations: 4 kB / 1.114 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6757, allocations: 0 / 1.114 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.6757, allocations: 0 / 1.114 GB, free: 0.7109 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.00381/0.6795, allocations: 1.874 MB / 1.116 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.6796, allocations: 8.469 kB / 1.116 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.6797, allocations: 108.1 kB / 1.116 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008009/0.6805, allocations: 242.3 kB / 1.116 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.6822, allocations: 1.331 MB / 1.118 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.6824, allocations: 68.81 kB / 1.118 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.6825, allocations: 88.12 kB / 1.118 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.6838, allocations: 0.9289 MB / 1.119 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.6838, allocations: 0 / 1.119 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.6839, allocations: 24.22 kB / 1.119 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.6839, allocations: 14.41 kB / 1.119 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.6852, allocations: 0.8547 MB / 1.12 GB, free: 15.12 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.004263/0.6895, allocations: 3.508 MB / 1.123 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.6907, allocations: 0.7708 MB / 1.124 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.6914, allocations: 456.9 kB / 1.124 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/0.6917, allocations: 295.8 kB / 1.124 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.6917, allocations: 43.78 kB / 1.124 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007722/0.6925, allocations: 238.7 kB / 1.125 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 3.236e-06/0.6925, allocations: 3.984 kB / 1.125 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.002779/0.6953, allocations: 1.347 MB / 1.126 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.6954, allocations: 216.3 kB / 1.126 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.698, allocations: 1.685 MB / 1.128 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/0.6981, allocations: 44.83 kB / 1.128 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.6985, allocations: 0.5578 MB / 1.128 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.6987, allocations: 180 kB / 1.129 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-05/0.6988, allocations: 51.34 kB / 1.129 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.6989, allocations: 332.5 kB / 1.129 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006422/0.6995, allocations: 400.8 kB / 1.129 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009898/0.7005, allocations: 0.7061 MB / 1.13 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.7019, allocations: 0.848 MB / 1.131 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7019, allocations: 0 / 1.131 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001677/0.7036, allocations: 1.079 MB / 1.132 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.573e-05/0.7036, allocations: 100 kB / 1.132 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.7036, allocations: 3.281 kB / 1.132 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.7037, allocations: 3.312 kB / 1.132 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006995/0.7044, allocations: 161.5 kB / 1.132 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7044, allocations: 0 / 1.132 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.7057, allocations: 153.8 kB / 1.132 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.424e-05/0.7058, allocations: 32.19 kB / 1.132 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-06/0.7058, allocations: 3.594 kB / 1.132 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001418/0.7073, allocations: 0.8949 MB / 1.133 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.7073, allocations: 10.03 kB / 1.133 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-06/0.7073, allocations: 2.906 kB / 1.133 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000654/0.7079, allocations: 153.6 kB / 1.133 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.708, allocations: 2.562 kB / 1.133 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.7093, allocations: 167.3 kB / 1.134 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.7093, allocations: 42.27 kB / 1.134 GB, free: 11.81 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004705/0.7098, allocations: 384.5 kB / 1.134 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.7101, allocations: 131.9 kB / 1.134 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.712, allocations: 1.06 MB / 1.135 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.712, allocations: 10 kB / 1.135 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7121, allocations: 0 / 1.135 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.7121, allocations: 11.86 kB / 1.135 GB, free: 11.29 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.00317/0.7152, allocations: 2.483 MB / 1.138 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7153, allocations: 3.156 kB / 1.138 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.7159, allocations: 139.8 kB / 1.138 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.7159, allocations: 5.938 kB / 1.138 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.7159, allocations: 18.8 kB / 1.138 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.716, allocations: 5.125 kB / 1.138 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.716, allocations: 2.938 kB / 1.138 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.7182, allocations: 1.578 MB / 1.139 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/0.7187, allocations: 349.1 kB / 1.14 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.7188, allocations: 20.03 kB / 1.14 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.7199, allocations: 92.45 kB / 1.14 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.72, allocations: 49.28 kB / 1.14 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.7201, allocations: 22.89 kB / 1.14 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001493/0.7216, allocations: 1.205 MB / 1.141 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7216, allocations: 0 / 1.141 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001109/0.7227, allocations: 0.5466 MB / 1.141 GB, free: 8.066 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002859/0.7256, allocations: 2.288 MB / 1.144 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.7279, allocations: 1.457 MB / 1.145 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7279, allocations: 0 / 1.145 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006829/0.7286, allocations: 437 kB / 1.146 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/0.7314, allocations: 0.6036 MB / 1.146 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/0.7547, allocations: 12.35 MB / 1.158 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/0.7554, allocations: 1.165 MB / 1.159 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001501/0.7569, allocations: 388 kB / 1.16 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007913/0.7577, allocations: 0.5266 MB / 1.16 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.7578, allocations: 0 / 1.16 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.168/0.9258, allocations: 38.85 MB / 1.198 GB, free: 4.5 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.926, allocations: 272.8 kB / 1.198 GB, free: 4.137 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.211/4.137, allocations: 0 / 1.198 GB, free: 4.137 MB / 0.7605 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)