Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.684/1.684, allocations: 249.3 MB / 261.8 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009559/0.0009557, allocations: 94.53 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.714e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2466, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.98/7.227, allocations: 2.203 GB / 3.094 GB, free: 126 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003743/7.227, allocations: 95.81 kB / 3.095 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.707/9.934, allocations: 0.72 GB / 3.815 GB, free: 59.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.016e-06/9.934, allocations: 0 / 3.815 GB, free: 59.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001354/9.934, allocations: 43.98 kB / 3.815 GB, free: 59.02 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003884/9.938, allocations: 1.58 MB / 3.816 GB, free: 57.39 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/9.938, allocations: 16.02 kB / 3.816 GB, free: 57.38 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001352/9.938, allocations: 102.5 kB / 3.816 GB, free: 57.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/9.941, allocations: 305.9 kB / 3.817 GB, free: 56.96 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/9.944, allocations: 1.34 MB / 3.818 GB, free: 55.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/9.944, allocations: 57.31 kB / 3.818 GB, free: 55.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/9.944, allocations: 80 kB / 3.818 GB, free: 55.44 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/9.945, allocations: 0.8872 MB / 3.819 GB, free: 54.52 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/9.945, allocations: 4 kB / 3.819 GB, free: 54.52 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.33e-05/9.945, allocations: 24 kB / 3.819 GB, free: 54.49 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/9.945, allocations: 19.95 kB / 3.819 GB, free: 54.47 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/9.947, allocations: 0.7627 MB / 3.82 GB, free: 53.71 MB / 0.8698 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.005101/9.952, allocations: 3.559 MB / 3.823 GB, free: 49.99 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009652/9.953, allocations: 0.7241 MB / 3.824 GB, free: 49.24 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000517/9.953, allocations: 411.6 kB / 3.824 GB, free: 48.84 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003625/9.954, allocations: 291.7 kB / 3.824 GB, free: 48.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/9.954, allocations: 50.92 kB / 3.825 GB, free: 48.44 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001359/9.955, allocations: 331.8 kB / 3.825 GB, free: 48.11 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=52): time 2.936e-06/9.955, allocations: 0 / 3.825 GB, free: 48.11 MB / 0.8698 GB Notification: Performance of matching and sorting (n=52): time 0.001625/9.957, allocations: 0.877 MB / 3.826 GB, free: 47.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/9.957, allocations: 230 kB / 3.826 GB, free: 46.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/9.958, allocations: 1.424 MB / 3.827 GB, free: 45.52 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.128e-05/9.959, allocations: 45.64 kB / 3.827 GB, free: 45.46 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/9.959, allocations: 0.5642 MB / 3.828 GB, free: 44.89 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/9.959, allocations: 181.3 kB / 3.828 GB, free: 44.71 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/9.959, allocations: 12 kB / 3.828 GB, free: 44.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.173e-05/9.959, allocations: 329.9 kB / 3.828 GB, free: 44.37 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/9.96, allocations: 333 kB / 3.829 GB, free: 44.05 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000643/9.96, allocations: 0.6517 MB / 3.829 GB, free: 43.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/9.961, allocations: 416.6 kB / 3.83 GB, free: 42.86 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/9.961, allocations: 0 / 3.83 GB, free: 42.86 MB / 0.8698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001354/9.962, allocations: 0.9464 MB / 3.831 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/9.962, allocations: 105.3 kB / 3.831 GB, free: 41.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/9.962, allocations: 4 kB / 3.831 GB, free: 41.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/9.962, allocations: 0 / 3.831 GB, free: 41.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007893/9.963, allocations: 163.8 kB / 3.831 GB, free: 41.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/9.963, allocations: 4 kB / 3.831 GB, free: 41.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/9.965, allocations: 151.7 kB / 3.831 GB, free: 41.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/9.965, allocations: 47.91 kB / 3.831 GB, free: 41.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/9.965, allocations: 4 kB / 3.831 GB, free: 41.43 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001142/9.966, allocations: 0.79 MB / 3.832 GB, free: 40.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/9.966, allocations: 7.969 kB / 3.832 GB, free: 40.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/9.966, allocations: 4 kB / 3.832 GB, free: 40.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/9.967, allocations: 163.8 kB / 3.832 GB, free: 40.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/9.967, allocations: 0 / 3.832 GB, free: 40.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/9.968, allocations: 147.8 kB / 3.832 GB, free: 40.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/9.969, allocations: 43.95 kB / 3.832 GB, free: 40.28 MB / 0.8698 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0002487/9.969, allocations: 140.8 kB / 3.832 GB, free: 40.13 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/9.969, allocations: 142.2 kB / 3.833 GB, free: 39.99 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/9.972, allocations: 0.9651 MB / 3.833 GB, free: 39.02 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/9.972, allocations: 8 kB / 3.833 GB, free: 39.01 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/9.972, allocations: 0 / 3.833 GB, free: 39.01 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/9.972, allocations: 7.922 kB / 3.833 GB, free: 39 MB / 0.8698 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.003584/9.975, allocations: 2.417 MB / 3.836 GB, free: 36.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/9.975, allocations: 4 kB / 3.836 GB, free: 36.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/9.976, allocations: 136.1 kB / 3.836 GB, free: 36.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/9.976, allocations: 4 kB / 3.836 GB, free: 36.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/9.976, allocations: 23.98 kB / 3.836 GB, free: 36.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/9.976, allocations: 11.95 kB / 3.836 GB, free: 36.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/9.976, allocations: 0 / 3.836 GB, free: 36.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/9.978, allocations: 1.549 MB / 3.838 GB, free: 34.64 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006494/9.979, allocations: 363.2 kB / 3.838 GB, free: 34.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/9.979, allocations: 23.94 kB / 3.838 GB, free: 34.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/9.98, allocations: 103.8 kB / 3.838 GB, free: 34.14 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/9.98, allocations: 56.27 kB / 3.838 GB, free: 34.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/9.98, allocations: 27.98 kB / 3.838 GB, free: 34.06 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001652/9.982, allocations: 1.12 MB / 3.839 GB, free: 32.94 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.21e-07/9.982, allocations: 0 / 3.839 GB, free: 32.94 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00284/9.985, allocations: 0.7375 MB / 3.84 GB, free: 32.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.00493/9.99, allocations: 4.465 MB / 3.844 GB, free: 27.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001997/9.992, allocations: 1.325 MB / 3.846 GB, free: 26.21 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/9.992, allocations: 3.938 kB / 3.846 GB, free: 26.21 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004646/9.992, allocations: 374.5 kB / 3.846 GB, free: 25.85 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/9.996, allocations: 0.5849 MB / 3.846 GB, free: 25.27 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/10, allocations: 1.99 MB / 3.848 GB, free: 23.21 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/10, allocations: 1.187 MB / 3.85 GB, free: 21.99 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002348/10, allocations: 0.5297 MB / 3.85 GB, free: 21.45 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/10, allocations: 0.4953 MB / 3.851 GB, free: 20.96 MB / 0.8698 GB Notification: Performance of SimCode: time 1.673e-06/10, allocations: 0 / 3.851 GB, free: 20.96 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7637/10.77, allocations: 72.77 MB / 3.922 GB, free: 147.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/10.77, allocations: 209 kB / 3.922 GB, free: 147 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.723/15.49, allocations: 0 / 3.922 GB, free: 147 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)