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.346/2.346, allocations: 390.5 MB / 398 MB, free: 10.92 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.001046/0.001046, allocations: 176.9 kB / 491.2 MB, free: 1.539 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.678/1.678, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008972/0.0008972, allocations: 87.94 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.139e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2947, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.536/5.831, allocations: 1.917 GB / 3.129 GB, free: 412.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/5.831, allocations: 93.05 kB / 3.129 GB, free: 412.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.202/8.033, allocations: 0.7417 GB / 3.871 GB, free: 88.65 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.693e-06/8.033, allocations: 0 / 3.871 GB, free: 88.65 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001076/8.034, allocations: 31.98 kB / 3.871 GB, free: 88.62 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.003315/8.037, allocations: 1.517 MB / 3.872 GB, free: 87.05 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/8.037, allocations: 15.97 kB / 3.872 GB, free: 87.04 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002753/8.04, allocations: 297.9 kB / 3.873 GB, free: 86.75 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/8.042, allocations: 1.246 MB / 3.874 GB, free: 85.45 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/8.042, allocations: 20 kB / 3.874 GB, free: 85.43 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/8.042, allocations: 48 kB / 3.874 GB, free: 85.38 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001132/8.043, allocations: 0.7445 MB / 3.875 GB, free: 84.64 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/8.044, allocations: 0.6793 MB / 3.875 GB, free: 83.95 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/8.044, allocations: 0 / 3.875 GB, free: 83.95 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/8.045, allocations: 4 kB / 3.875 GB, free: 83.95 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.671e-05/8.045, allocations: 25.25 kB / 3.875 GB, free: 83.92 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.005223/8.05, allocations: 3.414 MB / 3.879 GB, free: 80.36 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008358/8.051, allocations: 0.7431 MB / 3.879 GB, free: 79.59 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/8.051, allocations: 410.3 kB / 3.88 GB, free: 79.18 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003743/8.052, allocations: 292.1 kB / 3.88 GB, free: 78.84 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/8.052, allocations: 43.12 kB / 3.88 GB, free: 78.79 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001294/8.053, allocations: 303.4 kB / 3.88 GB, free: 78.49 MB / 1.151 GB Notification: Performance of pre-optimization done (n=55): time 3.246e-06/8.053, allocations: 4 kB / 3.88 GB, free: 78.49 MB / 1.151 GB Notification: Performance of matching and sorting (n=55): time 0.0016/8.054, allocations: 0.884 MB / 3.881 GB, free: 77.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/8.055, allocations: 55.97 kB / 3.881 GB, free: 77.53 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001489/8.056, allocations: 1.222 MB / 3.883 GB, free: 76.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-05/8.056, allocations: 33.64 kB / 3.883 GB, free: 76.26 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/8.056, allocations: 0.5381 MB / 3.883 GB, free: 75.71 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/8.057, allocations: 193.2 kB / 3.883 GB, free: 75.52 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/8.057, allocations: 0 / 3.883 GB, free: 75.52 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/8.057, allocations: 322 kB / 3.884 GB, free: 75.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/8.057, allocations: 309 kB / 3.884 GB, free: 74.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/8.058, allocations: 0.5816 MB / 3.884 GB, free: 74.21 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/8.058, allocations: 387.4 kB / 3.885 GB, free: 73.83 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/8.058, allocations: 0 / 3.885 GB, free: 73.83 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001342/8.06, allocations: 0.8645 MB / 3.886 GB, free: 72.96 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.021e-05/8.06, allocations: 96.53 kB / 3.886 GB, free: 72.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/8.06, allocations: 0 / 3.886 GB, free: 72.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/8.06, allocations: 0 / 3.886 GB, free: 72.86 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009142/8.061, allocations: 183.8 kB / 3.886 GB, free: 72.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/8.061, allocations: 3.938 kB / 3.886 GB, free: 72.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/8.062, allocations: 131.8 kB / 3.886 GB, free: 72.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.06e-05/8.062, allocations: 39.95 kB / 3.886 GB, free: 72.51 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/8.062, allocations: 4 kB / 3.886 GB, free: 72.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/8.063, allocations: 0.708 MB / 3.887 GB, free: 71.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/8.063, allocations: 0 / 3.887 GB, free: 71.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.899e-06/8.063, allocations: 4 kB / 3.887 GB, free: 71.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/8.064, allocations: 179.8 kB / 3.887 GB, free: 71.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/8.064, allocations: 0 / 3.887 GB, free: 71.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/8.066, allocations: 135.7 kB / 3.887 GB, free: 71.48 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.557e-05/8.066, allocations: 43.89 kB / 3.887 GB, free: 71.44 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.0001939/8.066, allocations: 120.9 kB / 3.887 GB, free: 71.32 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001207/8.067, allocations: 0.8216 MB / 3.888 GB, free: 70.48 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/8.067, allocations: 122.5 kB / 3.888 GB, free: 70.36 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/8.069, allocations: 0.9245 MB / 3.889 GB, free: 69.43 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/8.069, allocations: 8 kB / 3.889 GB, free: 69.43 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/8.069, allocations: 0 / 3.889 GB, free: 69.43 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/8.069, allocations: 3.984 kB / 3.889 GB, free: 69.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.00324/8.072, allocations: 2.361 MB / 3.891 GB, free: 66.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/8.072, allocations: 4 kB / 3.891 GB, free: 66.97 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/8.073, allocations: 135.8 kB / 3.892 GB, free: 66.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/8.073, allocations: 11.98 kB / 3.892 GB, free: 66.83 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/8.073, allocations: 11.95 kB / 3.892 GB, free: 66.82 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/8.073, allocations: 8.188 kB / 3.892 GB, free: 66.81 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/8.073, allocations: 7.984 kB / 3.892 GB, free: 66.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/8.075, allocations: 1.501 MB / 3.893 GB, free: 65.21 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/8.075, allocations: 355.4 kB / 3.893 GB, free: 64.85 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/8.076, allocations: 11.98 kB / 3.893 GB, free: 64.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/8.077, allocations: 95.73 kB / 3.894 GB, free: 64.74 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/8.077, allocations: 60.38 kB / 3.894 GB, free: 64.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.845e-05/8.077, allocations: 31.98 kB / 3.894 GB, free: 64.65 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00114/8.078, allocations: 0.9409 MB / 3.895 GB, free: 63.71 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/8.078, allocations: 0 / 3.895 GB, free: 63.71 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001978/8.08, allocations: 0.6279 MB / 3.895 GB, free: 63.08 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.004136/8.084, allocations: 4.59 MB / 3.9 GB, free: 58.32 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001573/8.086, allocations: 1.12 MB / 3.901 GB, free: 57.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/8.086, allocations: 0 / 3.901 GB, free: 57.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004277/8.086, allocations: 369.8 kB / 3.901 GB, free: 56.84 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/8.089, allocations: 477.3 kB / 3.902 GB, free: 56.39 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/8.092, allocations: 1.829 MB / 3.903 GB, free: 54.48 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/8.093, allocations: 1.174 MB / 3.904 GB, free: 53.29 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002024/8.095, allocations: 496.3 kB / 3.905 GB, free: 52.79 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/8.095, allocations: 479.2 kB / 3.905 GB, free: 52.32 MB / 1.151 GB Notification: Performance of SimCode: time 6.22e-07/8.095, allocations: 0 / 3.905 GB, free: 52.32 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07514/8.171, allocations: 47.21 MB / 3.951 GB, free: 5.387 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/8.171, allocations: 187.5 kB / 3.952 GB, free: 5.195 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.823/11.99, allocations: 1.875 kB / 3.952 GB, free: 5.195 MB / 1.151 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