Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001692/0.001692, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001675/0.001675, allocations: 189.9 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 67.28 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3422, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 1.092/1.434, allocations: 196.1 MB / 1.259 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009522/1.444, allocations: 5.196 MB / 1.264 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002326/1.446, allocations: 27.67 kB / 1.264 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001958/1.448, allocations: 0.5064 MB / 1.265 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005914/1.454, allocations: 1.742 MB / 1.266 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005716/1.46, allocations: 1.508 MB / 1.268 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00581/1.466, allocations: 3.523 MB / 1.271 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00242/1.468, allocations: 1.24 MB / 1.272 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/1.473, allocations: 1.079 MB / 1.274 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/1.476, allocations: 1.106 MB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006457/1.477, allocations: 94.05 kB / 1.275 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005145/1.482, allocations: 1.515 MB / 1.276 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008791/1.483, allocations: 457.4 kB / 1.277 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/1.485, allocations: 0.7441 MB / 1.277 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005156/1.49, allocations: 2.519 MB / 1.28 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.49, allocations: 0 / 1.28 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/1.49, allocations: 0.6562 kB / 1.28 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.564e-05/1.49, allocations: 0 / 1.28 GB, free: 4.934 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.008444/1.498, allocations: 2.127 MB / 1.282 GB, free: 19.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/1.498, allocations: 9.875 kB / 1.282 GB, free: 19.96 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/1.5, allocations: 231.6 kB / 1.282 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/1.503, allocations: 1.312 MB / 1.283 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/1.503, allocations: 63.91 kB / 1.283 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/1.503, allocations: 81.97 kB / 1.284 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/1.505, allocations: 0.8039 MB / 1.284 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/1.505, allocations: 0 / 1.284 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/1.505, allocations: 22.59 kB / 1.284 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.251e-05/1.505, allocations: 26.69 kB / 1.284 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/1.507, allocations: 0.8462 MB / 1.285 GB, free: 19.42 MB / 1.014 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.007168/1.514, allocations: 3.457 MB / 1.289 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/1.515, allocations: 0.7374 MB / 1.289 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008276/1.516, allocations: 441.7 kB / 1.29 GB, free: 18.28 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004687/1.517, allocations: 292.8 kB / 1.29 GB, free: 18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/1.517, allocations: 38.34 kB / 1.29 GB, free: 17.96 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001712/1.519, allocations: 236.7 kB / 1.29 GB, free: 17.92 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 4.999e-06/1.519, allocations: 1.125 kB / 1.29 GB, free: 17.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=53): time 0.003619/1.522, allocations: 1.306 MB / 1.291 GB, free: 17.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/1.522, allocations: 58.06 kB / 1.292 GB, free: 17.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/1.526, allocations: 1.63 MB / 1.293 GB, free: 17.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002936/1.526, allocations: 40.36 kB / 1.293 GB, free: 17.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/1.527, allocations: 0.5383 MB / 1.294 GB, free: 17.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/1.527, allocations: 181.9 kB / 1.294 GB, free: 17.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/1.527, allocations: 146.8 kB / 1.294 GB, free: 17.28 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.527, allocations: 331.4 kB / 1.294 GB, free: 16.97 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007822/1.528, allocations: 362.5 kB / 1.295 GB, free: 16.95 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/1.529, allocations: 0.616 MB / 1.295 GB, free: 16.69 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/1.531, allocations: 0.7681 MB / 1.296 GB, free: 16.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.531, allocations: 0.75 kB / 1.296 GB, free: 16.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002805/1.534, allocations: 0.9698 MB / 1.297 GB, free: 16.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.534, allocations: 4.625 kB / 1.297 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/1.534, allocations: 0 / 1.297 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/1.534, allocations: 2.438 kB / 1.297 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009845/1.535, allocations: 165.4 kB / 1.297 GB, free: 16.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/1.535, allocations: 5.859 kB / 1.297 GB, free: 16.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/1.537, allocations: 141.6 kB / 1.297 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.537, allocations: 32.8 kB / 1.297 GB, free: 16.53 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001353/1.539, allocations: 0.5817 MB / 1.298 GB, free: 16.44 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009809/1.54, allocations: 0.6204 MB / 1.298 GB, free: 16.15 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001526/1.541, allocations: 0.7658 MB / 1.299 GB, free: 16.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/1.541, allocations: 0 / 1.299 GB, free: 16.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.003027/1.544, allocations: 0.9581 MB / 1.3 GB, free: 16.01 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/1.544, allocations: 6.594 kB / 1.3 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.544, allocations: 1.25 kB / 1.3 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.544, allocations: 6.406 kB / 1.3 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/1.545, allocations: 160.4 kB / 1.3 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/1.545, allocations: 8 kB / 1.3 GB, free: 16.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/1.548, allocations: 184.2 kB / 1.301 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.549, allocations: 29.39 kB / 1.301 GB, free: 15.99 MB / 1.014 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 (57): * Single equations (assignments): 57 * 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 prepare postOptimizeDAE: time 0.0004052/1.549, allocations: 217.2 kB / 1.301 GB, free: 15.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008972/1.55, allocations: 130.2 kB / 1.301 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/1.553, allocations: 1.028 MB / 1.302 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/1.553, allocations: 10.88 kB / 1.302 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/1.553, allocations: 0 / 1.302 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.553, allocations: 3.094 kB / 1.302 GB, free: 15.65 MB / 1.014 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.005852/1.559, allocations: 2.475 MB / 1.304 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.559, allocations: 1.25 kB / 1.304 GB, free: 15.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007883/1.559, allocations: 131.5 kB / 1.304 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/1.559, allocations: 7.656 kB / 1.304 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/1.559, allocations: 22.5 kB / 1.304 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/1.559, allocations: 4.031 kB / 1.304 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/1.56, allocations: 10.11 kB / 1.304 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00375/1.563, allocations: 1.519 MB / 1.306 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.565, allocations: 353.5 kB / 1.306 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006993/1.565, allocations: 15.14 kB / 1.306 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.567, allocations: 94.53 kB / 1.306 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/1.568, allocations: 51.16 kB / 1.306 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/1.568, allocations: 21.38 kB / 1.306 GB, free: 14.67 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002716/1.57, allocations: 1.185 MB / 1.308 GB, free: 14.55 MB / 1.014 GB Notification: Performance of sort global known variables: time 6.21e-07/1.57, allocations: 0 / 1.308 GB, free: 14.55 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002878/1.573, allocations: 0.5053 MB / 1.308 GB, free: 14.51 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[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 (64): * Single equations (assignments): 64 * 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.0006825/1.574, allocations: 225.8 kB / 1.308 GB, free: 14.39 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002745/1.577, allocations: 1.226 MB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/1.577, allocations: 0 / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008004/1.577, allocations: 431 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/1.581, allocations: 0.561 MB / 1.311 GB, free: 14.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/1.584, allocations: 2.552 MB / 1.313 GB, free: 13.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/1.585, allocations: 1.155 MB / 1.314 GB, free: 12.33 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001884/1.587, allocations: 371 kB / 1.314 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/1.587, allocations: 125.6 kB / 1.315 GB, free: 12.23 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.587, allocations: 0 / 1.315 GB, free: 12.23 MB / 1.014 GB Notification: Performance of Templates: time 0.05108/1.639, allocations: 26.29 MB / 1.34 GB, free: 3.277 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)