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.317/2.317, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001408/0.001408, allocations: 172.9 kB / 492.3 MB, free: 0.582 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.587/1.587, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001072/0.001072, allocations: 99.86 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.294e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3061, allocations: 142.4 MB / 1.212 GB, free: 38.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.927/6.233, allocations: 1.917 GB / 3.129 GB, free: 413.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/6.234, allocations: 91.95 kB / 3.129 GB, free: 413.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.45/8.683, allocations: 0.7502 GB / 3.879 GB, free: 80.77 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.312e-06/8.683, allocations: 0 / 3.879 GB, free: 80.77 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000224/8.684, allocations: 31.98 kB / 3.879 GB, free: 80.74 MB / 1.151 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.004843/8.688, allocations: 1.513 MB / 3.881 GB, free: 79.18 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/8.688, allocations: 12.03 kB / 3.881 GB, free: 79.17 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003362/8.689, allocations: 110.4 kB / 3.881 GB, free: 79.05 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/8.692, allocations: 301.8 kB / 3.881 GB, free: 78.75 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/8.696, allocations: 1.248 MB / 3.883 GB, free: 77.45 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/8.696, allocations: 57.31 kB / 3.883 GB, free: 77.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/8.696, allocations: 76 kB / 3.883 GB, free: 77.32 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/8.697, allocations: 0.7677 MB / 3.883 GB, free: 76.55 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/8.697, allocations: 4 kB / 3.883 GB, free: 76.54 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.614e-05/8.698, allocations: 28 kB / 3.883 GB, free: 76.52 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/8.698, allocations: 25.3 kB / 3.883 GB, free: 76.49 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/8.699, allocations: 0.7627 MB / 3.884 GB, free: 75.73 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007304/8.706, allocations: 3.572 MB / 3.888 GB, free: 72 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/8.707, allocations: 0.7521 MB / 3.888 GB, free: 71.21 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/8.708, allocations: 415.8 kB / 3.889 GB, free: 70.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003762/8.708, allocations: 296.1 kB / 3.889 GB, free: 70.46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/8.708, allocations: 39.12 kB / 3.889 GB, free: 70.41 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001661/8.71, allocations: 319.3 kB / 3.889 GB, free: 70.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=55): time 7.093e-06/8.71, allocations: 0 / 3.889 GB, free: 70.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=55): time 0.002021/8.712, allocations: 0.8996 MB / 3.89 GB, free: 69.19 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/8.712, allocations: 60.08 kB / 3.89 GB, free: 69.12 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/8.714, allocations: 1.405 MB / 3.892 GB, free: 67.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001238/8.714, allocations: 41.69 kB / 3.892 GB, free: 67.66 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/8.714, allocations: 0.5405 MB / 3.892 GB, free: 67.11 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/8.715, allocations: 193.1 kB / 3.892 GB, free: 66.92 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/8.715, allocations: 12 kB / 3.893 GB, free: 66.91 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.734e-05/8.715, allocations: 333.9 kB / 3.893 GB, free: 66.58 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/8.715, allocations: 309 kB / 3.893 GB, free: 66.28 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/8.716, allocations: 0.5907 MB / 3.894 GB, free: 65.58 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/8.716, allocations: 384.5 kB / 3.894 GB, free: 65.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/8.716, allocations: 4 kB / 3.894 GB, free: 65.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00136/8.718, allocations: 0.884 MB / 3.895 GB, free: 64.31 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/8.718, allocations: 101.2 kB / 3.895 GB, free: 64.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/8.718, allocations: 0 / 3.895 GB, free: 64.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/8.718, allocations: 0 / 3.895 GB, free: 64.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/8.719, allocations: 183.8 kB / 3.895 GB, free: 64.03 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/8.719, allocations: 4 kB / 3.895 GB, free: 64.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/8.72, allocations: 151.7 kB / 3.895 GB, free: 63.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.114e-05/8.72, allocations: 43.95 kB / 3.895 GB, free: 63.83 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/8.72, allocations: 4 kB / 3.895 GB, free: 63.83 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001058/8.721, allocations: 0.7432 MB / 3.896 GB, free: 63.08 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/8.721, allocations: 0 / 3.896 GB, free: 63.08 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/8.721, allocations: 0 / 3.896 GB, free: 63.08 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/8.722, allocations: 183.8 kB / 3.896 GB, free: 62.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/8.722, allocations: 0 / 3.896 GB, free: 62.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/8.724, allocations: 155.6 kB / 3.896 GB, free: 62.75 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/8.724, allocations: 35.95 kB / 3.896 GB, free: 62.71 MB / 1.151 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 () * 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.0001927/8.724, allocations: 142.3 kB / 3.897 GB, free: 62.57 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/8.724, allocations: 138.4 kB / 3.897 GB, free: 62.43 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/8.726, allocations: 0.9841 MB / 3.898 GB, free: 61.44 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/8.726, allocations: 8 kB / 3.898 GB, free: 61.43 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/8.726, allocations: 3.938 kB / 3.898 GB, free: 61.43 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/8.726, allocations: 3.984 kB / 3.898 GB, free: 61.42 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.003364/8.73, allocations: 2.485 MB / 3.9 GB, free: 58.83 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/8.73, allocations: 4.031 kB / 3.9 GB, free: 58.83 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/8.73, allocations: 143.8 kB / 3.9 GB, free: 58.69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/8.73, allocations: 4 kB / 3.9 GB, free: 58.68 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/8.73, allocations: 23.94 kB / 3.9 GB, free: 58.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/8.73, allocations: 4 kB / 3.9 GB, free: 58.66 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/8.73, allocations: 4 kB / 3.9 GB, free: 58.65 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/8.732, allocations: 1.558 MB / 3.902 GB, free: 56.98 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/8.733, allocations: 371.3 kB / 3.902 GB, free: 56.59 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/8.733, allocations: 19.98 kB / 3.902 GB, free: 56.57 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/8.734, allocations: 99.73 kB / 3.902 GB, free: 56.48 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/8.734, allocations: 64.38 kB / 3.902 GB, free: 56.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-05/8.734, allocations: 27.98 kB / 3.902 GB, free: 56.39 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001391/8.736, allocations: 1.094 MB / 3.903 GB, free: 55.29 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.01e-07/8.736, allocations: 0 / 3.903 GB, free: 55.29 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002085/8.738, allocations: 0.6868 MB / 3.904 GB, free: 54.6 MB / 1.151 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 () * 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.0043/8.742, allocations: 4.443 MB / 3.908 GB, free: 50 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001723/8.744, allocations: 1.155 MB / 3.91 GB, free: 48.84 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/8.744, allocations: 4 kB / 3.91 GB, free: 48.84 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004754/8.744, allocations: 383 kB / 3.91 GB, free: 48.46 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/8.748, allocations: 0.5488 MB / 3.911 GB, free: 47.93 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/8.751, allocations: 1.917 MB / 3.912 GB, free: 45.93 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/8.752, allocations: 1.175 MB / 3.914 GB, free: 44.73 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002244/8.754, allocations: 0.5212 MB / 3.914 GB, free: 44.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/8.755, allocations: 487.2 kB / 3.915 GB, free: 43.73 MB / 1.151 GB Notification: Performance of SimCode: time 1.202e-06/8.755, allocations: 0 / 3.915 GB, free: 43.73 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.884/9.639, allocations: 70.46 MB / 3.983 GB, free: 236.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/9.639, allocations: 205.9 kB / 3.984 GB, free: 236.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.617/14.26, allocations: 3.938 kB / 3.984 GB, free: 236.3 MB / 1.151 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