Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, 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.002209/0.002209, allocations: 193.3 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.447/1.447, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.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.806/1.806, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.002344/0.002344, allocations: 61.94 kB / 0.6708 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3017, allocations: 114.6 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.678/0.9797, allocations: 196.5 MB / 0.9746 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01683/0.9966, allocations: 9.092 MB / 0.9835 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003018/0.9997, allocations: 44.38 kB / 0.9835 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003331/1.003, allocations: 0.5705 MB / 0.9841 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006704/1.01, allocations: 1.725 MB / 0.9857 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009706/1.02, allocations: 2.733 MB / 0.9884 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005292/1.025, allocations: 3.591 MB / 0.9919 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/1.027, allocations: 1.274 MB / 0.9932 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/1.029, allocations: 1.093 MB / 0.9942 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/1.031, allocations: 1.11 MB / 0.9953 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002365/1.031, allocations: 90.28 kB / 0.9954 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004157/1.035, allocations: 1.64 MB / 0.997 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006326/1.036, allocations: 465.4 kB / 0.9975 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/1.037, allocations: 0.7569 MB / 0.9982 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004941/1.042, allocations: 2.669 MB / 1.001 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.042, allocations: 4.656 kB / 1.001 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/1.042, allocations: 0 / 1.001 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.613e-05/1.042, allocations: 0 / 1.001 GB, free: 0.9336 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006229/1.048, allocations: 2.191 MB / 1.003 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.048, allocations: 12.25 kB / 1.003 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/1.049, allocations: 235.5 kB / 1.003 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/1.052, allocations: 1.333 MB / 1.004 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/1.052, allocations: 72.83 kB / 1.005 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/1.052, allocations: 84.53 kB / 1.005 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/1.054, allocations: 0.9188 MB / 1.006 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/1.054, allocations: 0 / 1.006 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.109e-05/1.054, allocations: 24.84 kB / 1.006 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/1.054, allocations: 15.53 kB / 1.006 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/1.056, allocations: 0.8359 MB / 1.006 GB, free: 13.72 MB / 0.7481 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.005845/1.062, allocations: 3.491 MB / 1.01 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/1.063, allocations: 0.7634 MB / 1.011 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007542/1.064, allocations: 443.6 kB / 1.011 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004364/1.064, allocations: 294.5 kB / 1.011 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.064, allocations: 40.28 kB / 1.011 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001232/1.066, allocations: 234.8 kB / 1.012 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=52): time 4.368e-06/1.066, allocations: 0 / 1.012 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of matching and sorting (n=52): time 0.003022/1.069, allocations: 1.309 MB / 1.013 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.069, allocations: 220.8 kB / 1.013 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003108/1.072, allocations: 1.678 MB / 1.015 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001232/1.072, allocations: 42.14 kB / 1.015 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005921/1.073, allocations: 0.5597 MB / 1.015 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/1.073, allocations: 182.4 kB / 1.015 GB, free: 7.461 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/1.073, allocations: 168.4 kB / 1.016 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001669/1.073, allocations: 334.6 kB / 1.016 GB, free: 7.043 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007993/1.074, allocations: 388.7 kB / 1.016 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/1.075, allocations: 0.7008 MB / 1.017 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/1.077, allocations: 0.8221 MB / 1.018 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.077, allocations: 1.875 kB / 1.018 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002427/1.079, allocations: 1.04 MB / 1.019 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.079, allocations: 3.281 kB / 1.019 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/1.079, allocations: 6.281 kB / 1.019 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.079, allocations: 2.562 kB / 1.019 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/1.08, allocations: 152.4 kB / 1.019 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.08, allocations: 5.156 kB / 1.019 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/1.082, allocations: 141 kB / 1.019 GB, free: 5.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.684e-05/1.082, allocations: 36.7 kB / 1.019 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001234/1.083, allocations: 0.6192 MB / 1.02 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001123/1.085, allocations: 0.6993 MB / 1.02 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001541/1.086, allocations: 0.8275 MB / 1.021 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/1.086, allocations: 0 / 1.021 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002217/1.088, allocations: 1.036 MB / 1.022 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.088, allocations: 4.281 kB / 1.022 GB, free: 3.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.088, allocations: 7.359 kB / 1.022 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/1.088, allocations: 3.219 kB / 1.022 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008115/1.089, allocations: 152.4 kB / 1.022 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.089, allocations: 7.359 kB / 1.022 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/1.091, allocations: 182.8 kB / 1.023 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/1.091, allocations: 36.84 kB / 1.023 GB, free: 3.18 MB / 0.7481 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003114/1.092, allocations: 220.2 kB / 1.023 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/1.092, allocations: 134.8 kB / 1.023 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/1.094, allocations: 1.037 MB / 1.024 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/1.094, allocations: 4.969 kB / 1.024 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.094, allocations: 0 / 1.024 GB, free: 2.316 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.094, allocations: 3.984 kB / 1.024 GB, free: 2.312 MB / 0.7481 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 postOpt removeSimpleEquations (simulation): time 0.004038/1.098, allocations: 2.464 MB / 1.026 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.098, allocations: 2.094 kB / 1.026 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/1.099, allocations: 131.9 kB / 1.026 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/1.099, allocations: 4.906 kB / 1.026 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/1.099, allocations: 24.77 kB / 1.026 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/1.099, allocations: 10.94 kB / 1.026 GB, free: 0.5469 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.099, allocations: 3.188 kB / 1.026 GB, free: 0.5469 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/1.102, allocations: 1.529 MB / 1.028 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006478/1.102, allocations: 348.5 kB / 1.028 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/1.103, allocations: 22.28 kB / 1.028 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.104, allocations: 88.98 kB / 1.028 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.104, allocations: 49.72 kB / 1.028 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.117e-05/1.104, allocations: 23.83 kB / 1.028 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001872/1.106, allocations: 1.204 MB / 1.03 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9.32e-07/1.106, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001763/1.108, allocations: 0.5491 MB / 1.03 GB, free: 14.53 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.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 (63): * Single equations (assignments): 63 * 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.0006635/1.109, allocations: 266.7 kB / 1.03 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002661/1.111, allocations: 1.427 MB / 1.032 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.111, allocations: 192 / 1.032 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007593/1.112, allocations: 425.7 kB / 1.032 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002994/1.115, allocations: 0.5981 MB / 1.033 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/1.119, allocations: 2.61 MB / 1.035 GB, free: 11 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/1.119, allocations: 1.168 MB / 1.037 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001539/1.121, allocations: 381.6 kB / 1.037 GB, free: 9.434 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/1.121, allocations: 127.4 kB / 1.037 GB, free: 9.309 MB / 0.7637 GB Notification: Performance of SimCode: time 6.41e-07/1.121, allocations: 3.938 kB / 1.037 GB, free: 9.305 MB / 0.7637 GB Notification: Performance of Templates: time 0.04941/1.171, allocations: 28.17 MB / 1.065 GB, free: 13.56 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)