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: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 109.4 kB / 15.69 MB, free: 128 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.001259/0.001259, allocations: 185.4 kB / 16.62 MB, free: 6.582 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.359/1.359, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.73/1.73, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001689/0.00169, allocations: 72.42 kB / 0.6718 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2404, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6982/0.9387, allocations: 190 MB / 0.9691 GB, free: 0 / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.95, allocations: 7.486 MB / 0.9764 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.9516, allocations: 38.31 kB / 0.9765 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.9531, allocations: 0.5411 MB / 0.977 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004252/0.9574, allocations: 1.55 MB / 0.9785 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009261/0.9667, allocations: 2.768 MB / 0.9812 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004909/0.9716, allocations: 2.295 MB / 0.9835 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.9733, allocations: 1.072 MB / 0.9845 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.975, allocations: 0.9594 MB / 0.9855 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.9767, allocations: 0.8671 MB / 0.9863 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004621/0.9772, allocations: 140.8 kB / 0.9864 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.981, allocations: 1.377 MB / 0.9878 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004347/0.9815, allocations: 431.1 kB / 0.9882 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009065/0.9824, allocations: 0.6454 MB / 0.9888 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003363/0.9858, allocations: 2.113 MB / 0.9909 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.9858, allocations: 0 / 0.9909 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9858, allocations: 0 / 0.9909 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.9858, allocations: 0 / 0.9909 GB, free: 7.762 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.003894/0.9897, allocations: 1.758 MB / 0.9926 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.9898, allocations: 14.44 kB / 0.9926 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.9899, allocations: 96.83 kB / 0.9927 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008439/0.9908, allocations: 187.1 kB / 0.9929 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.9925, allocations: 1.08 MB / 0.9939 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.9926, allocations: 50.14 kB / 0.994 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.9927, allocations: 69.52 kB / 0.9941 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.9939, allocations: 0.687 MB / 0.9947 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.9939, allocations: 0 / 0.9947 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.605e-05/0.994, allocations: 16.84 kB / 0.9947 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.994, allocations: 16.22 kB / 0.9948 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.9952, allocations: 0.6197 MB / 0.9954 GB, free: 4.723 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.004803/1, allocations: 2.664 MB / 0.998 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/1.001, allocations: 0.5586 MB / 0.9985 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/1.002, allocations: 348.2 kB / 0.9988 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003732/1.002, allocations: 294.8 kB / 0.9991 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/1.002, allocations: 41.08 kB / 0.9992 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006768/1.003, allocations: 142 kB / 0.9993 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/1.003, allocations: 3.938 kB / 0.9993 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002173/1.005, allocations: 1.025 MB / 1 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/1.005, allocations: 137.3 kB / 1 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/1.007, allocations: 1.292 MB / 1.002 GB, free: 404 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.5e-05/1.007, allocations: 41.14 kB / 1.002 GB, free: 364 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/1.007, allocations: 444.6 kB / 1.002 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/1.008, allocations: 150.3 kB / 1.002 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/1.008, allocations: 124 kB / 1.002 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.008, allocations: 326.5 kB / 1.003 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/1.009, allocations: 290.2 kB / 1.003 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007828/1.009, allocations: 0.506 MB / 1.004 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.011, allocations: 0.6122 MB / 1.004 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.011, allocations: 10.06 kB / 1.004 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001497/1.012, allocations: 0.7815 MB / 1.005 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/1.012, allocations: 9.328 kB / 1.005 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.012, allocations: 0 / 1.005 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.012, allocations: 6.562 kB / 1.005 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/1.013, allocations: 113.5 kB / 1.005 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/1.013, allocations: 6.938 kB / 1.005 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/1.014, allocations: 99.62 kB / 1.005 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/1.014, allocations: 26.91 kB / 1.005 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007888/1.015, allocations: 491.2 kB / 1.006 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007239/1.015, allocations: 0.5116 MB / 1.006 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001099/1.017, allocations: 0.6176 MB / 1.007 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/1.017, allocations: 0 / 1.007 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001467/1.018, allocations: 0.7724 MB / 1.007 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/1.018, allocations: 5.062 kB / 1.007 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/1.018, allocations: 4 kB / 1.007 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/1.018, allocations: 4.469 kB / 1.007 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/1.019, allocations: 118.8 kB / 1.008 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/1.019, allocations: 0 / 1.008 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.02, allocations: 134.4 kB / 1.008 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.026e-05/1.02, allocations: 24.45 kB / 1.008 GB, free: 12.55 MB / 0.7481 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.0002048/1.02, allocations: 208.4 kB / 1.008 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/1.02, allocations: 108.7 kB / 1.008 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/1.022, allocations: 0.8071 MB / 1.009 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/1.022, allocations: 8.438 kB / 1.009 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.022, allocations: 1.688 kB / 1.009 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.022, allocations: 0 / 1.009 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/1.025, allocations: 1.96 MB / 1.011 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.025, allocations: 7.062 kB / 1.011 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/1.025, allocations: 105.5 kB / 1.011 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/1.026, allocations: 9.281 kB / 1.011 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/1.026, allocations: 16.98 kB / 1.011 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/1.026, allocations: 4.875 kB / 1.011 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.026, allocations: 6.688 kB / 1.011 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/1.028, allocations: 1.239 MB / 1.012 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/1.028, allocations: 283.5 kB / 1.012 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/1.028, allocations: 20.81 kB / 1.012 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009031/1.029, allocations: 63.47 kB / 1.012 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.029, allocations: 44.58 kB / 1.012 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/1.029, allocations: 20.17 kB / 1.013 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001401/1.031, allocations: 0.926 MB / 1.013 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/1.031, allocations: 0 / 1.013 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001317/1.032, allocations: 450.3 kB / 1.014 GB, free: 8.75 MB / 0.7481 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.002817/1.035, allocations: 1.951 MB / 1.016 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.037, allocations: 1.041 MB / 1.017 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.037, allocations: 0 / 1.017 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005992/1.038, allocations: 343.8 kB / 1.017 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/1.04, allocations: 444.8 kB / 1.018 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.053, allocations: 8.675 MB / 1.026 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/1.054, allocations: 1.049 MB / 1.027 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001236/1.055, allocations: 307.3 kB / 1.027 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/1.056, allocations: 407.3 kB / 1.028 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of SimCode: time 1.032e-06/1.056, allocations: 0 / 1.028 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05897/1.115, allocations: 31.58 MB / 1.059 GB, free: 14.57 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.523/10.64, allocations: 4.531 kB / 1.059 GB, free: 14.56 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)