Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.886/1.886, allocations: 288.4 MB / 303.4 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009412/0.0009406, allocations: 184.4 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 0.6307 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008785/0.0008787, allocations: 98.27 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004495, allocations: 11.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2521, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8505/1.103, allocations: 172.8 MB / 1.148 GB, free: 11.31 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0147/1.117, allocations: 7.153 MB / 1.155 GB, free: 7.344 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002102/1.12, allocations: 37.94 kB / 1.155 GB, free: 7.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/1.121, allocations: 361.5 kB / 1.156 GB, free: 7.023 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004415/1.126, allocations: 1.136 MB / 1.157 GB, free: 6.125 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00808/1.134, allocations: 2.028 MB / 1.159 GB, free: 4.824 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004996/1.139, allocations: 2.43 MB / 1.161 GB, free: 3.355 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/1.141, allocations: 0.861 MB / 1.162 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/1.143, allocations: 0.8156 MB / 1.163 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/1.144, allocations: 0.7813 MB / 1.164 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/1.145, allocations: 57.44 kB / 1.164 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/1.147, allocations: 0.9173 MB / 1.165 GB, free: 1.41 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005066/1.148, allocations: 335.5 kB / 1.165 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004338/1.148, allocations: 226 kB / 1.165 GB, free: 1.035 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002366/1.151, allocations: 1.551 MB / 1.167 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.151, allocations: 0 / 1.167 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.994e-06/1.151, allocations: 0 / 1.167 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.445e-05/1.151, allocations: 1.156 kB / 1.167 GB, free: 15.96 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.004382/1.155, allocations: 1.546 MB / 1.168 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.155, allocations: 9.5 kB / 1.168 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009731/1.156, allocations: 190.1 kB / 1.168 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/1.158, allocations: 1.014 MB / 1.169 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/1.159, allocations: 47.25 kB / 1.169 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.159, allocations: 58.62 kB / 1.169 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/1.16, allocations: 0.7018 MB / 1.17 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/1.16, allocations: 0 / 1.17 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.915e-05/1.16, allocations: 20.69 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/1.16, allocations: 15.72 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.162, allocations: 0.6401 MB / 1.171 GB, free: 13.18 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.005007/1.167, allocations: 2.683 MB / 1.173 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/1.168, allocations: 0.5616 MB / 1.174 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/1.169, allocations: 359 kB / 1.174 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004632/1.169, allocations: 291.5 kB / 1.174 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/1.169, allocations: 41.33 kB / 1.175 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008077/1.17, allocations: 170.5 kB / 1.175 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.376e-06/1.17, allocations: 0 / 1.175 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002357/1.172, allocations: 1.065 MB / 1.176 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/1.172, allocations: 139.7 kB / 1.176 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/1.175, allocations: 1.275 MB / 1.177 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.54e-05/1.175, allocations: 39.86 kB / 1.177 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/1.175, allocations: 451 kB / 1.178 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/1.175, allocations: 150.5 kB / 1.178 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/1.175, allocations: 6.812 kB / 1.178 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.176, allocations: 331.1 kB / 1.178 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/1.176, allocations: 283.4 kB / 1.178 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000912/1.177, allocations: 0.5193 MB / 1.179 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006957/1.178, allocations: 349.4 kB / 1.179 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.178, allocations: 0 / 1.179 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001672/1.179, allocations: 0.7887 MB / 1.18 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.733e-05/1.18, allocations: 104.5 kB / 1.18 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.18, allocations: 2.844 kB / 1.18 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/1.18, allocations: 10.2 kB / 1.18 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/1.18, allocations: 117 kB / 1.18 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.18, allocations: 0 / 1.18 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/1.182, allocations: 128.6 kB / 1.18 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/1.182, allocations: 29.94 kB / 1.18 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/1.182, allocations: 5.375 kB / 1.18 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00142/1.183, allocations: 0.6592 MB / 1.181 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/1.183, allocations: 6.844 kB / 1.181 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-06/1.183, allocations: 0 / 1.181 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/1.184, allocations: 120.3 kB / 1.181 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/1.184, allocations: 6.609 kB / 1.181 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.185, allocations: 127.2 kB / 1.181 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/1.185, allocations: 29.7 kB / 1.181 GB, free: 6.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005069/1.186, allocations: 333.9 kB / 1.182 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/1.186, allocations: 108 kB / 1.182 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/1.188, allocations: 0.8356 MB / 1.182 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.188, allocations: 3.25 kB / 1.182 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/1.188, allocations: 3.953 kB / 1.182 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.188, allocations: 6.5 kB / 1.182 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/1.191, allocations: 1.969 MB / 1.184 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.191, allocations: 0 / 1.184 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/1.192, allocations: 119.4 kB / 1.185 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.192, allocations: 8.969 kB / 1.185 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/1.192, allocations: 13.69 kB / 1.185 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/1.192, allocations: 5.156 kB / 1.185 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.192, allocations: 3 kB / 1.185 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/1.194, allocations: 1.281 MB / 1.186 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/1.194, allocations: 288.8 kB / 1.186 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/1.195, allocations: 21.41 kB / 1.186 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009946/1.196, allocations: 80.84 kB / 1.186 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.196, allocations: 43.44 kB / 1.186 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/1.196, allocations: 25.67 kB / 1.186 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001477/1.197, allocations: 0.9205 MB / 1.187 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.81e-07/1.197, allocations: 0 / 1.187 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001671/1.199, allocations: 451.6 kB / 1.188 GB, free: 2.262 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 (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.00077/1.2, allocations: 248.3 kB / 1.188 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002215/1.202, allocations: 1.063 MB / 1.189 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.202, allocations: 4 kB / 1.189 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006551/1.203, allocations: 358.5 kB / 1.189 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.205, allocations: 484 kB / 1.19 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/1.208, allocations: 1.976 MB / 1.192 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009206/1.209, allocations: 1.052 MB / 1.193 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001541/1.211, allocations: 306.4 kB / 1.193 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/1.211, allocations: 96.19 kB / 1.193 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of SimCode: time 1.903e-06/1.211, allocations: 4 kB / 1.193 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.04142/1.253, allocations: 21.13 MB / 1.214 GB, free: 10.81 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)