Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00104/0.00104, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001039/0.001039, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.4 MB / 222.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.757/1.757, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005573/0.0005576, allocations: 15.28 kB / 0.6735 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2481, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6627/0.9109, allocations: 157.9 MB / 0.9413 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.9236, allocations: 7.201 MB / 0.9483 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.9253, allocations: 33.06 kB / 0.9484 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.9274, allocations: 0.6186 MB / 0.949 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005712/0.9331, allocations: 1.447 MB / 0.9504 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008282/0.9414, allocations: 2.306 MB / 0.9526 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003113/0.9446, allocations: 1.316 MB / 0.9539 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.9459, allocations: 0.87 MB / 0.9548 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.9479, allocations: 0.8457 MB / 0.9556 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.949, allocations: 0.6469 MB / 0.9562 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.9491, allocations: 57.31 kB / 0.9563 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002476/0.9516, allocations: 0.7618 MB / 0.957 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003951/0.952, allocations: 319.2 kB / 0.9573 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006513/0.9527, allocations: 227 kB / 0.9575 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.9547, allocations: 1.505 MB / 0.959 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.9547, allocations: 0 / 0.959 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9548, allocations: 0 / 0.959 GB, free: 20.98 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.297e-05/0.9548, allocations: 0 / 0.959 GB, free: 20.98 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003646/0.9584, allocations: 1.526 MB / 0.9605 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.9585, allocations: 8.656 kB / 0.9605 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008429/0.9593, allocations: 188.6 kB / 0.9607 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.9612, allocations: 1.009 MB / 0.9617 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.9614, allocations: 58.45 kB / 0.9617 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.9615, allocations: 60.5 kB / 0.9618 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.9628, allocations: 0.7017 MB / 0.9625 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.9628, allocations: 0 / 0.9625 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/0.9629, allocations: 22.09 kB / 0.9625 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.9629, allocations: 11.5 kB / 0.9625 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.9641, allocations: 0.6352 MB / 0.9631 GB, free: 19.69 MB / 0.7325 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.004486/0.9686, allocations: 2.678 MB / 0.9657 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.9698, allocations: 0.5835 MB / 0.9663 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.761e-05/0.9699, allocations: 23.44 kB / 0.9663 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.9699, allocations: 39.84 kB / 0.9664 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009634/0.9709, allocations: 172.1 kB / 0.9665 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 3.015e-06/0.9709, allocations: 0 / 0.9665 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002228/0.9732, allocations: 1.061 MB / 0.9676 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.9733, allocations: 137.5 kB / 0.9677 GB, free: 18.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.9751, allocations: 1.275 MB / 0.969 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.271e-05/0.9752, allocations: 38.27 kB / 0.969 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.9755, allocations: 450.3 kB / 0.9694 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.9757, allocations: 154.1 kB / 0.9696 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.9757, allocations: 9.031 kB / 0.9696 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.9758, allocations: 321.4 kB / 0.9699 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.9763, allocations: 289.8 kB / 0.9702 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007163/0.977, allocations: 0.5182 MB / 0.9707 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/0.9776, allocations: 340.9 kB / 0.971 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9776, allocations: 0 / 0.971 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001454/0.9791, allocations: 0.7948 MB / 0.9718 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/0.9792, allocations: 101.3 kB / 0.9719 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.9792, allocations: 0 / 0.9719 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.9792, allocations: 2.5 kB / 0.9719 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.9798, allocations: 122.3 kB / 0.972 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.9798, allocations: 6.875 kB / 0.972 GB, free: 17.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.9811, allocations: 132.7 kB / 0.9721 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.025e-05/0.9812, allocations: 21.27 kB / 0.9721 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.9812, allocations: 8.703 kB / 0.9721 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001123/0.9823, allocations: 0.665 MB / 0.9728 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.9823, allocations: 4.875 kB / 0.9728 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/0.9823, allocations: 7.078 kB / 0.9728 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000542/0.9829, allocations: 115.2 kB / 0.9729 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.9829, allocations: 6.797 kB / 0.9729 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.9841, allocations: 118.9 kB / 0.973 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.9841, allocations: 27.47 kB / 0.9731 GB, free: 17.04 MB / 0.7325 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005254/0.9847, allocations: 334 kB / 0.9734 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.9849, allocations: 108 kB / 0.9735 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.9863, allocations: 0.8344 MB / 0.9743 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.9864, allocations: 4.969 kB / 0.9743 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9864, allocations: 6.859 kB / 0.9743 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.9864, allocations: 6.984 kB / 0.9743 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.9891, allocations: 1.969 MB / 0.9762 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.9891, allocations: 6.828 kB / 0.9762 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.9896, allocations: 114.1 kB / 0.9763 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/0.9897, allocations: 4.688 kB / 0.9764 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.9897, allocations: 18.89 kB / 0.9764 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.9897, allocations: 7.812 kB / 0.9764 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9897, allocations: 2.812 kB / 0.9764 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.9915, allocations: 1.386 MB / 0.9777 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.9921, allocations: 296.3 kB / 0.978 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.9922, allocations: 12.34 kB / 0.978 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009211/0.9931, allocations: 79.34 kB / 0.9781 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.9932, allocations: 49.47 kB / 0.9782 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.9933, allocations: 16.66 kB / 0.9782 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00128/0.9946, allocations: 0.9217 MB / 0.9791 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9946, allocations: 0 / 0.9791 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001387/0.996, allocations: 443.9 kB / 0.9795 GB, free: 14.59 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005486/0.9965, allocations: 255.5 kB / 0.9797 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001936/0.9985, allocations: 1.075 MB / 0.9808 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.9985, allocations: 0 / 0.9808 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006251/0.9991, allocations: 353 kB / 0.9811 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.001, allocations: 476 kB / 0.9816 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/1.004, allocations: 1.971 MB / 0.9835 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/1.005, allocations: 1.071 MB / 0.9845 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001216/1.006, allocations: 300.8 kB / 0.9848 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/1.006, allocations: 106.2 kB / 0.9849 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/1.006, allocations: 0 / 0.9849 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.03276/1.039, allocations: 21.12 MB / 1.006 GB, free: 368 kB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: