Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.828/1.828, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.001253/0.001253, allocations: 181.1 kB / 371.8 MB, free: 10.29 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.983/1.983, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0008939/0.0008939, allocations: 102.6 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005275/0.0005274, allocations: 10.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.284, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.995/6.279, allocations: 2.085 GB / 3.064 GB, free: 230.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/6.279, allocations: 105 kB / 3.064 GB, free: 230.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.018/9.297, allocations: 0.7444 GB / 3.809 GB, free: 185.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.405e-06/9.297, allocations: 0 / 3.809 GB, free: 185.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002747/9.297, allocations: 40.11 kB / 3.809 GB, free: 185.4 MB / 0.948 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.008915/9.306, allocations: 2.106 MB / 3.811 GB, free: 184.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.186e-05/9.306, allocations: 8.906 kB / 3.811 GB, free: 184.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006514/9.307, allocations: 109.5 kB / 3.811 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003745/9.311, allocations: 298.1 kB / 3.811 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00479/9.315, allocations: 1.378 MB / 3.812 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-05/9.316, allocations: 61.75 kB / 3.813 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004186/9.316, allocations: 78.06 kB / 3.813 GB, free: 183.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002261/9.318, allocations: 0.9644 MB / 3.814 GB, free: 182.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/9.318, allocations: 0 / 3.814 GB, free: 182.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/9.318, allocations: 23.91 kB / 3.814 GB, free: 182.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/9.318, allocations: 16.72 kB / 3.814 GB, free: 182.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/9.32, allocations: 0.8769 MB / 3.814 GB, free: 182.5 MB / 0.948 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.007835/9.328, allocations: 3.566 MB / 3.818 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/9.33, allocations: 0.7926 MB / 3.819 GB, free: 179.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003995/9.33, allocations: 288.6 kB / 3.819 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/9.33, allocations: 56.89 kB / 3.819 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001921/9.332, allocations: 328.4 kB / 3.819 GB, free: 178.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 8.265e-06/9.332, allocations: 0 / 3.819 GB, free: 178.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.003349/9.335, allocations: 1.342 MB / 3.821 GB, free: 178.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.041e-05/9.336, allocations: 218 kB / 3.821 GB, free: 177.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003278/9.339, allocations: 1.472 MB / 3.822 GB, free: 177.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/9.339, allocations: 46.61 kB / 3.822 GB, free: 177 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005708/9.34, allocations: 0.552 MB / 3.823 GB, free: 176.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/9.34, allocations: 188.7 kB / 3.823 GB, free: 176.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/9.34, allocations: 13.53 kB / 3.823 GB, free: 176.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/9.34, allocations: 328.4 kB / 3.823 GB, free: 176 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007141/9.341, allocations: 386.9 kB / 3.824 GB, free: 175.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009943/9.342, allocations: 0.7068 MB / 3.824 GB, free: 175.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008375/9.343, allocations: 465.5 kB / 3.825 GB, free: 175 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/9.343, allocations: 0 / 3.825 GB, free: 175 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002353/9.345, allocations: 1.054 MB / 3.826 GB, free: 174.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/9.345, allocations: 102.3 kB / 3.826 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/9.345, allocations: 0 / 3.826 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/9.345, allocations: 6.656 kB / 3.826 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/9.346, allocations: 167.4 kB / 3.826 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/9.346, allocations: 3.969 kB / 3.826 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/9.348, allocations: 152.7 kB / 3.826 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/9.348, allocations: 38.23 kB / 3.826 GB, free: 174.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/9.348, allocations: 3.969 kB / 3.826 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001681/9.35, allocations: 0.898 MB / 3.827 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/9.35, allocations: 3.812 kB / 3.827 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/9.35, allocations: 3.812 kB / 3.827 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/9.351, allocations: 164.2 kB / 3.827 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/9.351, allocations: 0 / 3.827 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/9.353, allocations: 156.4 kB / 3.828 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/9.353, allocations: 53.22 kB / 3.828 GB, free: 173.7 MB / 0.948 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.000849/9.354, allocations: 377 kB / 3.828 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005432/9.355, allocations: 139.1 kB / 3.828 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/9.357, allocations: 1.075 MB / 3.829 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/9.357, allocations: 7.875 kB / 3.829 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/9.357, allocations: 0 / 3.829 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-06/9.357, allocations: 7.766 kB / 3.829 GB, free: 172.7 MB / 0.948 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.005/9.362, allocations: 2.52 MB / 3.832 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/9.362, allocations: 0 / 3.832 GB, free: 171 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/9.363, allocations: 145.3 kB / 3.832 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/9.363, allocations: 3.625 kB / 3.832 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/9.363, allocations: 22.8 kB / 3.832 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/9.363, allocations: 3.875 kB / 3.832 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/9.363, allocations: 3.938 kB / 3.832 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/9.366, allocations: 1.701 MB / 3.833 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/9.367, allocations: 366.6 kB / 3.834 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004732/9.367, allocations: 19.34 kB / 3.834 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/9.369, allocations: 106.4 kB / 3.834 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/9.369, allocations: 52.33 kB / 3.834 GB, free: 169.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.137e-05/9.369, allocations: 31.58 kB / 3.834 GB, free: 169.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002363/9.372, allocations: 1.158 MB / 3.835 GB, free: 168.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.71e-07/9.372, allocations: 0 / 3.835 GB, free: 168.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003645/9.375, allocations: 0.7393 MB / 3.836 GB, free: 168.6 MB / 0.948 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.006459/9.382, allocations: 4.631 MB / 3.84 GB, free: 165.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002818/9.385, allocations: 1.432 MB / 3.842 GB, free: 164.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/9.385, allocations: 0 / 3.842 GB, free: 164.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007084/9.386, allocations: 422.7 kB / 3.842 GB, free: 163.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003568/9.389, allocations: 0.5879 MB / 3.843 GB, free: 163.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/9.396, allocations: 3.169 MB / 3.846 GB, free: 159.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/9.396, allocations: 1.196 MB / 3.847 GB, free: 158.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002029/9.398, allocations: 370.5 kB / 3.847 GB, free: 158.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008051/9.399, allocations: 0.5305 MB / 3.848 GB, free: 157.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/9.399, allocations: 0 / 3.848 GB, free: 157.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09802/9.497, allocations: 65.7 MB / 3.912 GB, free: 92.67 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/9.497, allocations: 240.4 kB / 3.912 GB, free: 92.43 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.315/13.81, allocations: 0 / 3.912 GB, free: 92.43 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)