Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.0007786/0.0007787, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006889/0.006889, allocations: 173.9 kB / 16.26 MB, free: 6.676 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.91/2.91, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003686, allocations: 10.81 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3331, allocations: 162.1 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8596/1.193, allocations: 193.5 MB / 1.263 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008873/1.202, allocations: 5.147 MB / 1.268 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/1.204, allocations: 34.88 kB / 1.268 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/1.205, allocations: 0.4912 MB / 1.269 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004929/1.21, allocations: 1.746 MB / 1.27 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004209/1.214, allocations: 1.528 MB / 1.272 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004789/1.219, allocations: 3.515 MB / 1.275 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/1.221, allocations: 1.23 MB / 1.276 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002178/1.224, allocations: 1.044 MB / 1.277 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/1.225, allocations: 1.075 MB / 1.279 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002915/1.226, allocations: 78.75 kB / 1.279 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/1.229, allocations: 1.496 MB / 1.28 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008619/1.23, allocations: 439 kB / 1.28 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001925/1.232, allocations: 0.747 MB / 1.281 GB, free: 21.76 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00446/1.236, allocations: 2.462 MB / 1.284 GB, free: 21.64 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.236, allocations: 2.578 kB / 1.284 GB, free: 21.64 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.633e-06/1.236, allocations: 5.25 kB / 1.284 GB, free: 21.63 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.972e-05/1.236, allocations: 0 / 1.284 GB, free: 21.63 MB / 1.014 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.005932/1.242, allocations: 1.828 MB / 1.285 GB, free: 20.72 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.242, allocations: 8.906 kB / 1.285 GB, free: 20.72 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/1.244, allocations: 231.1 kB / 1.286 GB, free: 20.64 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/1.246, allocations: 1.305 MB / 1.287 GB, free: 20.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/1.247, allocations: 69.8 kB / 1.287 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/1.247, allocations: 76.97 kB / 1.287 GB, free: 20.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/1.249, allocations: 0.8183 MB / 1.288 GB, free: 20.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.249, allocations: 1.156 kB / 1.288 GB, free: 20.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/1.249, allocations: 23.19 kB / 1.288 GB, free: 20.19 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/1.249, allocations: 35.45 kB / 1.288 GB, free: 20.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/1.251, allocations: 0.8646 MB / 1.289 GB, free: 20.17 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.006056/1.257, allocations: 3.481 MB / 1.292 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/1.258, allocations: 0.7477 MB / 1.293 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008215/1.259, allocations: 456 kB / 1.293 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/1.26, allocations: 297 kB / 1.294 GB, free: 18.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/1.26, allocations: 43.22 kB / 1.294 GB, free: 18.71 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001223/1.261, allocations: 239 kB / 1.294 GB, free: 18.67 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 2.966e-06/1.261, allocations: 0 / 1.294 GB, free: 18.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=53): time 0.003027/1.264, allocations: 1.336 MB / 1.295 GB, free: 18.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/1.264, allocations: 58.41 kB / 1.295 GB, free: 18.49 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003522/1.267, allocations: 1.637 MB / 1.297 GB, free: 18.33 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/1.268, allocations: 44.27 kB / 1.297 GB, free: 18.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005406/1.268, allocations: 0.5324 MB / 1.297 GB, free: 18.16 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/1.268, allocations: 180.7 kB / 1.298 GB, free: 18.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.268, allocations: 43.97 kB / 1.298 GB, free: 18.02 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.269, allocations: 329.2 kB / 1.298 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007878/1.269, allocations: 362.9 kB / 1.298 GB, free: 17.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.271, allocations: 0.6338 MB / 1.299 GB, free: 17.44 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/1.272, allocations: 0.7917 MB / 1.3 GB, free: 17.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.272, allocations: 0 / 1.3 GB, free: 17.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002159/1.274, allocations: 0.9925 MB / 1.301 GB, free: 17.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.226e-05/1.274, allocations: 95.2 kB / 1.301 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.275, allocations: 1.969 kB / 1.301 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.275, allocations: 2 kB / 1.301 GB, free: 17.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000942/1.275, allocations: 181.8 kB / 1.301 GB, free: 17.19 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/1.275, allocations: 6.125 kB / 1.301 GB, free: 17.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/1.277, allocations: 161 kB / 1.301 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.571e-05/1.277, allocations: 34.67 kB / 1.301 GB, free: 17.17 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/1.278, allocations: 5.094 kB / 1.301 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001725/1.279, allocations: 0.8226 MB / 1.302 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/1.279, allocations: 0 / 1.302 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/1.279, allocations: 2.438 kB / 1.302 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/1.28, allocations: 172 kB / 1.302 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/1.28, allocations: 2.25 kB / 1.302 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/1.282, allocations: 156.4 kB / 1.302 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/1.282, allocations: 30.31 kB / 1.302 GB, free: 17.14 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.0006842/1.283, allocations: 373.2 kB / 1.303 GB, free: 16.94 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/1.283, allocations: 130.4 kB / 1.303 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/1.285, allocations: 1.055 MB / 1.304 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/1.285, allocations: 6.25 kB / 1.304 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.285, allocations: 1.75 kB / 1.304 GB, free: 16.79 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.285, allocations: 3.234 kB / 1.304 GB, free: 16.79 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.003947/1.289, allocations: 2.49 MB / 1.306 GB, free: 16.31 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/1.289, allocations: 7.25 kB / 1.306 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007509/1.29, allocations: 142.9 kB / 1.306 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/1.29, allocations: 5.219 kB / 1.306 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/1.29, allocations: 19.09 kB / 1.306 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/1.29, allocations: 7.547 kB / 1.306 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.29, allocations: 1.812 kB / 1.306 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/1.293, allocations: 1.564 MB / 1.308 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/1.293, allocations: 356.1 kB / 1.308 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002019/1.294, allocations: 13.47 kB / 1.308 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.295, allocations: 100.5 kB / 1.308 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/1.295, allocations: 49.58 kB / 1.308 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/1.295, allocations: 26.27 kB / 1.308 GB, free: 15.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001901/1.297, allocations: 1.175 MB / 1.31 GB, free: 15.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.9e-07/1.297, allocations: 0 / 1.31 GB, free: 15.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001546/1.299, allocations: 0.5165 MB / 1.31 GB, free: 15.64 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.0005222/1.299, allocations: 238.8 kB / 1.31 GB, free: 15.53 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002456/1.302, allocations: 1.254 MB / 1.312 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.302, allocations: 1.375 kB / 1.312 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008368/1.303, allocations: 442.3 kB / 1.312 GB, free: 15.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/1.306, allocations: 0.561 MB / 1.313 GB, free: 15.45 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/1.31, allocations: 2.598 MB / 1.315 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007383/1.311, allocations: 1.147 MB / 1.316 GB, free: 13.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001806/1.313, allocations: 369.4 kB / 1.317 GB, free: 13.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004578/1.313, allocations: 120.3 kB / 1.317 GB, free: 13.36 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.313, allocations: 0 / 1.317 GB, free: 13.36 MB / 1.014 GB Notification: Performance of Templates: time 0.04979/1.363, allocations: 26.01 MB / 1.342 GB, free: 3.836 MB / 1.014 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)