Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 108 kB / 15.61 MB, free: 152 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.001378/0.001378, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 59.78 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.376, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.8493/1.225, allocations: 189.7 MB / 1.253 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008511/1.234, allocations: 4.276 MB / 1.258 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/1.236, allocations: 30 kB / 1.258 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002111/1.238, allocations: 0.5014 MB / 1.258 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005494/1.244, allocations: 1.567 MB / 1.26 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004734/1.248, allocations: 1.324 MB / 1.261 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00435/1.253, allocations: 2.254 MB / 1.263 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/1.255, allocations: 1.08 MB / 1.264 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/1.257, allocations: 0.9454 MB / 1.265 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001399/1.258, allocations: 0.8662 MB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002581/1.259, allocations: 144.3 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/1.262, allocations: 1.239 MB / 1.267 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005656/1.262, allocations: 423.1 kB / 1.268 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009295/1.263, allocations: 0.6461 MB / 1.268 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00384/1.267, allocations: 1.954 MB / 1.27 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.267, allocations: 1.531 kB / 1.27 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.346e-06/1.267, allocations: 2.219 kB / 1.27 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.769e-05/1.267, allocations: 0.9375 kB / 1.27 GB, free: 5.441 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.005538/1.273, allocations: 1.722 MB / 1.272 GB, free: 20.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.273, allocations: 10.88 kB / 1.272 GB, free: 20.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009661/1.274, allocations: 191.1 kB / 1.272 GB, free: 20.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/1.276, allocations: 1.032 MB / 1.273 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/1.276, allocations: 53.5 kB / 1.273 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/1.276, allocations: 59.42 kB / 1.273 GB, free: 20.2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/1.277, allocations: 0.6114 MB / 1.274 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.277, allocations: 3.984 kB / 1.274 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/1.277, allocations: 25.91 kB / 1.274 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/1.278, allocations: 18.28 kB / 1.274 GB, free: 20.16 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/1.279, allocations: 0.6224 MB / 1.274 GB, free: 20.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 preOpt removeSimpleEquations (simulation): time 0.005163/1.284, allocations: 2.673 MB / 1.277 GB, free: 19.35 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/1.286, allocations: 0.5427 MB / 1.278 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007371/1.286, allocations: 353.6 kB / 1.278 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/1.287, allocations: 289.2 kB / 1.278 GB, free: 19.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/1.287, allocations: 37.66 kB / 1.278 GB, free: 18.98 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008772/1.288, allocations: 144.6 kB / 1.278 GB, free: 18.96 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.276e-06/1.288, allocations: 1.875 kB / 1.278 GB, free: 18.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.003017/1.291, allocations: 1.018 MB / 1.279 GB, free: 18.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/1.291, allocations: 55.5 kB / 1.279 GB, free: 18.8 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/1.293, allocations: 1.273 MB / 1.281 GB, free: 18.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/1.293, allocations: 42.73 kB / 1.281 GB, free: 18.63 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000377/1.294, allocations: 428.2 kB / 1.281 GB, free: 18.51 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/1.294, allocations: 150.9 kB / 1.281 GB, free: 18.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/1.294, allocations: 113.7 kB / 1.281 GB, free: 18.4 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.294, allocations: 332.5 kB / 1.282 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005845/1.295, allocations: 272.7 kB / 1.282 GB, free: 18.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007551/1.296, allocations: 490 kB / 1.282 GB, free: 17.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/1.297, allocations: 0.5832 MB / 1.283 GB, free: 17.86 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.297, allocations: 0 / 1.283 GB, free: 17.86 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001716/1.299, allocations: 0.7443 MB / 1.284 GB, free: 17.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/1.299, allocations: 7.281 kB / 1.284 GB, free: 17.77 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.299, allocations: 0.8438 kB / 1.284 GB, free: 17.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/1.299, allocations: 2.219 kB / 1.284 GB, free: 17.77 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/1.299, allocations: 120.5 kB / 1.284 GB, free: 17.77 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.299, allocations: 3.344 kB / 1.284 GB, free: 17.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/1.301, allocations: 96.89 kB / 1.284 GB, free: 17.76 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/1.301, allocations: 32.34 kB / 1.284 GB, free: 17.76 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009377/1.302, allocations: 468.8 kB / 1.284 GB, free: 17.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007474/1.302, allocations: 479 kB / 1.285 GB, free: 17.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001191/1.304, allocations: 0.5803 MB / 1.285 GB, free: 17.45 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.644e-06/1.304, allocations: 0 / 1.285 GB, free: 17.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001744/1.305, allocations: 0.7332 MB / 1.286 GB, free: 17.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.305, allocations: 6 kB / 1.286 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.305, allocations: 1.922 kB / 1.286 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/1.305, allocations: 2.188 kB / 1.286 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/1.306, allocations: 122.9 kB / 1.286 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/1.306, allocations: 4.344 kB / 1.286 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/1.308, allocations: 124.9 kB / 1.286 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/1.308, allocations: 22.25 kB / 1.286 GB, free: 17.36 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 (45): * Single equations (assignments): 45 * 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.0002848/1.308, allocations: 212 kB / 1.287 GB, free: 17.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/1.308, allocations: 102.8 kB / 1.287 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/1.31, allocations: 0.8072 MB / 1.288 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.31, allocations: 6.75 kB / 1.288 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.31, allocations: 1.156 kB / 1.288 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/1.31, allocations: 4.906 kB / 1.288 GB, free: 17.05 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/1.313, allocations: 1.955 MB / 1.289 GB, free: 16.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/1.313, allocations: 6.219 kB / 1.289 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/1.314, allocations: 107.6 kB / 1.29 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/1.314, allocations: 4.656 kB / 1.29 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/1.314, allocations: 16.52 kB / 1.29 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/1.314, allocations: 5.938 kB / 1.29 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.314, allocations: 4.781 kB / 1.29 GB, free: 16.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/1.316, allocations: 1.238 MB / 1.291 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005698/1.317, allocations: 285 kB / 1.291 GB, free: 16.24 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/1.317, allocations: 16.59 kB / 1.291 GB, free: 16.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/1.318, allocations: 63.41 kB / 1.291 GB, free: 16.24 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/1.318, allocations: 46.38 kB / 1.291 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.545e-05/1.318, allocations: 20.78 kB / 1.291 GB, free: 16.23 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001633/1.32, allocations: 0.9232 MB / 1.292 GB, free: 16.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.91e-07/1.32, allocations: 0.875 kB / 1.292 GB, free: 16.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0016/1.322, allocations: 400.3 kB / 1.292 GB, free: 16.09 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.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 (52): * Single equations (assignments): 52 * 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.0007086/1.322, allocations: 226.9 kB / 1.293 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002425/1.325, allocations: 0.9956 MB / 1.294 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.325, allocations: 1.062 kB / 1.294 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006475/1.326, allocations: 333.9 kB / 1.294 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.328, allocations: 437.2 kB / 1.294 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00269/1.331, allocations: 1.697 MB / 1.296 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/1.331, allocations: 1.044 MB / 1.297 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001323/1.332, allocations: 287.5 kB / 1.297 GB, free: 14.47 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/1.333, allocations: 99.75 kB / 1.297 GB, free: 14.46 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.333, allocations: 1.125 kB / 1.297 GB, free: 14.46 MB / 1.014 GB Notification: Performance of Templates: time 0.03772/1.371, allocations: 21.29 MB / 1.318 GB, free: 11.13 MB / 1.014 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)