Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.38/2.38, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001202, allocations: 188 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.666/1.666, allocations: 223.1 MB / 0.7992 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 108.2 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003991, allocations: 14.34 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.34, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.192/5.532, allocations: 1.917 GB / 3.147 GB, free: 35.57 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004066/5.533, allocations: 98.88 kB / 3.147 GB, free: 35.52 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.975/8.508, allocations: 0.7508 GB / 3.898 GB, free: 191.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.896e-06/8.508, allocations: 0 / 3.898 GB, free: 191.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002697/8.508, allocations: 31.98 kB / 3.898 GB, free: 191.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.008758/8.517, allocations: 2.021 MB / 3.9 GB, free: 189.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/8.517, allocations: 16.02 kB / 3.9 GB, free: 189.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005117/8.518, allocations: 102.5 kB / 3.9 GB, free: 188.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/8.521, allocations: 301.9 kB / 3.9 GB, free: 188.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004107/8.525, allocations: 1.289 MB / 3.901 GB, free: 187.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.629e-05/8.525, allocations: 65.31 kB / 3.901 GB, free: 187.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003265/8.525, allocations: 72 kB / 3.901 GB, free: 187.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/8.527, allocations: 0.8184 MB / 3.902 GB, free: 186.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/8.527, allocations: 4 kB / 3.902 GB, free: 186.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-05/8.528, allocations: 28 kB / 3.902 GB, free: 186.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-05/8.528, allocations: 21.31 kB / 3.902 GB, free: 186.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/8.529, allocations: 0.8796 MB / 3.903 GB, free: 185.4 MB / 1.167 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.007585/8.537, allocations: 3.573 MB / 3.907 GB, free: 181.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/8.538, allocations: 0.8234 MB / 3.907 GB, free: 180.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004052/8.539, allocations: 292.1 kB / 3.908 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/8.539, allocations: 43.08 kB / 3.908 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001899/8.541, allocations: 331.3 kB / 3.908 GB, free: 180.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=55): time 8.395e-06/8.541, allocations: 4 kB / 3.908 GB, free: 180.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=55): time 0.003303/8.544, allocations: 1.36 MB / 3.909 GB, free: 178.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/8.544, allocations: 59.97 kB / 3.909 GB, free: 178.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/8.547, allocations: 1.442 MB / 3.911 GB, free: 177.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/8.547, allocations: 41.7 kB / 3.911 GB, free: 177.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/8.548, allocations: 0.5431 MB / 3.911 GB, free: 176.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/8.548, allocations: 197.1 kB / 3.912 GB, free: 176.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/8.548, allocations: 8 kB / 3.912 GB, free: 176.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.074e-05/8.548, allocations: 330 kB / 3.912 GB, free: 176.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/8.549, allocations: 360.9 kB / 3.912 GB, free: 175.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008645/8.55, allocations: 0.649 MB / 3.913 GB, free: 175 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/8.55, allocations: 435.8 kB / 3.913 GB, free: 174.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/8.55, allocations: 0 / 3.913 GB, free: 174.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002123/8.552, allocations: 0.9971 MB / 3.914 GB, free: 173.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/8.553, allocations: 101.2 kB / 3.914 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/8.553, allocations: 0 / 3.914 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/8.553, allocations: 112 / 3.914 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/8.554, allocations: 195.6 kB / 3.915 GB, free: 173.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/8.554, allocations: 0 / 3.915 GB, free: 173.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/8.556, allocations: 147.8 kB / 3.915 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/8.556, allocations: 39.95 kB / 3.915 GB, free: 173.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/8.556, allocations: 5.344 kB / 3.915 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001479/8.557, allocations: 0.8486 MB / 3.916 GB, free: 172.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/8.557, allocations: 0 / 3.916 GB, free: 172.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.628e-06/8.557, allocations: 0 / 3.916 GB, free: 172.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000877/8.558, allocations: 187.7 kB / 3.916 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/8.558, allocations: 11.94 kB / 3.916 GB, free: 172 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/8.561, allocations: 159.7 kB / 3.916 GB, free: 171.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.875e-05/8.561, allocations: 31.97 kB / 3.916 GB, free: 171.8 MB / 1.167 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 (59): * Single equations (assignments): 59 * 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 prepare postOptimizeDAE: time 0.0007708/8.561, allocations: 370.4 kB / 3.916 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005089/8.562, allocations: 130.4 kB / 3.916 GB, free: 171.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/8.564, allocations: 1.09 MB / 3.918 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/8.564, allocations: 8 kB / 3.918 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/8.564, allocations: 3.953 kB / 3.918 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/8.564, allocations: 3.984 kB / 3.918 GB, free: 170.2 MB / 1.167 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.0048/8.569, allocations: 2.591 MB / 3.92 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/8.569, allocations: 4 kB / 3.92 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007315/8.57, allocations: 139.8 kB / 3.92 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/8.57, allocations: 8 kB / 3.92 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/8.57, allocations: 24.2 kB / 3.92 GB, free: 167.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/8.57, allocations: 8 kB / 3.92 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/8.57, allocations: 7.938 kB / 3.92 GB, free: 167.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/8.573, allocations: 1.707 MB / 3.922 GB, free: 165.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009702/8.574, allocations: 387.1 kB / 3.922 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/8.574, allocations: 16 kB / 3.922 GB, free: 165.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/8.576, allocations: 99.88 kB / 3.922 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/8.576, allocations: 48.48 kB / 3.922 GB, free: 165 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/8.576, allocations: 24 kB / 3.922 GB, free: 164.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002133/8.578, allocations: 1.147 MB / 3.924 GB, free: 163.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/8.578, allocations: 0 / 3.924 GB, free: 163.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002903/8.581, allocations: 0.6829 MB / 3.924 GB, free: 163.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[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 (66): * Single equations (assignments): 66 * 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.005659/8.587, allocations: 4.597 MB / 3.929 GB, free: 158.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002518/8.589, allocations: 1.26 MB / 3.93 GB, free: 157.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/8.589, allocations: 0 / 3.93 GB, free: 157.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006926/8.59, allocations: 435.5 kB / 3.93 GB, free: 156.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/8.593, allocations: 0.556 MB / 3.931 GB, free: 156.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/8.609, allocations: 8.673 MB / 3.939 GB, free: 147.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/8.61, allocations: 1.173 MB / 3.941 GB, free: 145.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002019/8.612, allocations: 377 kB / 3.941 GB, free: 145.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/8.613, allocations: 0.5084 MB / 3.941 GB, free: 145 MB / 1.167 GB Notification: Performance of SimCode: time 1.273e-06/8.613, allocations: 0 / 3.941 GB, free: 145 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09245/8.706, allocations: 64.25 MB / 4.004 GB, free: 81.24 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/8.706, allocations: 245.3 kB / 4.004 GB, free: 81 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.058/12.76, allocations: 0 / 4.004 GB, free: 81 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat does not exist to compare? outputFormat=mat