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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005622/0.005622, allocations: 100.7 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 196.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.587/1.587, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 75.88 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2536, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.9011/1.155, allocations: 199 MB / 1.022 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01655/1.171, allocations: 8.739 MB / 1.031 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/1.174, allocations: 46.41 kB / 1.031 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002261/1.176, allocations: 0.6799 MB / 1.032 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005648/1.182, allocations: 1.857 MB / 1.033 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009297/1.191, allocations: 3.234 MB / 1.037 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00498/1.196, allocations: 2.956 MB / 1.039 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/1.199, allocations: 1.471 MB / 1.041 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/1.202, allocations: 1.25 MB / 1.042 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002314/1.205, allocations: 1.148 MB / 1.043 GB, free: 292 kB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.000772/1.205, allocations: 192 kB / 1.043 GB, free: 100 kB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003996/1.209, allocations: 1.505 MB / 1.045 GB, free: 14.59 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/1.211, allocations: 0.5608 MB / 1.045 GB, free: 14.03 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/1.213, allocations: 0.8514 MB / 1.046 GB, free: 13.17 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004403/1.217, allocations: 2.675 MB / 1.049 GB, free: 10.49 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/1.217, allocations: 0 / 1.049 GB, free: 10.49 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/1.217, allocations: 0 / 1.049 GB, free: 10.49 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.073e-05/1.217, allocations: 0 / 1.049 GB, free: 10.49 MB / 0.795 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.005864/1.223, allocations: 2.188 MB / 1.051 GB, free: 8.246 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.223, allocations: 8.031 kB / 1.051 GB, free: 8.238 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/1.224, allocations: 238 kB / 1.051 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/1.227, allocations: 1.369 MB / 1.053 GB, free: 6.582 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/1.227, allocations: 54 kB / 1.053 GB, free: 6.531 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/1.227, allocations: 80 kB / 1.053 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/1.229, allocations: 0.9243 MB / 1.054 GB, free: 5.5 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/1.229, allocations: 3.938 kB / 1.054 GB, free: 5.496 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/1.229, allocations: 28 kB / 1.054 GB, free: 5.469 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/1.229, allocations: 12 kB / 1.054 GB, free: 5.457 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/1.23, allocations: 0.8327 MB / 1.055 GB, free: 4.625 MB / 0.795 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.007245/1.238, allocations: 3.487 MB / 1.058 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/1.24, allocations: 0.7705 MB / 1.059 GB, free: 184 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009467/1.241, allocations: 445.9 kB / 1.059 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005202/1.241, allocations: 287.7 kB / 1.059 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/1.241, allocations: 42.94 kB / 1.059 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001558/1.243, allocations: 199.4 kB / 1.06 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 3.877e-06/1.243, allocations: 0 / 1.06 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.003289/1.246, allocations: 1.309 MB / 1.061 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/1.246, allocations: 214.1 kB / 1.061 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002962/1.249, allocations: 1.686 MB / 1.063 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001078/1.249, allocations: 41.7 kB / 1.063 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005272/1.25, allocations: 0.558 MB / 1.063 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/1.25, allocations: 177.4 kB / 1.063 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003745/1.25, allocations: 162.2 kB / 1.064 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.251, allocations: 329.9 kB / 1.064 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007771/1.251, allocations: 394.6 kB / 1.064 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/1.253, allocations: 0.6956 MB / 1.065 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/1.254, allocations: 0.8236 MB / 1.066 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/1.254, allocations: 0 / 1.066 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002453/1.257, allocations: 1.04 MB / 1.067 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.257, allocations: 8 kB / 1.067 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/1.257, allocations: 3.984 kB / 1.067 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/1.257, allocations: 4 kB / 1.067 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/1.258, allocations: 155.7 kB / 1.067 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/1.258, allocations: 0 / 1.067 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.26, allocations: 123.2 kB / 1.067 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/1.26, allocations: 31.97 kB / 1.067 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0013/1.261, allocations: 0.622 MB / 1.068 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001148/1.262, allocations: 0.6885 MB / 1.068 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00168/1.264, allocations: 0.8336 MB / 1.069 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.757e-06/1.264, allocations: 3.938 kB / 1.069 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002252/1.266, allocations: 1.042 MB / 1.07 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.266, allocations: 4 kB / 1.07 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.266, allocations: 4 kB / 1.07 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/1.266, allocations: 0 / 1.07 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007761/1.267, allocations: 155.8 kB / 1.07 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.267, allocations: 4 kB / 1.07 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/1.269, allocations: 164.4 kB / 1.071 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/1.269, allocations: 35.95 kB / 1.071 GB, free: 3.512 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003962/1.269, allocations: 228.1 kB / 1.071 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002961/1.27, allocations: 134.3 kB / 1.071 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002329/1.272, allocations: 1.028 MB / 1.072 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.272, allocations: 8 kB / 1.072 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.272, allocations: 0 / 1.072 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.272, allocations: 3.984 kB / 1.072 GB, free: 2.102 MB / 0.8106 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.004374/1.276, allocations: 2.472 MB / 1.074 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/1.276, allocations: 4 kB / 1.074 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/1.277, allocations: 132 kB / 1.075 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/1.277, allocations: 8 kB / 1.075 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.482e-05/1.277, allocations: 23.98 kB / 1.075 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/1.277, allocations: 4 kB / 1.075 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-05/1.277, allocations: 4 kB / 1.075 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/1.28, allocations: 1.532 MB / 1.076 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006365/1.281, allocations: 351.1 kB / 1.076 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/1.281, allocations: 16 kB / 1.076 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.282, allocations: 83.89 kB / 1.076 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.282, allocations: 44.31 kB / 1.077 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/1.282, allocations: 24 kB / 1.077 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002014/1.284, allocations: 1.207 MB / 1.078 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/1.284, allocations: 0 / 1.078 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001639/1.286, allocations: 0.546 MB / 1.078 GB, free: 11.49 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006707/1.287, allocations: 278.2 kB / 1.079 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002845/1.289, allocations: 1.423 MB / 1.08 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.289, allocations: 3.938 kB / 1.08 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007781/1.29, allocations: 426.1 kB / 1.08 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/1.293, allocations: 0.559 MB / 1.081 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/1.296, allocations: 2.194 MB / 1.083 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007909/1.297, allocations: 1.165 MB / 1.084 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001397/1.298, allocations: 381.6 kB / 1.084 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/1.299, allocations: 131.3 kB / 1.085 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of SimCode: time 1.413e-06/1.299, allocations: 0 / 1.085 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of Templates: time 0.051/1.35, allocations: 29.16 MB / 1.113 GB, free: 8.059 MB / 0.8575 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)