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.001253/0.001253, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.549/1.549, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.804/1.804, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001498/0.001498, allocations: 69.06 kB / 0.6715 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2656, allocations: 114.6 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8206/1.086, allocations: 198.8 MB / 0.9775 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01795/1.104, allocations: 8.676 MB / 0.9859 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/1.107, allocations: 48.84 kB / 0.986 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002542/1.11, allocations: 0.6878 MB / 0.9867 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007698/1.118, allocations: 1.849 MB / 0.9885 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01146/1.129, allocations: 3.217 MB / 0.9916 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005503/1.135, allocations: 2.947 MB / 0.9945 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/1.137, allocations: 1.476 MB / 0.9959 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00312/1.14, allocations: 1.237 MB / 0.9971 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/1.142, allocations: 1.145 MB / 0.9982 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004401/1.143, allocations: 193.6 kB / 0.9984 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003707/1.147, allocations: 1.509 MB / 0.9999 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006744/1.147, allocations: 0.5451 MB / 1 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/1.149, allocations: 0.8631 MB / 1.001 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004885/1.153, allocations: 2.643 MB / 1.004 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.153, allocations: 0 / 1.004 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/1.153, allocations: 5.719 kB / 1.004 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.197e-05/1.154, allocations: 0 / 1.004 GB, free: 2.109 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.006243/1.16, allocations: 2.187 MB / 1.006 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.16, allocations: 10.75 kB / 1.006 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/1.161, allocations: 231.7 kB / 1.006 GB, free: 452 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/1.164, allocations: 1.333 MB / 1.008 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/1.164, allocations: 73.23 kB / 1.008 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/1.164, allocations: 94.05 kB / 1.008 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/1.166, allocations: 0.9176 MB / 1.009 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/1.166, allocations: 2.406 kB / 1.009 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/1.166, allocations: 25.06 kB / 1.009 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/1.166, allocations: 14.97 kB / 1.009 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/1.168, allocations: 0.8315 MB / 1.009 GB, free: 14.42 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.006108/1.174, allocations: 3.503 MB / 1.013 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/1.175, allocations: 0.7575 MB / 1.014 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007485/1.176, allocations: 440.5 kB / 1.014 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/1.176, allocations: 294.3 kB / 1.014 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/1.176, allocations: 43.75 kB / 1.014 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001097/1.177, allocations: 189.4 kB / 1.015 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=52): time 3.296e-06/1.177, allocations: 4 kB / 1.015 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of matching and sorting (n=52): time 0.002911/1.18, allocations: 1.313 MB / 1.016 GB, free: 9.969 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/1.181, allocations: 214.8 kB / 1.016 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002942/1.183, allocations: 1.678 MB / 1.018 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/1.184, allocations: 47.23 kB / 1.018 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005833/1.184, allocations: 0.5588 MB / 1.018 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/1.184, allocations: 181.5 kB / 1.018 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/1.185, allocations: 167.8 kB / 1.019 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001632/1.185, allocations: 333.5 kB / 1.019 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008744/1.186, allocations: 397.5 kB / 1.019 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/1.187, allocations: 0.6986 MB / 1.02 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/1.189, allocations: 0.8167 MB / 1.021 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.189, allocations: 0 / 1.021 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002375/1.191, allocations: 1.04 MB / 1.022 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/1.191, allocations: 8.875 kB / 1.022 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/1.191, allocations: 5.984 kB / 1.022 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/1.191, allocations: 3.219 kB / 1.022 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008418/1.192, allocations: 154.1 kB / 1.022 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/1.192, allocations: 2.906 kB / 1.022 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/1.194, allocations: 127.3 kB / 1.022 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.532e-05/1.194, allocations: 35.69 kB / 1.022 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/1.195, allocations: 0.6268 MB / 1.023 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001106/1.196, allocations: 0.6975 MB / 1.023 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001615/1.198, allocations: 0.8235 MB / 1.024 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/1.198, allocations: 0 / 1.024 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002731/1.201, allocations: 1.04 MB / 1.025 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.201, allocations: 4.938 kB / 1.025 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.201, allocations: 6.531 kB / 1.025 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/1.201, allocations: 2.656 kB / 1.025 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/1.202, allocations: 153.6 kB / 1.025 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.202, allocations: 0 / 1.025 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/1.204, allocations: 166.6 kB / 1.026 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.201e-05/1.204, allocations: 36.39 kB / 1.026 GB, free: 3.84 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.0003236/1.204, allocations: 218.8 kB / 1.026 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/1.205, allocations: 133.4 kB / 1.026 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/1.207, allocations: 1.033 MB / 1.027 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.207, allocations: 7.812 kB / 1.027 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.207, allocations: 0 / 1.027 GB, free: 2.973 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/1.207, allocations: 3.984 kB / 1.027 GB, free: 2.969 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.003955/1.211, allocations: 2.466 MB / 1.029 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.211, allocations: 7.938 kB / 1.029 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/1.212, allocations: 131.8 kB / 1.029 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/1.212, allocations: 8.281 kB / 1.029 GB, free: 0.6289 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/1.212, allocations: 27.98 kB / 1.029 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/1.212, allocations: 4 kB / 1.03 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.212, allocations: 4 kB / 1.03 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/1.215, allocations: 1.527 MB / 1.031 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.216, allocations: 343.2 kB / 1.031 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/1.216, allocations: 23.98 kB / 1.031 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/1.218, allocations: 79.83 kB / 1.031 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/1.218, allocations: 56.34 kB / 1.031 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/1.219, allocations: 23.98 kB / 1.031 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003564/1.222, allocations: 1.207 MB / 1.033 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of sort global known variables: time 5.71e-07/1.222, allocations: 0 / 1.033 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003748/1.226, allocations: 0.5383 MB / 1.033 GB, free: 12.74 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.001148/1.227, allocations: 275.7 kB / 1.033 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00435/1.231, allocations: 1.501 MB / 1.035 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.231, allocations: 4 kB / 1.035 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/1.233, allocations: 430.1 kB / 1.035 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004181/1.237, allocations: 0.556 MB / 1.036 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/1.242, allocations: 2.216 MB / 1.038 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/1.244, allocations: 1.165 MB / 1.039 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002406/1.246, allocations: 385.6 kB / 1.04 GB, free: 6.133 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008949/1.247, allocations: 123.4 kB / 1.04 GB, free: 6.012 MB / 0.7637 GB Notification: Performance of SimCode: time 1.573e-06/1.247, allocations: 0 / 1.04 GB, free: 6.012 MB / 0.7637 GB Notification: Performance of Templates: time 0.05996/1.307, allocations: 29.06 MB / 1.068 GB, free: 9.34 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)