Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 252 MB / 268 MB, free: 10.86 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.001099/0.001099, allocations: 179.1 kB / 327.6 MB, free: 2.09 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.601/1.601, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0008076/0.0008077, allocations: 93.52 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 15.28 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2453, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7281/0.9735, allocations: 185.4 MB / 1.083 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01383/0.9873, allocations: 7.876 MB / 1.09 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.9891, allocations: 35.16 kB / 1.09 GB, free: 1.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.9905, allocations: 462.8 kB / 1.091 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004123/0.9946, allocations: 1.451 MB / 1.092 GB, free: 1.414 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008138/1.003, allocations: 2.288 MB / 1.094 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004592/1.007, allocations: 2.803 MB / 1.097 GB, free: 1.312 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/1.009, allocations: 0.9089 MB / 1.098 GB, free: 1.191 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/1.012, allocations: 0.8306 MB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/1.013, allocations: 0.8122 MB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004325/1.014, allocations: 59.17 kB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/1.017, allocations: 1.492 MB / 1.101 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006752/1.018, allocations: 334.1 kB / 1.101 GB, free: 1.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00154/1.02, allocations: 0.5843 MB / 1.102 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00246/1.022, allocations: 1.577 MB / 1.104 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.022, allocations: 0 / 1.104 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.753e-06/1.022, allocations: 6.906 kB / 1.104 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.015e-05/1.022, allocations: 0 / 1.104 GB, free: 17.03 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.004343/1.026, allocations: 1.529 MB / 1.105 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/1.026, allocations: 6.656 kB / 1.105 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/1.028, allocations: 186.6 kB / 1.105 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/1.03, allocations: 1.061 MB / 1.106 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/1.03, allocations: 55.47 kB / 1.106 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/1.03, allocations: 61.75 kB / 1.106 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/1.031, allocations: 0.702 MB / 1.107 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/1.031, allocations: 0 / 1.107 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.707e-05/1.031, allocations: 17.81 kB / 1.107 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/1.032, allocations: 15.61 kB / 1.107 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/1.033, allocations: 0.6444 MB / 1.108 GB, free: 15.68 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.004456/1.037, allocations: 2.683 MB / 1.11 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/1.038, allocations: 0.5616 MB / 1.111 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005881/1.039, allocations: 361.9 kB / 1.111 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/1.039, allocations: 296.1 kB / 1.112 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/1.039, allocations: 36.69 kB / 1.112 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008583/1.04, allocations: 164.6 kB / 1.112 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 5.129e-06/1.04, allocations: 0 / 1.112 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002348/1.043, allocations: 1.069 MB / 1.113 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/1.043, allocations: 137.4 kB / 1.113 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/1.045, allocations: 1.291 MB / 1.114 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.627e-05/1.045, allocations: 40.95 kB / 1.114 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/1.045, allocations: 439.3 kB / 1.115 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/1.045, allocations: 162.2 kB / 1.115 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/1.045, allocations: 3.625 kB / 1.115 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.046, allocations: 325.7 kB / 1.115 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005644/1.046, allocations: 296.5 kB / 1.115 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/1.047, allocations: 0.5152 MB / 1.116 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/1.048, allocations: 0.6549 MB / 1.116 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.048, allocations: 0 / 1.116 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001512/1.05, allocations: 0.7971 MB / 1.117 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/1.05, allocations: 99.66 kB / 1.117 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/1.05, allocations: 0 / 1.117 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/1.05, allocations: 7.25 kB / 1.117 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/1.05, allocations: 121.7 kB / 1.117 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/1.05, allocations: 4.984 kB / 1.117 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/1.052, allocations: 132.7 kB / 1.118 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/1.052, allocations: 25.47 kB / 1.118 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/1.052, allocations: 3.594 kB / 1.118 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00133/1.053, allocations: 0.665 MB / 1.118 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/1.053, allocations: 3.656 kB / 1.118 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/1.053, allocations: 2.5 kB / 1.118 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/1.054, allocations: 121.7 kB / 1.118 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/1.054, allocations: 0 / 1.118 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/1.055, allocations: 133.5 kB / 1.119 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/1.055, allocations: 28.27 kB / 1.119 GB, free: 12.97 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.000495/1.056, allocations: 339.9 kB / 1.119 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/1.056, allocations: 106.9 kB / 1.119 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/1.058, allocations: 0.8348 MB / 1.12 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.058, allocations: 5.594 kB / 1.12 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.058, allocations: 0 / 1.12 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.058, allocations: 7.125 kB / 1.12 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/1.061, allocations: 1.969 MB / 1.122 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.061, allocations: 3.312 kB / 1.122 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/1.061, allocations: 112.8 kB / 1.122 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.061, allocations: 3.531 kB / 1.122 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/1.062, allocations: 17.25 kB / 1.122 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/1.062, allocations: 12.89 kB / 1.122 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.062, allocations: 2.625 kB / 1.122 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/1.064, allocations: 1.286 MB / 1.123 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/1.065, allocations: 287.3 kB / 1.123 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/1.065, allocations: 15.09 kB / 1.123 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.066, allocations: 80.11 kB / 1.124 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.066, allocations: 46.89 kB / 1.124 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/1.066, allocations: 20.33 kB / 1.124 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002414/1.069, allocations: 0.9262 MB / 1.124 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/1.069, allocations: 0.5 kB / 1.124 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002353/1.071, allocations: 454.9 kB / 1.125 GB, free: 11.63 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.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 (52): * Single equations (assignments): 52 * 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.000811/1.072, allocations: 257.8 kB / 1.125 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002336/1.074, allocations: 1.071 MB / 1.126 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.074, allocations: 0 / 1.126 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006862/1.075, allocations: 357.4 kB / 1.127 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/1.078, allocations: 475 kB / 1.127 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003019/1.081, allocations: 2.104 MB / 1.129 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/1.081, allocations: 1.054 MB / 1.13 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/1.082, allocations: 97.56 kB / 1.13 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of SimCode: time 1.823e-06/1.082, allocations: 0 / 1.13 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of Templates: time 0.02893/1.111, allocations: 17.45 MB / 1.147 GB, free: 0.7734 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)