Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.3 MB / 405.3 MB, free: 13.35 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.001058/0.001058, allocations: 173.1 kB / 498.1 MB, free: 5.602 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.548/1.548, allocations: 223.1 MB / 0.7948 GB, free: 17.95 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.0009646/0.0009644, allocations: 110.2 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003615/0.0003615, allocations: 7 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3128, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.837/5.15, allocations: 1.917 GB / 3.14 GB, free: 70.75 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/5.15, allocations: 92.98 kB / 3.14 GB, free: 70.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.057/8.207, allocations: 0.7508 GB / 3.89 GB, free: 229.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.933e-06/8.207, allocations: 0 / 3.89 GB, free: 229.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001934/8.207, allocations: 35.98 kB / 3.891 GB, free: 229.3 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.006498/8.214, allocations: 2.036 MB / 3.893 GB, free: 227.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/8.214, allocations: 8.031 kB / 3.893 GB, free: 227.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003047/8.214, allocations: 98.52 kB / 3.893 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002978/8.217, allocations: 298 kB / 3.893 GB, free: 226.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/8.22, allocations: 1.289 MB / 3.894 GB, free: 225.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.86e-05/8.22, allocations: 53.31 kB / 3.894 GB, free: 225.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/8.22, allocations: 83.98 kB / 3.894 GB, free: 225.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/8.222, allocations: 0.8184 MB / 3.895 GB, free: 224.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/8.222, allocations: 4 kB / 3.895 GB, free: 224.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/8.222, allocations: 24 kB / 3.895 GB, free: 224.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/8.222, allocations: 25.3 kB / 3.895 GB, free: 224.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/8.224, allocations: 0.8795 MB / 3.896 GB, free: 223.5 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.00637/8.23, allocations: 3.576 MB / 3.899 GB, free: 219.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/8.231, allocations: 0.831 MB / 3.9 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/8.232, allocations: 292 kB / 3.901 GB, free: 218.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/8.232, allocations: 43.12 kB / 3.901 GB, free: 218.6 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001605/8.233, allocations: 331.2 kB / 3.901 GB, free: 218.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=55): time 2.725e-06/8.233, allocations: 0 / 3.901 GB, free: 218.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=55): time 0.002623/8.236, allocations: 1.379 MB / 3.902 GB, free: 216.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/8.236, allocations: 55.97 kB / 3.902 GB, free: 216.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/8.238, allocations: 1.438 MB / 3.904 GB, free: 215.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.746e-05/8.238, allocations: 45.64 kB / 3.904 GB, free: 215.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/8.238, allocations: 0.5329 MB / 3.904 GB, free: 214.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/8.239, allocations: 197.1 kB / 3.905 GB, free: 214.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/8.239, allocations: 8 kB / 3.905 GB, free: 214.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.577e-05/8.239, allocations: 326 kB / 3.905 GB, free: 214.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/8.239, allocations: 368.8 kB / 3.905 GB, free: 213.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/8.24, allocations: 0.6414 MB / 3.906 GB, free: 213.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006751/8.241, allocations: 440.2 kB / 3.906 GB, free: 212.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/8.241, allocations: 0 / 3.906 GB, free: 212.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001741/8.243, allocations: 0.9932 MB / 3.907 GB, free: 211.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/8.243, allocations: 109 kB / 3.907 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/8.243, allocations: 0 / 3.907 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/8.243, allocations: 3.938 kB / 3.907 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/8.244, allocations: 179.8 kB / 3.907 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/8.244, allocations: 4 kB / 3.907 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/8.245, allocations: 151.8 kB / 3.908 GB, free: 211.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.694e-05/8.246, allocations: 39.95 kB / 3.908 GB, free: 211.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/8.246, allocations: 4 kB / 3.908 GB, free: 211.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001418/8.247, allocations: 0.8408 MB / 3.908 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/8.247, allocations: 0 / 3.908 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/8.247, allocations: 3.938 kB / 3.908 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008992/8.248, allocations: 183.8 kB / 3.909 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/8.248, allocations: 0 / 3.909 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/8.25, allocations: 151.8 kB / 3.909 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.826e-05/8.25, allocations: 39.91 kB / 3.909 GB, free: 210 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.0006099/8.25, allocations: 372.9 kB / 3.909 GB, free: 209.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000281/8.251, allocations: 134.4 kB / 3.909 GB, free: 209.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/8.253, allocations: 1.093 MB / 3.91 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/8.253, allocations: 8 kB / 3.91 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/8.253, allocations: 0 / 3.91 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/8.253, allocations: 7.984 kB / 3.91 GB, free: 208.3 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.00384/8.257, allocations: 2.583 MB / 3.913 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/8.257, allocations: 4 kB / 3.913 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007182/8.257, allocations: 144.1 kB / 3.913 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/8.257, allocations: 11.98 kB / 3.913 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.178e-05/8.257, allocations: 16 kB / 3.913 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/8.257, allocations: 7.938 kB / 3.913 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/8.257, allocations: 4 kB / 3.913 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/8.26, allocations: 1.714 MB / 3.915 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000826/8.261, allocations: 383.2 kB / 3.915 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/8.261, allocations: 23.95 kB / 3.915 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/8.262, allocations: 95.88 kB / 3.915 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/8.262, allocations: 48.5 kB / 3.915 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.176e-05/8.263, allocations: 27.98 kB / 3.915 GB, free: 203.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001721/8.264, allocations: 1.139 MB / 3.916 GB, free: 201.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/8.264, allocations: 0 / 3.916 GB, free: 201.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002208/8.266, allocations: 0.6985 MB / 3.917 GB, free: 201.2 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.004979/8.271, allocations: 4.596 MB / 3.922 GB, free: 196.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002241/8.274, allocations: 1.26 MB / 3.923 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/8.274, allocations: 0 / 3.923 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006496/8.274, allocations: 439.5 kB / 3.923 GB, free: 194.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/8.277, allocations: 0.5506 MB / 3.924 GB, free: 194.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/8.29, allocations: 8.662 MB / 3.932 GB, free: 185.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/8.291, allocations: 1.173 MB / 3.933 GB, free: 184 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001624/8.292, allocations: 369 kB / 3.934 GB, free: 183.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007317/8.293, allocations: 0.5148 MB / 3.934 GB, free: 183.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.222e-06/8.293, allocations: 0 / 3.934 GB, free: 183.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0855/8.379, allocations: 64.27 MB / 3.997 GB, free: 119.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/8.379, allocations: 229.5 kB / 3.997 GB, free: 119.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.093/12.47, allocations: 0 / 3.997 GB, free: 119.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat does not exist to compare? outputFormat=mat