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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007851/0.007851, allocations: 110.3 kB / 15.74 MB, free: 6.449 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.001712/0.001712, allocations: 196 kB / 16.67 MB, free: 6.355 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.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.63/1.63, allocations: 251.7 MB / 0.5094 GB, free: 3.074 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.001393/0.001393, allocations: 67.91 kB / 0.7258 GB, free: 9.047 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2864, allocations: 104.7 MB / 0.828 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8731/1.16, allocations: 190.2 MB / 1.014 GB, free: 9.066 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0158/1.175, allocations: 7.523 MB / 1.021 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/1.178, allocations: 43.88 kB / 1.021 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00204/1.18, allocations: 0.5493 MB / 1.022 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005176/1.185, allocations: 1.557 MB / 1.023 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00891/1.194, allocations: 2.75 MB / 1.026 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004431/1.199, allocations: 2.296 MB / 1.028 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/1.2, allocations: 1.08 MB / 1.029 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001775/1.202, allocations: 0.9574 MB / 1.03 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/1.203, allocations: 0.8679 MB / 1.031 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002/1.203, allocations: 138.2 kB / 1.031 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/1.207, allocations: 1.37 MB / 1.032 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006473/1.207, allocations: 426.7 kB / 1.033 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009285/1.208, allocations: 0.6531 MB / 1.033 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004089/1.212, allocations: 2.122 MB / 1.036 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/1.212, allocations: 0 / 1.036 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.188e-06/1.212, allocations: 0 / 1.036 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.873e-05/1.213, allocations: 0 / 1.036 GB, free: 8.277 MB / 0.7794 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.004501/1.217, allocations: 1.751 MB / 1.037 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/1.217, allocations: 12.03 kB / 1.037 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/1.218, allocations: 190.4 kB / 1.037 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/1.22, allocations: 1.077 MB / 1.039 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.234e-05/1.22, allocations: 56.92 kB / 1.039 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/1.22, allocations: 59.94 kB / 1.039 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/1.222, allocations: 0.6909 MB / 1.039 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/1.222, allocations: 0 / 1.039 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.395e-05/1.222, allocations: 24 kB / 1.039 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/1.222, allocations: 8 kB / 1.039 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/1.223, allocations: 0.6168 MB / 1.04 GB, free: 3.672 MB / 0.7794 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.004414/1.228, allocations: 2.671 MB / 1.043 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/1.229, allocations: 0.5452 MB / 1.043 GB, free: 308 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/1.23, allocations: 360.5 kB / 1.043 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005099/1.23, allocations: 283.5 kB / 1.044 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/1.23, allocations: 46.5 kB / 1.044 GB, free: 15.56 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006452/1.231, allocations: 143.5 kB / 1.044 GB, free: 15.42 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 4.348e-06/1.231, allocations: 3.984 kB / 1.044 GB, free: 15.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.002448/1.233, allocations: 1.028 MB / 1.045 GB, free: 14.38 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/1.233, allocations: 136.5 kB / 1.045 GB, free: 14.21 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/1.236, allocations: 1.288 MB / 1.046 GB, free: 12.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/1.236, allocations: 45.69 kB / 1.046 GB, free: 12.86 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/1.236, allocations: 446.3 kB / 1.047 GB, free: 12.42 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/1.236, allocations: 149.8 kB / 1.047 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/1.236, allocations: 122.1 kB / 1.047 GB, free: 12.14 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.237, allocations: 322 kB / 1.047 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006619/1.237, allocations: 294.4 kB / 1.048 GB, free: 11.53 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008483/1.238, allocations: 0.5045 MB / 1.048 GB, free: 10.94 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/1.239, allocations: 0.6136 MB / 1.049 GB, free: 10.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.239, allocations: 112 / 1.049 GB, free: 10.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001689/1.241, allocations: 0.7961 MB / 1.049 GB, free: 9.523 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/1.241, allocations: 4 kB / 1.049 GB, free: 9.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.241, allocations: 0 / 1.049 GB, free: 9.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/1.241, allocations: 4 kB / 1.049 GB, free: 9.516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/1.242, allocations: 115.8 kB / 1.05 GB, free: 9.402 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.242, allocations: 4 kB / 1.05 GB, free: 9.398 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/1.243, allocations: 95.86 kB / 1.05 GB, free: 9.305 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/1.243, allocations: 19.98 kB / 1.05 GB, free: 9.285 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009504/1.244, allocations: 496.8 kB / 1.05 GB, free: 8.797 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008684/1.245, allocations: 0.5049 MB / 1.051 GB, free: 8.199 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001215/1.246, allocations: 0.615 MB / 1.051 GB, free: 7.578 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/1.246, allocations: 0 / 1.051 GB, free: 7.578 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001712/1.248, allocations: 0.7759 MB / 1.052 GB, free: 6.797 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.248, allocations: 8 kB / 1.052 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.248, allocations: 4 kB / 1.052 GB, free: 6.785 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.735e-06/1.248, allocations: 4 kB / 1.052 GB, free: 6.781 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/1.249, allocations: 107.8 kB / 1.052 GB, free: 6.676 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.249, allocations: 8 kB / 1.052 GB, free: 6.668 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/1.25, allocations: 124.3 kB / 1.052 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/1.25, allocations: 27.97 kB / 1.052 GB, free: 6.52 MB / 0.795 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.0002743/1.25, allocations: 208.3 kB / 1.052 GB, free: 6.309 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/1.251, allocations: 106.7 kB / 1.053 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/1.252, allocations: 0.8112 MB / 1.053 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.252, allocations: 4 kB / 1.053 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.252, allocations: 0 / 1.053 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.252, allocations: 3.984 kB / 1.053 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/1.256, allocations: 1.952 MB / 1.055 GB, free: 3.348 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.256, allocations: 4 kB / 1.055 GB, free: 3.344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/1.256, allocations: 107.8 kB / 1.055 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/1.256, allocations: 8.266 kB / 1.055 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/1.256, allocations: 23.94 kB / 1.055 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/1.256, allocations: 4 kB / 1.055 GB, free: 3.203 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.256, allocations: 4 kB / 1.055 GB, free: 3.199 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/1.259, allocations: 1.241 MB / 1.057 GB, free: 1.914 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005113/1.259, allocations: 291.6 kB / 1.057 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.259, allocations: 11.94 kB / 1.057 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000949/1.26, allocations: 67.97 kB / 1.057 GB, free: 1.531 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/1.261, allocations: 43.89 kB / 1.057 GB, free: 1.488 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/1.261, allocations: 16 kB / 1.057 GB, free: 1.473 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001465/1.262, allocations: 0.9292 MB / 1.058 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.91e-07/1.262, allocations: 0 / 1.058 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001356/1.263, allocations: 451.4 kB / 1.058 GB, free: 96 kB / 0.795 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.0006316/1.264, allocations: 261.1 kB / 1.059 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002268/1.266, allocations: 1.039 MB / 1.06 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.266, allocations: 0 / 1.06 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006717/1.267, allocations: 336.3 kB / 1.06 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.269, allocations: 463.3 kB / 1.06 GB, free: 14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/1.272, allocations: 1.696 MB / 1.062 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006979/1.273, allocations: 1.057 MB / 1.063 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001084/1.274, allocations: 295.3 kB / 1.063 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/1.274, allocations: 103.3 kB / 1.063 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of SimCode: time 5.51e-07/1.274, allocations: 0 / 1.063 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of Templates: time 0.04089/1.315, allocations: 22.77 MB / 1.086 GB, free: 4.277 MB / 0.8262 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)