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.00139/0.00139, allocations: 103.5 kB / 16.29 MB, free: 6.43 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.001496/0.001496, allocations: 185.1 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.872/1.872, allocations: 292.3 MB / 0.5495 GB, free: 17.43 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.001821/0.001821, allocations: 63.91 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.27, allocations: 114.6 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7636/1.034, allocations: 190 MB / 0.9696 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01536/1.049, allocations: 7.456 MB / 0.9769 GB, free: 4.98 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/1.052, allocations: 39.69 kB / 0.9769 GB, free: 4.941 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/1.054, allocations: 0.5512 MB / 0.9774 GB, free: 4.387 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005243/1.059, allocations: 1.557 MB / 0.979 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008768/1.068, allocations: 2.74 MB / 0.9816 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004366/1.072, allocations: 2.295 MB / 0.9839 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/1.075, allocations: 1.083 MB / 0.9849 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/1.077, allocations: 0.9576 MB / 0.9859 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/1.079, allocations: 0.8716 MB / 0.9867 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005789/1.08, allocations: 143.9 kB / 0.9869 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003442/1.083, allocations: 1.372 MB / 0.9882 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0008045/1.084, allocations: 426.7 kB / 0.9886 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/1.086, allocations: 0.6531 MB / 0.9892 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003545/1.089, allocations: 2.103 MB / 0.9913 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.089, allocations: 0 / 0.9913 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.104e-06/1.089, allocations: 0 / 0.9913 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.606e-05/1.089, allocations: 0 / 0.9913 GB, free: 6.18 MB / 0.7794 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.004404/1.094, allocations: 1.773 MB / 0.993 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.094, allocations: 11.22 kB / 0.993 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009534/1.095, allocations: 186.5 kB / 0.9932 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/1.097, allocations: 1.049 MB / 0.9942 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/1.097, allocations: 56.94 kB / 0.9943 GB, free: 3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/1.097, allocations: 56 kB / 0.9943 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/1.098, allocations: 0.6947 MB / 0.995 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/1.098, allocations: 4 kB / 0.995 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/1.098, allocations: 20 kB / 0.995 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/1.098, allocations: 12 kB / 0.9951 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/1.1, allocations: 0.6168 MB / 0.9957 GB, free: 1.578 MB / 0.7794 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.004481/1.104, allocations: 2.658 MB / 0.9983 GB, free: 14.78 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/1.105, allocations: 0.5568 MB / 0.9988 GB, free: 14.21 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/1.106, allocations: 357.4 kB / 0.9991 GB, free: 13.86 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004116/1.106, allocations: 284.2 kB / 0.9994 GB, free: 13.53 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.106, allocations: 38.56 kB / 0.9994 GB, free: 13.48 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007121/1.107, allocations: 144.2 kB / 0.9996 GB, free: 13.34 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.796e-06/1.107, allocations: 0 / 0.9996 GB, free: 13.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.002343/1.109, allocations: 1.035 MB / 1.001 GB, free: 12.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/1.11, allocations: 136.5 kB / 1.001 GB, free: 12.14 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/1.112, allocations: 1.284 MB / 1.002 GB, free: 10.84 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/1.112, allocations: 37.7 kB / 1.002 GB, free: 10.79 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004125/1.112, allocations: 456.6 kB / 1.002 GB, free: 10.34 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/1.112, allocations: 145.8 kB / 1.003 GB, free: 10.2 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/1.113, allocations: 126.1 kB / 1.003 GB, free: 10.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.113, allocations: 329.9 kB / 1.003 GB, free: 9.742 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/1.113, allocations: 288.2 kB / 1.003 GB, free: 9.461 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/1.114, allocations: 0.5161 MB / 1.004 GB, free: 8.859 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.115, allocations: 0.6136 MB / 1.004 GB, free: 8.246 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.115, allocations: 0 / 1.004 GB, free: 8.246 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001653/1.117, allocations: 0.7851 MB / 1.005 GB, free: 7.453 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.117, allocations: 8 kB / 1.005 GB, free: 7.445 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.117, allocations: 0 / 1.005 GB, free: 7.445 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.117, allocations: 4.75 kB / 1.005 GB, free: 7.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/1.118, allocations: 119.8 kB / 1.005 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.118, allocations: 0 / 1.005 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.119, allocations: 94.77 kB / 1.005 GB, free: 7.234 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/1.119, allocations: 27.97 kB / 1.005 GB, free: 7.207 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008695/1.12, allocations: 480.8 kB / 1.006 GB, free: 6.734 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008309/1.121, allocations: 0.5127 MB / 1.006 GB, free: 6.133 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001134/1.122, allocations: 0.6103 MB / 1.007 GB, free: 5.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/1.122, allocations: 3.938 kB / 1.007 GB, free: 5.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001612/1.123, allocations: 0.7767 MB / 1.008 GB, free: 4.734 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.123, allocations: 4 kB / 1.008 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.124, allocations: 7.984 kB / 1.008 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/1.124, allocations: 0 / 1.008 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/1.124, allocations: 119.8 kB / 1.008 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/1.124, allocations: 0 / 1.008 GB, free: 4.605 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/1.125, allocations: 133 kB / 1.008 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/1.125, allocations: 23.97 kB / 1.008 GB, free: 4.457 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002576/1.126, allocations: 216.1 kB / 1.008 GB, free: 4.238 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/1.126, allocations: 106.6 kB / 1.008 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/1.128, allocations: 0.8135 MB / 1.009 GB, free: 3.312 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.128, allocations: 4 kB / 1.009 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.128, allocations: 0 / 1.009 GB, free: 3.309 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.128, allocations: 7.984 kB / 1.009 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00317/1.131, allocations: 1.942 MB / 1.011 GB, free: 1.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/1.131, allocations: 7.938 kB / 1.011 GB, free: 1.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/1.132, allocations: 107.8 kB / 1.011 GB, free: 1.164 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/1.132, allocations: 7.938 kB / 1.011 GB, free: 1.156 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/1.132, allocations: 19.98 kB / 1.011 GB, free: 1.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/1.132, allocations: 4 kB / 1.011 GB, free: 1.133 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.132, allocations: 0 / 1.011 GB, free: 1.133 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/1.134, allocations: 1.245 MB / 1.012 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/1.134, allocations: 287.6 kB / 1.013 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/1.134, allocations: 19.98 kB / 1.013 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009123/1.135, allocations: 58.8 kB / 1.013 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/1.135, allocations: 43.95 kB / 1.013 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/1.135, allocations: 19.98 kB / 1.013 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001434/1.137, allocations: 0.9292 MB / 1.014 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/1.137, allocations: 3.938 kB / 1.014 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001311/1.138, allocations: 451.3 kB / 1.014 GB, free: 14.03 MB / 0.8106 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 (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.0006693/1.139, allocations: 261.2 kB / 1.014 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002124/1.141, allocations: 1.04 MB / 1.015 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.141, allocations: 0 / 1.015 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006108/1.142, allocations: 339.9 kB / 1.016 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/1.144, allocations: 464.6 kB / 1.016 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/1.146, allocations: 1.695 MB / 1.018 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/1.147, allocations: 1.057 MB / 1.019 GB, free: 9.133 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001076/1.148, allocations: 304.3 kB / 1.019 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/1.148, allocations: 99.38 kB / 1.019 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/1.148, allocations: 0 / 1.019 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of Templates: time 0.03917/1.187, allocations: 22.64 MB / 1.041 GB, free: 2.469 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)