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.001086/0.001086, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001101/0.001101, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.465/1.465, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.76/2.76, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001247, allocations: 64.59 kB / 0.9115 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3566, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.9006/1.257, allocations: 195.8 MB / 1.259 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009/1.266, allocations: 5.132 MB / 1.264 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/1.268, allocations: 31.25 kB / 1.264 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/1.269, allocations: 0.5276 MB / 1.264 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005057/1.275, allocations: 1.745 MB / 1.266 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004679/1.279, allocations: 1.528 MB / 1.268 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005011/1.284, allocations: 2.887 MB / 1.27 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/1.287, allocations: 1.415 MB / 1.272 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/1.29, allocations: 1.248 MB / 1.273 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/1.292, allocations: 1.183 MB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004679/1.293, allocations: 188.1 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003955/1.296, allocations: 1.422 MB / 1.276 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008623/1.297, allocations: 0.5496 MB / 1.276 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/1.299, allocations: 0.8414 MB / 1.277 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005435/1.305, allocations: 2.572 MB / 1.28 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.305, allocations: 0 / 1.28 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.595e-06/1.305, allocations: 2 kB / 1.28 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.113e-05/1.305, allocations: 1.062 kB / 1.28 GB, free: 5.156 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.007556/1.312, allocations: 2.135 MB / 1.282 GB, free: 20.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.312, allocations: 10.56 kB / 1.282 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/1.314, allocations: 226.7 kB / 1.282 GB, free: 20.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/1.316, allocations: 1.309 MB / 1.283 GB, free: 19.72 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/1.316, allocations: 68.53 kB / 1.283 GB, free: 19.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/1.317, allocations: 80.44 kB / 1.283 GB, free: 19.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/1.318, allocations: 0.8028 MB / 1.284 GB, free: 19.67 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/1.318, allocations: 2.469 kB / 1.284 GB, free: 19.67 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/1.318, allocations: 29.84 kB / 1.284 GB, free: 19.67 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/1.319, allocations: 26.59 kB / 1.284 GB, free: 19.67 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/1.32, allocations: 0.8381 MB / 1.285 GB, free: 19.66 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.005907/1.326, allocations: 3.458 MB / 1.288 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/1.328, allocations: 0.7348 MB / 1.289 GB, free: 18.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007492/1.328, allocations: 442.4 kB / 1.29 GB, free: 18.55 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004196/1.329, allocations: 289 kB / 1.29 GB, free: 18.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/1.329, allocations: 38.62 kB / 1.29 GB, free: 18.23 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001266/1.33, allocations: 236.3 kB / 1.29 GB, free: 18.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=53): time 3.015e-06/1.33, allocations: 0.8438 kB / 1.29 GB, free: 18.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=53): time 0.002885/1.333, allocations: 1.304 MB / 1.291 GB, free: 18.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/1.333, allocations: 57.84 kB / 1.291 GB, free: 18.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003048/1.336, allocations: 1.631 MB / 1.293 GB, free: 17.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/1.336, allocations: 44.42 kB / 1.293 GB, free: 17.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/1.337, allocations: 0.529 MB / 1.294 GB, free: 17.7 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/1.337, allocations: 186.3 kB / 1.294 GB, free: 17.58 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003523/1.337, allocations: 150.9 kB / 1.294 GB, free: 17.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.337, allocations: 329 kB / 1.294 GB, free: 17.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000742/1.338, allocations: 357.8 kB / 1.295 GB, free: 17.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009455/1.339, allocations: 0.619 MB / 1.295 GB, free: 16.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/1.341, allocations: 0.7717 MB / 1.296 GB, free: 16.97 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.341, allocations: 0.8125 kB / 1.296 GB, free: 16.97 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002144/1.343, allocations: 0.9615 MB / 1.297 GB, free: 16.86 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.343, allocations: 6.812 kB / 1.297 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.343, allocations: 0 / 1.297 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.343, allocations: 3.375 kB / 1.297 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009146/1.344, allocations: 162.9 kB / 1.297 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.344, allocations: 4.516 kB / 1.297 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/1.346, allocations: 147.9 kB / 1.297 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/1.346, allocations: 33.86 kB / 1.297 GB, free: 16.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001077/1.347, allocations: 0.5749 MB / 1.298 GB, free: 16.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009173/1.348, allocations: 0.6247 MB / 1.298 GB, free: 16.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001426/1.349, allocations: 0.7737 MB / 1.299 GB, free: 16.44 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.489e-06/1.349, allocations: 0.7812 kB / 1.299 GB, free: 16.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.002137/1.352, allocations: 0.9474 MB / 1.3 GB, free: 16.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.352, allocations: 5.344 kB / 1.3 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.352, allocations: 2.125 kB / 1.3 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.875e-06/1.352, allocations: 7.125 kB / 1.3 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008993/1.353, allocations: 161.3 kB / 1.3 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.353, allocations: 5.531 kB / 1.3 GB, free: 16.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.355, allocations: 180.8 kB / 1.3 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-05/1.355, allocations: 30.86 kB / 1.3 GB, free: 16.33 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.0003337/1.355, allocations: 221.7 kB / 1.301 GB, free: 16.14 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/1.356, allocations: 127.4 kB / 1.301 GB, free: 16.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/1.359, allocations: 1.031 MB / 1.302 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/1.359, allocations: 6.125 kB / 1.302 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.359, allocations: 2.156 kB / 1.302 GB, free: 16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/1.359, allocations: 3.094 kB / 1.302 GB, free: 16 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.005044/1.364, allocations: 2.479 MB / 1.304 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/1.364, allocations: 4.281 kB / 1.304 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/1.365, allocations: 127.6 kB / 1.304 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/1.365, allocations: 5.719 kB / 1.304 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/1.365, allocations: 24.97 kB / 1.304 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/1.365, allocations: 6.344 kB / 1.304 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.365, allocations: 9.016 kB / 1.304 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/1.368, allocations: 1.524 MB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008277/1.368, allocations: 342.4 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000382/1.369, allocations: 20.22 kB / 1.306 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/1.37, allocations: 95.38 kB / 1.306 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.371, allocations: 61.12 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/1.371, allocations: 22.22 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002078/1.373, allocations: 1.183 MB / 1.308 GB, free: 14.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.373, allocations: 0.9375 kB / 1.308 GB, free: 14.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001863/1.375, allocations: 0.4976 MB / 1.308 GB, free: 14.89 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.0006143/1.375, allocations: 235.2 kB / 1.308 GB, free: 14.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00284/1.378, allocations: 1.307 MB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.378, allocations: 0.9688 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007556/1.379, allocations: 428.5 kB / 1.31 GB, free: 14.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.381, allocations: 0.5216 MB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/1.385, allocations: 2.548 MB / 1.313 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/1.386, allocations: 1.146 MB / 1.314 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001697/1.387, allocations: 369.8 kB / 1.314 GB, free: 12.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/1.388, allocations: 122.2 kB / 1.315 GB, free: 12.63 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/1.388, allocations: 0 / 1.315 GB, free: 12.63 MB / 1.014 GB Notification: Performance of Templates: time 0.04696/1.435, allocations: 26.93 MB / 1.341 GB, free: 4.387 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)