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.001538/0.001538, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001719/0.00172, allocations: 191.6 kB / 16.14 MB, free: 6.703 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.589/1.589, allocations: 205.1 MB / 222 MB, free: 4.977 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.6051/0.6051, allocations: 95.48 MB / 364.8 MB, free: 10.16 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.00228/0.00228, allocations: 67.91 kB / 444.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4473/0.4496, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6067/1.056, allocations: 157.6 MB / 0.6557 GB, free: 388 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01357/1.07, allocations: 8.628 MB / 0.6641 GB, free: 156 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/1.072, allocations: 43.34 kB / 0.6641 GB, free: 156 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001333/1.073, allocations: 390.9 kB / 0.6645 GB, free: 144 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00266/1.076, allocations: 0.8751 MB / 0.6653 GB, free: 96 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005832/1.082, allocations: 1.991 MB / 0.6673 GB, free: 16 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003433/1.085, allocations: 2.746 MB / 0.67 GB, free: 12 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/1.086, allocations: 0.7451 MB / 0.6707 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/1.088, allocations: 0.7081 MB / 0.6714 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/1.089, allocations: 0.7885 MB / 0.6722 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/1.089, allocations: 60.88 kB / 0.6722 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/1.091, allocations: 0.8724 MB / 0.6731 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003261/1.091, allocations: 274.7 kB / 0.6733 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006566/1.092, allocations: 0.5537 MB / 0.6739 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002534/1.095, allocations: 2.011 MB / 0.6758 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.095, allocations: 0 / 0.6758 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/1.095, allocations: 0 / 0.6758 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.601e-05/1.095, allocations: 3.938 kB / 0.6758 GB, free: 15.44 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.004053/1.099, allocations: 1.68 MB / 0.6775 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/1.099, allocations: 14.72 kB / 0.6775 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004904/1.099, allocations: 135.3 kB / 0.6776 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/1.101, allocations: 0.8951 MB / 0.6785 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/1.101, allocations: 58.8 kB / 0.6786 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/1.101, allocations: 61.59 kB / 0.6786 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/1.103, allocations: 0.7814 MB / 0.6794 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/1.103, allocations: 3.406 kB / 0.6794 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/1.103, allocations: 22.12 kB / 0.6794 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/1.103, allocations: 15.5 kB / 0.6794 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/1.105, allocations: 0.6337 MB / 0.68 GB, free: 13.95 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.00492/1.11, allocations: 3.436 MB / 0.6834 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.111, allocations: 0.5348 MB / 0.6839 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/1.112, allocations: 276.7 kB / 0.6842 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/1.112, allocations: 181.1 kB / 0.6844 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.112, allocations: 37.59 kB / 0.6844 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005025/1.113, allocations: 101.4 kB / 0.6845 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 2.425e-06/1.113, allocations: 6.062 kB / 0.6845 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.006463/1.119, allocations: 1.499 MB / 0.686 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/1.119, allocations: 214.9 kB / 0.6862 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/1.121, allocations: 1.139 MB / 0.6873 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/1.121, allocations: 38.11 kB / 0.6873 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/1.121, allocations: 484.7 kB / 0.6878 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.122, allocations: 136.9 kB / 0.6879 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/1.122, allocations: 132.6 kB / 0.688 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.122, allocations: 327 kB / 0.6883 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/1.123, allocations: 290.7 kB / 0.6886 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008119/1.123, allocations: 0.4949 MB / 0.6891 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/1.125, allocations: 0.6876 MB / 0.6898 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.125, allocations: 0 / 0.6898 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002533/1.127, allocations: 0.9781 MB / 0.6907 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.127, allocations: 8.125 kB / 0.6907 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.127, allocations: 5.344 kB / 0.6907 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004035/1.131, allocations: 0.5859 MB / 0.6913 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/1.132, allocations: 118.6 kB / 0.6914 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/1.133, allocations: 0.9304 MB / 0.6923 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/1.135, allocations: 65.14 kB / 0.6924 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.23e-05/1.135, allocations: 34.95 kB / 0.6924 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009041/1.136, allocations: 473.6 kB / 0.6929 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007777/1.136, allocations: 490.8 kB / 0.6933 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001215/1.138, allocations: 0.6647 MB / 0.694 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/1.138, allocations: 2.75 kB / 0.694 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001744/1.139, allocations: 0.832 MB / 0.6948 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.139, allocations: 9.875 kB / 0.6948 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/1.139, allocations: 5.188 kB / 0.6948 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.139, allocations: 7.875 kB / 0.6948 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/1.14, allocations: 154.9 kB / 0.695 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/1.14, allocations: 4.906 kB / 0.695 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/1.141, allocations: 71.66 kB / 0.6951 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/1.141, allocations: 34.28 kB / 0.6951 GB, free: 4.125 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.0002641/1.141, allocations: 220 kB / 0.6953 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/1.142, allocations: 104.8 kB / 0.6954 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/1.144, allocations: 0.8649 MB / 0.6962 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/1.144, allocations: 4.344 kB / 0.6962 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.144, allocations: 0.9375 kB / 0.6962 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.144, allocations: 0 / 0.6962 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/1.147, allocations: 1.651 MB / 0.6979 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.147, allocations: 0 / 0.6979 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/1.147, allocations: 70.48 kB / 0.6979 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/1.15, allocations: 446.8 kB / 0.6984 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/1.15, allocations: 8 kB / 0.6984 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/1.151, allocations: 0.8273 MB / 0.6992 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.151, allocations: 0 / 0.6992 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/1.154, allocations: 1.18 MB / 0.7003 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/1.154, allocations: 199.8 kB / 0.7005 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.154, allocations: 8 kB / 0.7005 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007569/1.155, allocations: 51.95 kB / 0.7006 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.155, allocations: 35.89 kB / 0.7006 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/1.155, allocations: 19.98 kB / 0.7006 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001154/1.156, allocations: 0.7966 MB / 0.7014 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.743e-06/1.156, allocations: 4 kB / 0.7014 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001699/1.158, allocations: 0.5305 MB / 0.7019 GB, free: 13.98 MB / 0.5137 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.0009031/1.159, allocations: 397.6 kB / 0.7023 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002437/1.161, allocations: 1.086 MB / 0.7034 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.161, allocations: 0 / 0.7034 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007646/1.162, allocations: 325.3 kB / 0.7037 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.164, allocations: 408.8 kB / 0.7041 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/1.167, allocations: 1.95 MB / 0.706 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/1.168, allocations: 1.026 MB / 0.707 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001022/1.169, allocations: 225.9 kB / 0.7072 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/1.169, allocations: 83.39 kB / 0.7073 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/1.169, allocations: 0 / 0.7073 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of Templates: time 0.03889/1.208, allocations: 23.12 MB / 0.7298 GB, free: 1.617 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (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)