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.001184/0.001184, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.00111/0.00111, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.485/1.485, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.822/1.822, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001429/0.00143, allocations: 63.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2542, allocations: 114.5 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6328/0.8871, allocations: 190 MB / 0.9703 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.9002, allocations: 7.465 MB / 0.9776 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.9016, allocations: 39.69 kB / 0.9776 GB, free: 4.438 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.9032, allocations: 0.5434 MB / 0.9781 GB, free: 3.891 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003831/0.907, allocations: 1.559 MB / 0.9797 GB, free: 2.324 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006898/0.9139, allocations: 2.744 MB / 0.9824 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003528/0.9175, allocations: 2.287 MB / 0.9846 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.9189, allocations: 1.088 MB / 0.9856 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.9206, allocations: 0.9498 MB / 0.9866 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.9216, allocations: 0.8735 MB / 0.9874 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.9218, allocations: 140 kB / 0.9876 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.9245, allocations: 1.372 MB / 0.9889 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.9249, allocations: 430.7 kB / 0.9893 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006889/0.9256, allocations: 0.6569 MB / 0.99 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00289/0.9285, allocations: 2.107 MB / 0.992 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9285, allocations: 0 / 0.992 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9285, allocations: 0 / 0.992 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.9285, allocations: 0 / 0.992 GB, free: 5.684 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.003941/0.9325, allocations: 1.762 MB / 0.9937 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9325, allocations: 12.03 kB / 0.9937 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008134/0.9333, allocations: 186.5 kB / 0.9939 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.9351, allocations: 1.081 MB / 0.995 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.9352, allocations: 48.94 kB / 0.995 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.9353, allocations: 67.98 kB / 0.9951 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.9365, allocations: 0.687 MB / 0.9958 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.9365, allocations: 5.5 kB / 0.9958 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/0.9366, allocations: 20 kB / 0.9958 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.9366, allocations: 12 kB / 0.9958 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.9378, allocations: 0.6168 MB / 0.9964 GB, free: 1.062 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.003816/0.9417, allocations: 2.663 MB / 0.999 GB, free: 14.26 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.9428, allocations: 0.5607 MB / 0.9995 GB, free: 13.69 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006105/0.9435, allocations: 351.4 kB / 0.9999 GB, free: 13.35 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/0.9439, allocations: 288.2 kB / 1 GB, free: 13.01 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.9439, allocations: 39.12 kB / 1 GB, free: 12.96 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00059/0.9445, allocations: 143.5 kB / 1 GB, free: 12.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/0.9445, allocations: 0 / 1 GB, free: 12.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.002276/0.9468, allocations: 1.031 MB / 1.001 GB, free: 11.79 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/0.9469, allocations: 140.5 kB / 1.001 GB, free: 11.62 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.9487, allocations: 1.288 MB / 1.003 GB, free: 10.31 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/0.9488, allocations: 38.27 kB / 1.003 GB, free: 10.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.9491, allocations: 454.2 kB / 1.003 GB, free: 9.82 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.9493, allocations: 145.8 kB / 1.003 GB, free: 9.676 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.9495, allocations: 126.1 kB / 1.003 GB, free: 9.547 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.9496, allocations: 330 kB / 1.004 GB, free: 9.219 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/0.9502, allocations: 286.4 kB / 1.004 GB, free: 8.938 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/0.951, allocations: 0.5168 MB / 1.005 GB, free: 8.336 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.9522, allocations: 0.6096 MB / 1.005 GB, free: 7.727 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.9522, allocations: 3.938 kB / 1.005 GB, free: 7.723 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00155/0.9537, allocations: 0.7854 MB / 1.006 GB, free: 6.93 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.9538, allocations: 6.031 kB / 1.006 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.9538, allocations: 0 / 1.006 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.9538, allocations: 4 kB / 1.006 GB, free: 6.922 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.9544, allocations: 128.9 kB / 1.006 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.9544, allocations: 0 / 1.006 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.9555, allocations: 98.66 kB / 1.006 GB, free: 6.703 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.9556, allocations: 27.97 kB / 1.006 GB, free: 6.676 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008152/0.9564, allocations: 480.8 kB / 1.007 GB, free: 6.199 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007594/0.9572, allocations: 0.5105 MB / 1.007 GB, free: 5.605 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001161/0.9583, allocations: 0.6165 MB / 1.008 GB, free: 4.984 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.9584, allocations: 7.938 kB / 1.008 GB, free: 4.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001489/0.9599, allocations: 0.7706 MB / 1.008 GB, free: 4.199 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.9599, allocations: 8 kB / 1.008 GB, free: 4.191 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.9599, allocations: 3.984 kB / 1.008 GB, free: 4.188 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.928e-06/0.9599, allocations: 4 kB / 1.009 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.9605, allocations: 115.8 kB / 1.009 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.9605, allocations: 4 kB / 1.009 GB, free: 4.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.9617, allocations: 129.1 kB / 1.009 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.9618, allocations: 21.45 kB / 1.009 GB, free: 3.922 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.0001967/0.962, allocations: 212.1 kB / 1.009 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.9622, allocations: 107.9 kB / 1.009 GB, free: 3.602 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.9638, allocations: 0.8118 MB / 1.01 GB, free: 2.781 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.9638, allocations: 8 kB / 1.01 GB, free: 2.773 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9639, allocations: 4 kB / 1.01 GB, free: 2.77 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.9639, allocations: 3.984 kB / 1.01 GB, free: 2.766 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.9668, allocations: 1.95 MB / 1.012 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.9669, allocations: 288 / 1.012 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.9674, allocations: 111.9 kB / 1.012 GB, free: 0.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.9674, allocations: 4 kB / 1.012 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.9675, allocations: 15.94 kB / 1.012 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.9675, allocations: 10 kB / 1.012 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.9675, allocations: 5.328 kB / 1.012 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.9696, allocations: 1.249 MB / 1.013 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/0.97, allocations: 283.6 kB / 1.013 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.9702, allocations: 15.94 kB / 1.013 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009341/0.9711, allocations: 67.97 kB / 1.013 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.9712, allocations: 35.95 kB / 1.014 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.9713, allocations: 16 kB / 1.014 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001326/0.9726, allocations: 0.9331 MB / 1.014 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9726, allocations: 0 / 1.014 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00118/0.9738, allocations: 443.4 kB / 1.015 GB, free: 13.5 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.000571/0.9744, allocations: 276.2 kB / 1.015 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00201/0.9764, allocations: 1.047 MB / 1.016 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9764, allocations: 0 / 1.016 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000628/0.977, allocations: 336.2 kB / 1.016 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.9791, allocations: 450.8 kB / 1.017 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.982, allocations: 1.749 MB / 1.019 GB, free: 9.625 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.9826, allocations: 1.053 MB / 1.02 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003666/0.983, allocations: 103.4 kB / 1.02 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of SimCode: time 3.7e-07/0.983, allocations: 0 / 1.02 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of Templates: time 0.02438/1.007, allocations: 17.45 MB / 1.037 GB, free: 7.238 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)