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.436/1.436, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 178.6 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009721/0.000972, allocations: 91.81 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003458, allocations: 8.562 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2284, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7183/0.9467, allocations: 165 MB / 1.061 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01346/0.9602, allocations: 8.468 MB / 1.07 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.9627, allocations: 40.78 kB / 1.07 GB, free: 3.754 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.9653, allocations: 0.7909 MB / 1.07 GB, free: 3.75 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007237/0.9726, allocations: 1.773 MB / 1.072 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01079/0.9834, allocations: 2.801 MB / 1.075 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004903/0.9883, allocations: 1.693 MB / 1.076 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.9905, allocations: 1.157 MB / 1.078 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.9935, allocations: 1.103 MB / 1.079 GB, free: 3.461 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/0.995, allocations: 0.8562 MB / 1.08 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.9953, allocations: 77.62 kB / 1.08 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.9983, allocations: 0.8274 MB / 1.08 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005407/0.9988, allocations: 419.1 kB / 1.081 GB, free: 3.457 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005023/0.9994, allocations: 285.4 kB / 1.081 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/1.002, allocations: 1.935 MB / 1.083 GB, free: 3.309 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.002, allocations: 0 / 1.083 GB, free: 3.309 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.687e-06/1.002, allocations: 1.859 kB / 1.083 GB, free: 3.309 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.832e-05/1.002, allocations: 0 / 1.083 GB, free: 3.309 MB / 0.698 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.005842/1.008, allocations: 1.876 MB / 1.085 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.008, allocations: 10.28 kB / 1.085 GB, free: 18.38 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/1.008, allocations: 108.9 kB / 1.085 GB, free: 18.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/1.009, allocations: 238.6 kB / 1.085 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/1.012, allocations: 1.275 MB / 1.086 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/1.012, allocations: 69.33 kB / 1.086 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/1.012, allocations: 79.62 kB / 1.087 GB, free: 17.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00186/1.014, allocations: 0.9215 MB / 1.087 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/1.014, allocations: 0 / 1.087 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/1.014, allocations: 29.95 kB / 1.087 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/1.014, allocations: 17.03 kB / 1.087 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/1.016, allocations: 0.8486 MB / 1.088 GB, free: 17.78 MB / 0.7136 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.00716/1.023, allocations: 3.505 MB / 1.092 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/1.025, allocations: 0.8027 MB / 1.093 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.578e-05/1.025, allocations: 23.02 kB / 1.093 GB, free: 16.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/1.025, allocations: 43.66 kB / 1.093 GB, free: 16.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001202/1.026, allocations: 235.9 kB / 1.093 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 3.517e-06/1.026, allocations: 0 / 1.093 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.002708/1.029, allocations: 1.347 MB / 1.094 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.029, allocations: 212.2 kB / 1.094 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/1.032, allocations: 1.666 MB / 1.096 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001276/1.032, allocations: 43.14 kB / 1.096 GB, free: 16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004315/1.032, allocations: 0.5545 MB / 1.097 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/1.032, allocations: 183.4 kB / 1.097 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/1.032, allocations: 13.88 kB / 1.097 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.032, allocations: 330 kB / 1.097 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006762/1.033, allocations: 386.5 kB / 1.097 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009058/1.034, allocations: 0.6921 MB / 1.098 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007738/1.035, allocations: 462.4 kB / 1.099 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.035, allocations: 2.844 kB / 1.099 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001866/1.037, allocations: 1.055 MB / 1.1 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/1.037, allocations: 99.22 kB / 1.1 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.037, allocations: 5.969 kB / 1.1 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/1.037, allocations: 2.844 kB / 1.1 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/1.038, allocations: 155.7 kB / 1.1 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.038, allocations: 11.3 kB / 1.1 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.039, allocations: 163.9 kB / 1.1 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.92e-05/1.04, allocations: 31.41 kB / 1.1 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/1.04, allocations: 2.719 kB / 1.1 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001591/1.041, allocations: 0.8941 MB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.041, allocations: 4.125 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/1.041, allocations: 8.703 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/1.042, allocations: 155.9 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/1.042, allocations: 2.938 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.044, allocations: 167.4 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/1.044, allocations: 32.47 kB / 1.101 GB, free: 14.8 MB / 0.7136 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 (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.000775/1.045, allocations: 379.4 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/1.045, allocations: 135.8 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/1.047, allocations: 1.059 MB / 1.103 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.047, allocations: 7.375 kB / 1.103 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.047, allocations: 3.469 kB / 1.103 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/1.047, allocations: 0 / 1.103 GB, free: 14.45 MB / 0.7136 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.003802/1.051, allocations: 2.49 MB / 1.105 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.051, allocations: 7.062 kB / 1.105 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/1.052, allocations: 140.3 kB / 1.105 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.609e-06/1.052, allocations: 5.375 kB / 1.105 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/1.052, allocations: 20.45 kB / 1.105 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/1.052, allocations: 5.75 kB / 1.105 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.052, allocations: 7.109 kB / 1.105 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002548/1.054, allocations: 1.693 MB / 1.107 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007145/1.055, allocations: 347.4 kB / 1.107 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/1.055, allocations: 15.53 kB / 1.107 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.056, allocations: 107 kB / 1.107 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/1.057, allocations: 43.27 kB / 1.108 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/1.057, allocations: 27.48 kB / 1.108 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001958/1.059, allocations: 1.194 MB / 1.109 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/1.059, allocations: 0 / 1.109 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001853/1.061, allocations: 0.5434 MB / 1.109 GB, free: 13.11 MB / 0.7136 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 () * Number of clocked 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.00403/1.065, allocations: 3.004 MB / 1.112 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002955/1.068, allocations: 1.448 MB / 1.114 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.068, allocations: 6.375 kB / 1.114 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007998/1.068, allocations: 432.7 kB / 1.114 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/1.072, allocations: 0.5913 MB / 1.115 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006422/1.078, allocations: 3.158 MB / 1.118 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008826/1.079, allocations: 1.192 MB / 1.119 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001935/1.081, allocations: 380.4 kB / 1.119 GB, free: 8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008032/1.082, allocations: 0.5315 MB / 1.12 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.082, allocations: 1.859 kB / 1.12 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07203/1.154, allocations: 38.39 MB / 1.157 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/1.154, allocations: 248.5 kB / 1.157 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.472/4.626, allocations: 0 / 1.157 GB, free: 13.12 MB / 0.7448 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)