Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.422/2.422, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001342/0.001341, allocations: 184.2 kB / 326.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.754/2.754, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009604/0.0009597, allocations: 83.17 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 12.22 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2515, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.9316/1.183, allocations: 181.1 MB / 1.076 GB, free: 4.203 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01984/1.203, allocations: 8.402 MB / 1.085 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/1.206, allocations: 39.38 kB / 1.085 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002402/1.208, allocations: 457.3 kB / 1.085 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005782/1.214, allocations: 1.345 MB / 1.086 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01189/1.226, allocations: 2.4 MB / 1.089 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006308/1.232, allocations: 3.116 MB / 1.092 GB, free: 3.812 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/1.235, allocations: 1.192 MB / 1.093 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/1.238, allocations: 1.053 MB / 1.094 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/1.24, allocations: 1.038 MB / 1.095 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005189/1.241, allocations: 77.09 kB / 1.095 GB, free: 3.633 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/1.245, allocations: 0.9852 MB / 1.096 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00081/1.245, allocations: 437.3 kB / 1.096 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009501/1.246, allocations: 283.5 kB / 1.097 GB, free: 19.59 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004162/1.251, allocations: 1.989 MB / 1.099 GB, free: 19.46 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/1.251, allocations: 1.031 kB / 1.099 GB, free: 19.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.735e-06/1.251, allocations: 0 / 1.099 GB, free: 19.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.055e-05/1.251, allocations: 0 / 1.099 GB, free: 19.46 MB / 0.7136 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.008824/1.26, allocations: 1.893 MB / 1.1 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.26, allocations: 8.812 kB / 1.1 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/1.262, allocations: 238.4 kB / 1.101 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004254/1.266, allocations: 1.279 MB / 1.102 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/1.266, allocations: 65.02 kB / 1.102 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/1.267, allocations: 81.56 kB / 1.102 GB, free: 18.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/1.27, allocations: 0.9227 MB / 1.103 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/1.27, allocations: 8.031 kB / 1.103 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/1.27, allocations: 27.62 kB / 1.103 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/1.27, allocations: 14.94 kB / 1.103 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/1.273, allocations: 0.8488 MB / 1.104 GB, free: 17.95 MB / 0.7136 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.01113/1.284, allocations: 3.512 MB / 1.107 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/1.287, allocations: 0.778 MB / 1.108 GB, free: 16.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/1.288, allocations: 452.8 kB / 1.108 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006297/1.289, allocations: 296.1 kB / 1.109 GB, free: 16.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/1.289, allocations: 37.31 kB / 1.109 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00244/1.292, allocations: 239.5 kB / 1.109 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 7.384e-06/1.292, allocations: 0 / 1.109 GB, free: 16.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.005323/1.297, allocations: 1.354 MB / 1.11 GB, free: 16.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/1.297, allocations: 211.2 kB / 1.111 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004657/1.302, allocations: 1.662 MB / 1.112 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003723/1.302, allocations: 39.05 kB / 1.112 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007199/1.303, allocations: 0.5647 MB / 1.113 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003037/1.303, allocations: 185.4 kB / 1.113 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/1.303, allocations: 9.188 kB / 1.113 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.303, allocations: 327.6 kB / 1.113 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/1.305, allocations: 386.3 kB / 1.114 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/1.307, allocations: 0.695 MB / 1.114 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/1.308, allocations: 466.2 kB / 1.115 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/1.308, allocations: 3.938 kB / 1.115 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003763/1.312, allocations: 1.06 MB / 1.116 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/1.312, allocations: 97.22 kB / 1.116 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.436e-05/1.312, allocations: 1.969 kB / 1.116 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.312, allocations: 2.906 kB / 1.116 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/1.314, allocations: 162.2 kB / 1.116 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/1.314, allocations: 9.891 kB / 1.116 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/1.317, allocations: 160 kB / 1.116 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002724/1.318, allocations: 33.67 kB / 1.116 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.318, allocations: 5.188 kB / 1.116 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004307/1.322, allocations: 0.8917 MB / 1.117 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/1.322, allocations: 8.578 kB / 1.117 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/1.322, allocations: 7.438 kB / 1.117 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/1.324, allocations: 153.8 kB / 1.117 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.324, allocations: 2.688 kB / 1.117 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003497/1.327, allocations: 165.1 kB / 1.117 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002692/1.327, allocations: 30.8 kB / 1.117 GB, free: 14.66 MB / 0.7136 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.001282/1.329, allocations: 384.7 kB / 1.118 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007055/1.33, allocations: 144.9 kB / 1.118 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/1.333, allocations: 1.045 MB / 1.119 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/1.333, allocations: 3.234 kB / 1.119 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/1.333, allocations: 4 kB / 1.119 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.335, allocations: 349.2 kB / 1.119 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/1.335, allocations: 14.75 kB / 1.119 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002722/1.338, allocations: 95.47 kB / 1.119 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/1.338, allocations: 43.19 kB / 1.119 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003771/1.342, allocations: 1 MB / 1.12 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005304/1.348, allocations: 1.618 MB / 1.122 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001439/1.349, allocations: 413.6 kB / 1.122 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003758/1.353, allocations: 1.193 MB / 1.124 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of Backend: time 1.132e-06/1.353, allocations: 0 / 1.124 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006076/1.359, allocations: 1.478 MB / 1.125 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of SimCode: time 0.009406/1.368, allocations: 3.156 MB / 1.128 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.0835/1.452, allocations: 31.34 MB / 1.159 GB, free: 6.309 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)