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.377/1.377, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001547/0.001548, allocations: 167.1 kB / 326.5 MB, free: 2.684 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.801/1.801, allocations: 205 MB / 0.5766 GB, free: 20.97 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.0007219/0.0007219, allocations: 92.02 kB / 0.6804 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003061, allocations: 8.781 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1941, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6295/0.8236, allocations: 187.6 MB / 1.08 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01259/0.8363, allocations: 7.967 MB / 1.088 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001686/0.838, allocations: 33.56 kB / 1.088 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.8395, allocations: 464 kB / 1.088 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.8433, allocations: 1.447 MB / 1.09 GB, free: 1.375 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007691/0.851, allocations: 2.278 MB / 1.092 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003806/0.8549, allocations: 2.812 MB / 1.095 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.8563, allocations: 0.9117 MB / 1.095 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.858, allocations: 0.8279 MB / 1.096 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009151/0.8589, allocations: 0.8048 MB / 1.097 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.8591, allocations: 55.78 kB / 1.097 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002777/0.8619, allocations: 1.495 MB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.8622, allocations: 349.7 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006156/0.8629, allocations: 0.5555 MB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.8646, allocations: 1.577 MB / 1.101 GB, free: 1.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.8647, allocations: 0 / 1.101 GB, free: 1.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8647, allocations: 0 / 1.101 GB, free: 1.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.8647, allocations: 0 / 1.101 GB, free: 1.02 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003658/0.8683, allocations: 1.524 MB / 1.102 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.8684, allocations: 8.75 kB / 1.102 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007817/0.8692, allocations: 195 kB / 1.103 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.8708, allocations: 1.063 MB / 1.104 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.8709, allocations: 52.02 kB / 1.104 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.871, allocations: 57.91 kB / 1.104 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.8722, allocations: 0.7009 MB / 1.105 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.8722, allocations: 2.938 kB / 1.105 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.8723, allocations: 21.91 kB / 1.105 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.8723, allocations: 19.95 kB / 1.105 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.8735, allocations: 0.6341 MB / 1.105 GB, free: 15.67 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.00373/0.8772, allocations: 2.684 MB / 1.108 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.8783, allocations: 0.5627 MB / 1.108 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/0.8789, allocations: 364.9 kB / 1.109 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003993/0.8793, allocations: 291 kB / 1.109 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.8794, allocations: 40.56 kB / 1.109 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006586/0.88, allocations: 166.6 kB / 1.109 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.675e-06/0.88, allocations: 0 / 1.109 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.002157/0.8822, allocations: 1.061 MB / 1.11 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.8823, allocations: 138.8 kB / 1.11 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.8841, allocations: 1.285 MB / 1.112 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.8842, allocations: 38.95 kB / 1.112 GB, free: 14 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.8845, allocations: 453.6 kB / 1.112 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.8847, allocations: 150.3 kB / 1.112 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.8847, allocations: 42.22 kB / 1.112 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.8849, allocations: 329.4 kB / 1.113 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/0.8854, allocations: 288.6 kB / 1.113 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.8862, allocations: 0.526 MB / 1.113 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.8873, allocations: 0.6509 MB / 1.114 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8874, allocations: 0 / 1.114 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001452/0.8888, allocations: 0.7991 MB / 1.115 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.782e-05/0.8889, allocations: 97.58 kB / 1.115 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.8889, allocations: 3 kB / 1.115 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.8889, allocations: 7.5 kB / 1.115 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.8895, allocations: 119 kB / 1.115 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.8896, allocations: 3.188 kB / 1.115 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.8907, allocations: 128.1 kB / 1.115 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.8908, allocations: 24.66 kB / 1.115 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.75e-06/0.8908, allocations: 2.938 kB / 1.115 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001253/0.8921, allocations: 0.6695 MB / 1.116 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8921, allocations: 4.406 kB / 1.116 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-06/0.8921, allocations: 1.375 kB / 1.116 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.8927, allocations: 116.5 kB / 1.116 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.8927, allocations: 5.625 kB / 1.116 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.8938, allocations: 137.4 kB / 1.116 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.8939, allocations: 24.53 kB / 1.116 GB, free: 12.95 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.0004077/0.8943, allocations: 335.1 kB / 1.116 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.8945, allocations: 108.3 kB / 1.116 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.8961, allocations: 0.8352 MB / 1.117 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8961, allocations: 2.938 kB / 1.117 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8961, allocations: 7.188 kB / 1.117 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.8961, allocations: 3.156 kB / 1.117 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/0.899, allocations: 1.965 MB / 1.119 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.899, allocations: 6.781 kB / 1.119 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.8996, allocations: 119.8 kB / 1.119 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.8996, allocations: 2.156 kB / 1.119 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.8996, allocations: 22.97 kB / 1.119 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.8996, allocations: 2.469 kB / 1.119 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8996, allocations: 2.719 kB / 1.119 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.9021, allocations: 1.276 MB / 1.121 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/0.9026, allocations: 291.7 kB / 1.121 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.9028, allocations: 13.25 kB / 1.121 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.9038, allocations: 89.58 kB / 1.121 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.904, allocations: 35.22 kB / 1.121 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.904, allocations: 17.25 kB / 1.121 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001595/0.9056, allocations: 0.9388 MB / 1.122 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.001e-06/0.9056, allocations: 0 / 1.122 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001294/0.9069, allocations: 448 kB / 1.122 GB, free: 11.61 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.0005302/0.9075, allocations: 256.5 kB / 1.123 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.9096, allocations: 1.077 MB / 1.124 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.9096, allocations: 0 / 1.124 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.9102, allocations: 355 kB / 1.124 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.9127, allocations: 478.6 kB / 1.124 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.9157, allocations: 2.068 MB / 1.126 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007903/0.9165, allocations: 1.048 MB / 1.128 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.9169, allocations: 103.1 kB / 1.128 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/0.917, allocations: 2.906 kB / 1.128 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of Templates: time 0.0286/0.9456, allocations: 17.45 MB / 1.145 GB, free: 1.703 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)