Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001524/0.001524, allocations: 105.4 kB / 16.36 MB, free: 6.414 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.001778/0.001778, allocations: 193.7 kB / 17.3 MB, free: 5.789 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.512/1.512, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.833/1.833, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.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.001503/0.001503, allocations: 64.47 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2851, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6771/0.9622, allocations: 190 MB / 0.9703 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01183/0.9741, allocations: 7.455 MB / 0.9776 GB, free: 4.551 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.9753, allocations: 39.69 kB / 0.9776 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.9769, allocations: 0.5401 MB / 0.9781 GB, free: 3.969 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003624/0.9806, allocations: 1.556 MB / 0.9797 GB, free: 2.406 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006605/0.9872, allocations: 2.754 MB / 0.9824 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00357/0.9908, allocations: 2.295 MB / 0.9846 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.9925, allocations: 1.082 MB / 0.9856 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.9941, allocations: 0.9613 MB / 0.9866 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.9953, allocations: 0.856 MB / 0.9874 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002286/0.9956, allocations: 140 kB / 0.9876 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/0.9984, allocations: 1.376 MB / 0.9889 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.9988, allocations: 422.7 kB / 0.9893 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007685/0.9996, allocations: 0.6569 MB / 0.9899 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/1.003, allocations: 2.115 MB / 0.992 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.003, allocations: 0 / 0.992 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.372e-06/1.003, allocations: 0 / 0.992 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.589e-05/1.003, allocations: 0 / 0.992 GB, free: 5.762 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.004612/1.007, allocations: 1.77 MB / 0.9937 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/1.007, allocations: 8.031 kB / 0.9937 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/1.008, allocations: 182.5 kB / 0.9939 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/1.011, allocations: 1.049 MB / 0.9949 GB, free: 2.645 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/1.011, allocations: 48.94 kB / 0.995 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/1.011, allocations: 71.94 kB / 0.9951 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/1.012, allocations: 0.6832 MB / 0.9957 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/1.012, allocations: 0 / 0.9957 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/1.013, allocations: 20 kB / 0.9957 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/1.013, allocations: 16 kB / 0.9958 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/1.014, allocations: 0.6207 MB / 0.9964 GB, free: 1.168 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.004948/1.019, allocations: 2.662 MB / 0.999 GB, free: 14.37 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/1.02, allocations: 0.558 MB / 0.9995 GB, free: 13.8 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006408/1.021, allocations: 345.4 kB / 0.9998 GB, free: 13.46 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004474/1.021, allocations: 296 kB / 1 GB, free: 13.12 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.206e-05/1.021, allocations: 46.06 kB / 1 GB, free: 13.07 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007033/1.022, allocations: 139.5 kB / 1 GB, free: 12.93 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.985e-06/1.022, allocations: 0 / 1 GB, free: 12.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.002422/1.025, allocations: 1.031 MB / 1.001 GB, free: 11.89 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.301e-05/1.025, allocations: 140.5 kB / 1.001 GB, free: 11.72 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/1.027, allocations: 1.28 MB / 1.003 GB, free: 10.43 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/1.027, allocations: 37.7 kB / 1.003 GB, free: 10.38 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/1.027, allocations: 458.3 kB / 1.003 GB, free: 9.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/1.027, allocations: 145.8 kB / 1.003 GB, free: 9.785 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002314/1.028, allocations: 130 kB / 1.003 GB, free: 9.652 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.028, allocations: 330 kB / 1.004 GB, free: 9.324 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/1.028, allocations: 282.4 kB / 1.004 GB, free: 9.047 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009866/1.029, allocations: 0.5123 MB / 1.005 GB, free: 8.449 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/1.031, allocations: 0.6213 MB / 1.005 GB, free: 7.828 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.031, allocations: 4.5 kB / 1.005 GB, free: 7.824 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00169/1.032, allocations: 0.7758 MB / 1.006 GB, free: 7.039 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.738e-05/1.032, allocations: 8 kB / 1.006 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/1.033, allocations: 0 / 1.006 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.033, allocations: 4 kB / 1.006 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/1.033, allocations: 119.8 kB / 1.006 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/1.033, allocations: 4.562 kB / 1.006 GB, free: 6.906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.035, allocations: 98.88 kB / 1.006 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/1.035, allocations: 19.98 kB / 1.006 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000892/1.036, allocations: 492.8 kB / 1.007 GB, free: 6.305 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007868/1.036, allocations: 0.5105 MB / 1.007 GB, free: 5.711 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001256/1.038, allocations: 0.6103 MB / 1.008 GB, free: 5.098 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/1.038, allocations: 0 / 1.008 GB, free: 5.098 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001624/1.039, allocations: 0.7753 MB / 1.008 GB, free: 4.316 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.039, allocations: 5.125 kB / 1.008 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.039, allocations: 7.984 kB / 1.008 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.039, allocations: 4 kB / 1.008 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/1.04, allocations: 115.8 kB / 1.009 GB, free: 4.188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.04, allocations: 0 / 1.009 GB, free: 4.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/1.041, allocations: 128.7 kB / 1.009 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/1.041, allocations: 27.97 kB / 1.009 GB, free: 4.039 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.0002366/1.042, allocations: 216 kB / 1.009 GB, free: 3.82 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/1.042, allocations: 102.7 kB / 1.009 GB, free: 3.719 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/1.044, allocations: 0.8141 MB / 1.01 GB, free: 2.898 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/1.044, allocations: 4 kB / 1.01 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.044, allocations: 0 / 1.01 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.044, allocations: 7.969 kB / 1.01 GB, free: 2.887 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/1.047, allocations: 1.95 MB / 1.012 GB, free: 0.8555 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/1.047, allocations: 4 kB / 1.012 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/1.047, allocations: 107.8 kB / 1.012 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/1.047, allocations: 9.562 kB / 1.012 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/1.048, allocations: 15.98 kB / 1.012 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/1.048, allocations: 4 kB / 1.012 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.048, allocations: 4 kB / 1.012 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/1.05, allocations: 1.241 MB / 1.013 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/1.05, allocations: 283.6 kB / 1.013 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/1.05, allocations: 23.98 kB / 1.013 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009644/1.051, allocations: 59.92 kB / 1.013 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/1.051, allocations: 47.89 kB / 1.013 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/1.052, allocations: 15.98 kB / 1.014 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001398/1.053, allocations: 0.9292 MB / 1.014 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/1.053, allocations: 0 / 1.014 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001218/1.054, allocations: 451.4 kB / 1.015 GB, free: 13.61 MB / 0.8106 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.0005865/1.055, allocations: 252.8 kB / 1.015 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002205/1.057, allocations: 1.051 MB / 1.016 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.057, allocations: 0 / 1.016 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006596/1.058, allocations: 340.1 kB / 1.016 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.06, allocations: 455.2 kB / 1.017 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/1.062, allocations: 1.7 MB / 1.019 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/1.063, allocations: 1.045 MB / 1.02 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0009614/1.064, allocations: 301.8 kB / 1.02 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/1.064, allocations: 103.4 kB / 1.02 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of SimCode: time 7.71e-07/1.064, allocations: 4 kB / 1.02 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of Templates: time 0.03931/1.104, allocations: 22.63 MB / 1.042 GB, free: 2.059 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)