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.302/2.302, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001535/0.001535, allocations: 184.8 kB / 487.4 MB, free: 4.992 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.575/1.575, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001057, allocations: 83.2 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.002e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3148, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.48/5.795, allocations: 1.916 GB / 3.122 GB, free: 353 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/5.796, allocations: 93.89 kB / 3.122 GB, free: 353 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.206/8.001, allocations: 0.7417 GB / 3.864 GB, free: 74.58 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.443e-06/8.001, allocations: 0 / 3.864 GB, free: 74.58 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000118/8.001, allocations: 36 kB / 3.864 GB, free: 74.54 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.003441/8.005, allocations: 1.524 MB / 3.865 GB, free: 72.97 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/8.005, allocations: 8.031 kB / 3.865 GB, free: 72.96 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002654/8.008, allocations: 305.9 kB / 3.866 GB, free: 72.66 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/8.01, allocations: 1.255 MB / 3.867 GB, free: 71.36 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/8.01, allocations: 20 kB / 3.867 GB, free: 71.34 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/8.01, allocations: 48 kB / 3.867 GB, free: 71.29 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/8.011, allocations: 0.7367 MB / 3.868 GB, free: 70.55 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/8.012, allocations: 0.6832 MB / 3.868 GB, free: 69.87 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/8.012, allocations: 0 / 3.868 GB, free: 69.87 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/8.012, allocations: 4 kB / 3.868 GB, free: 69.86 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/8.012, allocations: 29.31 kB / 3.868 GB, free: 69.83 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.004925/8.017, allocations: 3.402 MB / 3.872 GB, free: 66.28 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/8.018, allocations: 0.7444 MB / 3.872 GB, free: 65.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/8.018, allocations: 402.4 kB / 3.873 GB, free: 65.11 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003945/8.019, allocations: 296.1 kB / 3.873 GB, free: 64.77 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/8.019, allocations: 39.12 kB / 3.873 GB, free: 64.72 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00131/8.02, allocations: 303.5 kB / 3.873 GB, free: 64.42 MB / 1.151 GB Notification: Performance of pre-optimization done (n=55): time 3.156e-06/8.02, allocations: 0 / 3.873 GB, free: 64.42 MB / 1.151 GB Notification: Performance of matching and sorting (n=55): time 0.001611/8.022, allocations: 0.8879 MB / 3.874 GB, free: 63.53 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/8.022, allocations: 55.97 kB / 3.874 GB, free: 63.46 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/8.023, allocations: 1.222 MB / 3.875 GB, free: 62.23 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.477e-05/8.023, allocations: 33.64 kB / 3.875 GB, free: 62.19 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/8.024, allocations: 0.5356 MB / 3.876 GB, free: 61.64 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/8.024, allocations: 185.2 kB / 3.876 GB, free: 61.46 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.486e-05/8.024, allocations: 0 / 3.876 GB, free: 61.46 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.763e-05/8.024, allocations: 330 kB / 3.876 GB, free: 61.13 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/8.024, allocations: 305 kB / 3.877 GB, free: 60.84 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/8.025, allocations: 0.5738 MB / 3.877 GB, free: 60.15 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/8.025, allocations: 392.1 kB / 3.878 GB, free: 59.77 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/8.025, allocations: 3.938 kB / 3.878 GB, free: 59.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001198/8.027, allocations: 0.8762 MB / 3.879 GB, free: 58.88 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/8.027, allocations: 96.53 kB / 3.879 GB, free: 58.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/8.027, allocations: 0 / 3.879 GB, free: 58.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/8.027, allocations: 4 kB / 3.879 GB, free: 58.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009037/8.028, allocations: 179.8 kB / 3.879 GB, free: 58.61 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/8.028, allocations: 4 kB / 3.879 GB, free: 58.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/8.029, allocations: 135.8 kB / 3.879 GB, free: 58.47 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/8.029, allocations: 43.89 kB / 3.879 GB, free: 58.43 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.785e-06/8.029, allocations: 4 kB / 3.879 GB, free: 58.42 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009721/8.03, allocations: 0.7041 MB / 3.88 GB, free: 57.71 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/8.03, allocations: 0 / 3.88 GB, free: 57.71 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.92e-06/8.03, allocations: 4 kB / 3.88 GB, free: 57.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008389/8.031, allocations: 179.8 kB / 3.88 GB, free: 57.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/8.031, allocations: 4 kB / 3.88 GB, free: 57.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/8.033, allocations: 131.8 kB / 3.88 GB, free: 57.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/8.033, allocations: 43.95 kB / 3.88 GB, free: 57.36 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.0001664/8.033, allocations: 112.9 kB / 3.88 GB, free: 57.24 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001142/8.034, allocations: 0.8255 MB / 3.881 GB, free: 56.41 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/8.034, allocations: 126.5 kB / 3.881 GB, free: 56.29 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/8.036, allocations: 0.9362 MB / 3.882 GB, free: 55.34 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/8.036, allocations: 4 kB / 3.882 GB, free: 55.34 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/8.036, allocations: 8 kB / 3.882 GB, free: 55.33 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/8.036, allocations: 3.984 kB / 3.882 GB, free: 55.32 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.003137/8.039, allocations: 2.346 MB / 3.884 GB, free: 52.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/8.039, allocations: 4.281 kB / 3.884 GB, free: 52.89 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/8.04, allocations: 143.8 kB / 3.884 GB, free: 52.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/8.04, allocations: 4 kB / 3.884 GB, free: 52.75 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.209e-05/8.04, allocations: 19.94 kB / 3.884 GB, free: 52.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/8.04, allocations: 4 kB / 3.884 GB, free: 52.73 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/8.04, allocations: 7.938 kB / 3.884 GB, free: 52.72 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/8.041, allocations: 1.494 MB / 3.886 GB, free: 51.14 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005411/8.042, allocations: 371.4 kB / 3.886 GB, free: 50.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/8.042, allocations: 4 kB / 3.886 GB, free: 50.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/8.043, allocations: 87.78 kB / 3.886 GB, free: 50.66 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/8.044, allocations: 56.45 kB / 3.886 GB, free: 50.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/8.044, allocations: 27.98 kB / 3.886 GB, free: 50.58 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001114/8.045, allocations: 0.9487 MB / 3.887 GB, free: 49.63 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/8.045, allocations: 0 / 3.887 GB, free: 49.63 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001883/8.047, allocations: 0.6278 MB / 3.888 GB, free: 49 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.004162/8.051, allocations: 4.589 MB / 3.892 GB, free: 44.24 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001567/8.052, allocations: 1.116 MB / 3.894 GB, free: 43.12 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/8.052, allocations: 4 kB / 3.894 GB, free: 43.12 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004283/8.053, allocations: 361.9 kB / 3.894 GB, free: 42.77 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/8.056, allocations: 476.3 kB / 3.894 GB, free: 42.31 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/8.059, allocations: 1.845 MB / 3.896 GB, free: 40.39 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/8.059, allocations: 1.178 MB / 3.897 GB, free: 39.19 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002094/8.062, allocations: 492.2 kB / 3.898 GB, free: 38.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005499/8.062, allocations: 475.2 kB / 3.898 GB, free: 38.24 MB / 1.151 GB Notification: Performance of SimCode: time 7.81e-07/8.062, allocations: 0 / 3.898 GB, free: 38.24 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7649/8.827, allocations: 47.2 MB / 3.944 GB, free: 245.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/8.827, allocations: 179.7 kB / 3.945 GB, free: 245.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.787/12.61, allocations: 0 / 3.945 GB, free: 245.2 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