Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001085/0.001085, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.008187/0.008188, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.642/1.642, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6693/0.6693, allocations: 95.64 MB / 366.4 MB, free: 10.23 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006415/0.0006418, allocations: 12.7 kB / 447.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4327, allocations: 70.34 MB / 0.5057 GB, free: 16.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6482/1.081, allocations: 155.5 MB / 0.6575 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/1.095, allocations: 8.532 MB / 0.6658 GB, free: 308 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/1.097, allocations: 37.66 kB / 0.6659 GB, free: 308 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001389/1.098, allocations: 389.1 kB / 0.6662 GB, free: 296 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/1.101, allocations: 0.8888 MB / 0.6671 GB, free: 244 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006393/1.107, allocations: 1.981 MB / 0.6691 GB, free: 172 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004023/1.111, allocations: 2.742 MB / 0.6717 GB, free: 168 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/1.113, allocations: 0.7333 MB / 0.6724 GB, free: 64 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/1.114, allocations: 0.6905 MB / 0.6731 GB, free: 56 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/1.115, allocations: 0.767 MB / 0.6739 GB, free: 52 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/1.115, allocations: 49.81 kB / 0.6739 GB, free: 52 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/1.117, allocations: 0.8628 MB / 0.6748 GB, free: 40 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002811/1.118, allocations: 263.2 kB / 0.675 GB, free: 36 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000629/1.118, allocations: 0.5591 MB / 0.6756 GB, free: 16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002795/1.121, allocations: 1.987 MB / 0.6775 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.121, allocations: 0.5156 kB / 0.6775 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/1.121, allocations: 0 / 0.6775 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.982e-05/1.121, allocations: 0 / 0.6775 GB, free: 15.89 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00361/1.125, allocations: 1.459 MB / 0.6789 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/1.125, allocations: 17.38 kB / 0.6789 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004279/1.125, allocations: 129.6 kB / 0.6791 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/1.127, allocations: 0.9001 MB / 0.6799 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/1.127, allocations: 51.52 kB / 0.68 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/1.127, allocations: 59.55 kB / 0.68 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/1.129, allocations: 0.7942 MB / 0.6808 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/1.129, allocations: 5.766 kB / 0.6808 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-05/1.129, allocations: 26.28 kB / 0.6809 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/1.129, allocations: 14.91 kB / 0.6809 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/1.13, allocations: 0.6717 MB / 0.6815 GB, free: 14.3 MB / 0.4981 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.004854/1.135, allocations: 3.45 MB / 0.6849 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/1.137, allocations: 0.5417 MB / 0.6854 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/1.138, allocations: 288.1 kB / 0.6857 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/1.138, allocations: 175.6 kB / 0.6859 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/1.138, allocations: 42.36 kB / 0.6859 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005053/1.138, allocations: 106.6 kB / 0.686 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.594e-06/1.138, allocations: 0 / 0.686 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.006729/1.145, allocations: 1.543 MB / 0.6875 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002318/1.145, allocations: 212.6 kB / 0.6877 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/1.148, allocations: 1.137 MB / 0.6888 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.701e-05/1.148, allocations: 39.89 kB / 0.6889 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006306/1.149, allocations: 489.8 kB / 0.6893 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/1.149, allocations: 131.9 kB / 0.6895 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/1.149, allocations: 51.47 kB / 0.6895 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.15, allocations: 323.3 kB / 0.6898 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007629/1.15, allocations: 301.1 kB / 0.6901 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/1.151, allocations: 0.5072 MB / 0.6906 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/1.153, allocations: 0.718 MB / 0.6913 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/1.153, allocations: 0 / 0.6913 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002598/1.156, allocations: 1.002 MB / 0.6923 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001764/1.156, allocations: 206.6 kB / 0.6925 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/1.156, allocations: 5.188 kB / 0.6925 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004031/1.16, allocations: 0.6082 MB / 0.6931 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/1.16, allocations: 122.5 kB / 0.6932 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/1.162, allocations: 0.9328 MB / 0.6941 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/1.163, allocations: 72.02 kB / 0.6942 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-05/1.163, allocations: 42.77 kB / 0.6942 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/1.163, allocations: 5.109 kB / 0.6942 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001534/1.164, allocations: 0.7326 MB / 0.6949 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.164, allocations: 7.562 kB / 0.6949 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/1.164, allocations: 8.031 kB / 0.6949 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/1.165, allocations: 151 kB / 0.6951 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.165, allocations: 7.812 kB / 0.6951 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.166, allocations: 75.52 kB / 0.6952 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-05/1.166, allocations: 33.69 kB / 0.6952 GB, free: 6.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007808/1.167, allocations: 328.4 kB / 0.6955 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/1.167, allocations: 104.1 kB / 0.6956 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/1.17, allocations: 0.8757 MB / 0.6965 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/1.17, allocations: 7.562 kB / 0.6965 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.17, allocations: 3.938 kB / 0.6965 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/1.17, allocations: 3.984 kB / 0.6965 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003394/1.173, allocations: 1.676 MB / 0.6981 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.173, allocations: 7.922 kB / 0.6981 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/1.174, allocations: 75.86 kB / 0.6982 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002852/1.177, allocations: 456.3 kB / 0.6986 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/1.177, allocations: 21.81 kB / 0.6987 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/1.178, allocations: 0.8224 MB / 0.6995 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.178, allocations: 2.625 kB / 0.6995 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002748/1.181, allocations: 1.221 MB / 0.7007 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006133/1.181, allocations: 211.1 kB / 0.7009 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/1.181, allocations: 20.98 kB / 0.7009 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/1.182, allocations: 43.78 kB / 0.7009 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.182, allocations: 37.78 kB / 0.701 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.478e-05/1.183, allocations: 25.56 kB / 0.701 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001724/1.184, allocations: 0.7986 MB / 0.7018 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.184, allocations: 0 / 0.7018 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00248/1.187, allocations: 0.5268 MB / 0.7023 GB, free: 1.77 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/1.188, allocations: 400 kB / 0.7027 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002942/1.191, allocations: 1.121 MB / 0.7037 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.191, allocations: 0.5625 kB / 0.7037 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008355/1.192, allocations: 331.6 kB / 0.7041 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/1.194, allocations: 408.8 kB / 0.7045 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/1.198, allocations: 1.985 MB / 0.7064 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/1.199, allocations: 1.029 MB / 0.7074 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001121/1.2, allocations: 239.2 kB / 0.7076 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/1.2, allocations: 79.41 kB / 0.7077 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/1.2, allocations: 0 / 0.7077 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.04247/1.243, allocations: 22.89 MB / 0.7301 GB, free: 5.547 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: