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.0009242/0.0009241, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001052/0.001052, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.698/1.698, allocations: 292.7 MB / 0.5499 GB, free: 14.6 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.0005303/0.0005305, allocations: 17.12 kB / 0.6737 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2527, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7501/1.003, allocations: 180.9 MB / 0.9639 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0141/1.017, allocations: 8.317 MB / 0.972 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/1.019, allocations: 39.59 kB / 0.9721 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/1.021, allocations: 464.9 kB / 0.9725 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004893/1.026, allocations: 1.344 MB / 0.9738 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008573/1.035, allocations: 2.407 MB / 0.9762 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005432/1.04, allocations: 3.088 MB / 0.9792 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002436/1.042, allocations: 1.149 MB / 0.9803 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/1.045, allocations: 1.055 MB / 0.9814 GB, free: 18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/1.046, allocations: 1.033 MB / 0.9824 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002111/1.047, allocations: 80.78 kB / 0.9824 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/1.05, allocations: 0.9793 MB / 0.9834 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005649/1.05, allocations: 440 kB / 0.9838 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006526/1.051, allocations: 286.3 kB / 0.9841 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002576/1.053, allocations: 1.985 MB / 0.986 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/1.053, allocations: 0 / 0.986 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.114e-06/1.053, allocations: 0 / 0.986 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.036e-05/1.053, allocations: 0 / 0.986 GB, free: 16.06 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.004643/1.058, allocations: 1.896 MB / 0.9879 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.058, allocations: 12.42 kB / 0.9879 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/1.059, allocations: 234.2 kB / 0.9881 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/1.061, allocations: 1.272 MB / 0.9894 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/1.061, allocations: 69.98 kB / 0.9894 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/1.062, allocations: 85.25 kB / 0.9895 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/1.063, allocations: 0.9301 MB / 0.9904 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/1.063, allocations: 0.875 kB / 0.9904 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/1.063, allocations: 29.42 kB / 0.9904 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/1.063, allocations: 15.31 kB / 0.9905 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/1.065, allocations: 0.8492 MB / 0.9913 GB, free: 13.73 MB / 0.7325 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.005446/1.07, allocations: 3.509 MB / 0.9947 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.072, allocations: 0.7702 MB / 0.9955 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/1.072, allocations: 459.7 kB / 0.9959 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/1.073, allocations: 287 kB / 0.9962 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/1.073, allocations: 46.39 kB / 0.9962 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001094/1.074, allocations: 241.2 kB / 0.9965 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=52): time 2.955e-06/1.074, allocations: 0 / 0.9965 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=52): time 0.002564/1.077, allocations: 1.346 MB / 0.9978 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/1.077, allocations: 214.7 kB / 0.998 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/1.079, allocations: 1.667 MB / 0.9996 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.7e-05/1.079, allocations: 45.86 kB / 0.9996 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000449/1.08, allocations: 0.5598 MB / 1 GB, free: 10 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/1.08, allocations: 175.3 kB / 1 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/1.08, allocations: 10.81 kB / 1 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.08, allocations: 329.7 kB / 1.001 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/1.08, allocations: 387.1 kB / 1.001 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009075/1.081, allocations: 0.6984 MB / 1.002 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007097/1.082, allocations: 461.3 kB / 1.002 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.082, allocations: 3.953 kB / 1.002 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001747/1.084, allocations: 1.057 MB / 1.003 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/1.084, allocations: 95.59 kB / 1.003 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.084, allocations: 7.578 kB / 1.003 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.084, allocations: 2.125 kB / 1.003 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/1.085, allocations: 164.7 kB / 1.003 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.085, allocations: 3.188 kB / 1.003 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/1.086, allocations: 158.8 kB / 1.004 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/1.086, allocations: 35.98 kB / 1.004 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/1.086, allocations: 3.5 kB / 1.004 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001503/1.088, allocations: 0.8946 MB / 1.005 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.088, allocations: 7.938 kB / 1.005 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.761e-06/1.088, allocations: 4.969 kB / 1.005 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/1.089, allocations: 154 kB / 1.005 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/1.089, allocations: 2.562 kB / 1.005 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.09, allocations: 170.4 kB / 1.005 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/1.09, allocations: 40 kB / 1.005 GB, free: 8.238 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006123/1.091, allocations: 377.2 kB / 1.005 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/1.091, allocations: 133.7 kB / 1.005 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/1.093, allocations: 1.064 MB / 1.006 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.036e-06/1.093, allocations: 6.062 kB / 1.006 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.093, allocations: 0 / 1.006 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.093, allocations: 3.984 kB / 1.006 GB, free: 7.676 MB / 0.7325 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.003642/1.097, allocations: 2.491 MB / 1.009 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/1.097, allocations: 0 / 1.009 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006787/1.098, allocations: 136.2 kB / 1.009 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/1.098, allocations: 5.594 kB / 1.009 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/1.098, allocations: 19.41 kB / 1.009 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/1.098, allocations: 4.875 kB / 1.009 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.37e-05/1.098, allocations: 11.03 kB / 1.009 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/1.1, allocations: 1.562 MB / 1.011 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005784/1.101, allocations: 353.5 kB / 1.011 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/1.101, allocations: 17.38 kB / 1.011 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.102, allocations: 98.45 kB / 1.011 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/1.102, allocations: 56.3 kB / 1.011 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.577e-05/1.102, allocations: 24.42 kB / 1.011 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001703/1.104, allocations: 1.19 MB / 1.012 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.5e-07/1.104, allocations: 0 / 1.012 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001676/1.106, allocations: 0.5475 MB / 1.013 GB, free: 5.484 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006369/1.106, allocations: 274 kB / 1.013 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00246/1.109, allocations: 1.444 MB / 1.014 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.109, allocations: 3.344 kB / 1.014 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000728/1.11, allocations: 436 kB / 1.015 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/1.113, allocations: 0.6018 MB / 1.015 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/1.116, allocations: 2.526 MB / 1.018 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000725/1.117, allocations: 1.165 MB / 1.019 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001704/1.118, allocations: 385.9 kB / 1.019 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/1.119, allocations: 126.2 kB / 1.02 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/1.119, allocations: 0 / 1.02 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of Templates: time 0.0463/1.165, allocations: 27.07 MB / 1.046 GB, free: 8.984 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: