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.001492/0.001492, allocations: 108 kB / 15.6 MB, free: 132 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.001788/0.001789, allocations: 189.8 kB / 16.53 MB, free: 6.391 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.38 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3183, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8716/1.19, allocations: 198.4 MB / 1.262 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007552/1.198, allocations: 5.157 MB / 1.267 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/1.199, allocations: 30.5 kB / 1.267 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001484/1.2, allocations: 0.6073 MB / 1.268 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00437/1.205, allocations: 1.872 MB / 1.269 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003811/1.209, allocations: 1.631 MB / 1.271 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003219/1.212, allocations: 2.878 MB / 1.274 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/1.214, allocations: 1.439 MB / 1.275 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001955/1.216, allocations: 1.225 MB / 1.276 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/1.217, allocations: 1.15 MB / 1.277 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004067/1.218, allocations: 188.5 kB / 1.278 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/1.221, allocations: 1.382 MB / 1.279 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006089/1.221, allocations: 0.5426 MB / 1.28 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/1.222, allocations: 0.8419 MB / 1.28 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003988/1.226, allocations: 2.48 MB / 1.283 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.226, allocations: 0.5312 kB / 1.283 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.726e-06/1.226, allocations: 1.375 kB / 1.283 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.05e-05/1.227, allocations: 0 / 1.283 GB, free: 5.203 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.006562/1.233, allocations: 2.135 MB / 1.285 GB, free: 20.24 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/1.233, allocations: 10.47 kB / 1.285 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/1.234, allocations: 228.4 kB / 1.285 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/1.237, allocations: 1.315 MB / 1.286 GB, free: 19.77 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/1.237, allocations: 69.55 kB / 1.286 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/1.237, allocations: 74.94 kB / 1.287 GB, free: 19.76 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/1.239, allocations: 0.8051 MB / 1.287 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/1.239, allocations: 1 kB / 1.287 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/1.239, allocations: 22.28 kB / 1.287 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/1.239, allocations: 27.28 kB / 1.287 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/1.24, allocations: 0.8411 MB / 1.288 GB, free: 19.71 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.006288/1.247, allocations: 3.473 MB / 1.292 GB, free: 18.72 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/1.248, allocations: 0.7385 MB / 1.292 GB, free: 18.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/1.249, allocations: 441.3 kB / 1.293 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004518/1.249, allocations: 287.6 kB / 1.293 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/1.249, allocations: 38.81 kB / 1.293 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001241/1.251, allocations: 199.7 kB / 1.293 GB, free: 18.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 4.399e-06/1.251, allocations: 0.9375 kB / 1.293 GB, free: 18.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=53): time 0.003266/1.254, allocations: 1.301 MB / 1.294 GB, free: 18.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/1.254, allocations: 57.06 kB / 1.295 GB, free: 18.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/1.257, allocations: 1.633 MB / 1.296 GB, free: 17.92 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/1.257, allocations: 43.67 kB / 1.296 GB, free: 17.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/1.258, allocations: 0.5308 MB / 1.297 GB, free: 17.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/1.258, allocations: 186.8 kB / 1.297 GB, free: 17.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/1.258, allocations: 154.6 kB / 1.297 GB, free: 17.61 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001084/1.258, allocations: 328.4 kB / 1.297 GB, free: 17.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000699/1.259, allocations: 358 kB / 1.298 GB, free: 17.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009082/1.26, allocations: 0.6177 MB / 1.298 GB, free: 17.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/1.261, allocations: 0.7715 MB / 1.299 GB, free: 17.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.261, allocations: 0 / 1.299 GB, free: 17.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002111/1.263, allocations: 0.9603 MB / 1.3 GB, free: 16.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.263, allocations: 5 kB / 1.3 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.263, allocations: 7.281 kB / 1.3 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/1.263, allocations: 3.375 kB / 1.3 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008666/1.264, allocations: 162.4 kB / 1.3 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.264, allocations: 2.125 kB / 1.3 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/1.266, allocations: 128.7 kB / 1.3 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.812e-05/1.266, allocations: 32.8 kB / 1.3 GB, free: 16.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001053/1.267, allocations: 0.5746 MB / 1.301 GB, free: 16.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009093/1.268, allocations: 0.6255 MB / 1.301 GB, free: 16.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00143/1.27, allocations: 0.7607 MB / 1.302 GB, free: 16.49 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/1.27, allocations: 0.9375 kB / 1.302 GB, free: 16.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.002057/1.272, allocations: 0.9667 MB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/1.272, allocations: 8.25 kB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.272, allocations: 5.438 kB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/1.272, allocations: 4 kB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/1.272, allocations: 157.8 kB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.272, allocations: 6.031 kB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/1.274, allocations: 161 kB / 1.303 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/1.274, allocations: 30.61 kB / 1.304 GB, free: 16.38 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.0002652/1.275, allocations: 217.1 kB / 1.304 GB, free: 16.19 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/1.275, allocations: 131.3 kB / 1.304 GB, free: 16.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/1.277, allocations: 1.032 MB / 1.305 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/1.277, allocations: 5.5 kB / 1.305 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.277, allocations: 2.031 kB / 1.305 GB, free: 16.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/1.277, allocations: 11.69 kB / 1.305 GB, free: 16.04 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.003706/1.281, allocations: 2.462 MB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.281, allocations: 2.812 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007002/1.282, allocations: 132.2 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/1.282, allocations: 5.906 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/1.282, allocations: 22.8 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/1.282, allocations: 7.781 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.282, allocations: 3.406 kB / 1.307 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/1.284, allocations: 1.526 MB / 1.309 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005934/1.285, allocations: 348.7 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/1.285, allocations: 12.91 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.287, allocations: 78.42 kB / 1.309 GB, free: 15.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.287, allocations: 50.67 kB / 1.309 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/1.287, allocations: 23.22 kB / 1.309 GB, free: 15.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001742/1.289, allocations: 1.182 MB / 1.311 GB, free: 14.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.11e-07/1.289, allocations: 0 / 1.311 GB, free: 14.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001453/1.29, allocations: 0.5002 MB / 1.311 GB, free: 14.95 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.0004822/1.29, allocations: 244.1 kB / 1.311 GB, free: 14.84 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002688/1.293, allocations: 1.311 MB / 1.313 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.293, allocations: 0 / 1.313 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006905/1.294, allocations: 430.1 kB / 1.313 GB, free: 14.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/1.296, allocations: 0.5174 MB / 1.313 GB, free: 14.74 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/1.299, allocations: 2.175 MB / 1.316 GB, free: 13.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/1.3, allocations: 1.151 MB / 1.317 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001485/1.301, allocations: 360.8 kB / 1.317 GB, free: 13.06 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/1.302, allocations: 124 kB / 1.317 GB, free: 13.05 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.302, allocations: 3.188 kB / 1.317 GB, free: 13.05 MB / 1.014 GB Notification: Performance of Templates: time 0.04147/1.343, allocations: 27.14 MB / 1.344 GB, free: 4.223 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)