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.001407/0.001406, 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.001634/0.001634, allocations: 188.4 kB / 16.62 MB, free: 6.613 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.426/1.426, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.674/1.674, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001416/0.001416, allocations: 74.45 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2442, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.7275/0.9718, allocations: 190 MB / 0.9691 GB, free: 84 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01425/0.9861, allocations: 7.476 MB / 0.9764 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002168/0.9884, allocations: 42.84 kB / 0.9765 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.9903, allocations: 0.5449 MB / 0.977 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00491/0.9952, allocations: 1.555 MB / 0.9785 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008795/1.004, allocations: 2.75 MB / 0.9812 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004665/1.009, allocations: 2.295 MB / 0.9835 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00162/1.01, allocations: 1.081 MB / 0.9845 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002037/1.012, allocations: 0.9627 MB / 0.9855 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/1.014, allocations: 0.8675 MB / 0.9863 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002113/1.014, allocations: 139.3 kB / 0.9864 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003076/1.017, allocations: 1.379 MB / 0.9878 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000452/1.018, allocations: 416.2 kB / 0.9882 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007519/1.018, allocations: 0.6542 MB / 0.9888 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003318/1.022, allocations: 2.108 MB / 0.9909 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.022, allocations: 7.984 kB / 0.9909 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.465e-06/1.022, allocations: 0 / 0.9909 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.231e-05/1.022, allocations: 0 / 0.9909 GB, free: 7.754 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.004613/1.026, allocations: 1.761 MB / 0.9926 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.026, allocations: 9.688 kB / 0.9926 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/1.026, allocations: 89.44 kB / 0.9927 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/1.027, allocations: 188.5 kB / 0.9929 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/1.029, allocations: 1.087 MB / 0.9939 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/1.029, allocations: 53.97 kB / 0.994 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/1.029, allocations: 58.81 kB / 0.994 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/1.031, allocations: 0.6909 MB / 0.9947 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.031, allocations: 0 / 0.9947 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/1.031, allocations: 24.98 kB / 0.9947 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/1.031, allocations: 12.84 kB / 0.9948 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/1.032, allocations: 0.6117 MB / 0.9954 GB, free: 4.719 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.004118/1.036, allocations: 2.673 MB / 0.998 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.037, allocations: 0.5539 MB / 0.9985 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006204/1.038, allocations: 354.5 kB / 0.9988 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003918/1.038, allocations: 285 kB / 0.9991 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/1.038, allocations: 49.25 kB / 0.9992 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00059/1.039, allocations: 138.1 kB / 0.9993 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.943e-06/1.039, allocations: 2.281 kB / 0.9993 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002242/1.041, allocations: 1.025 MB / 1 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/1.041, allocations: 134.2 kB / 1 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/1.043, allocations: 1.292 MB / 1.002 GB, free: 400 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/1.043, allocations: 38.17 kB / 1.002 GB, free: 360 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/1.044, allocations: 451.2 kB / 1.002 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/1.044, allocations: 150.6 kB / 1.002 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/1.044, allocations: 119.7 kB / 1.002 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.044, allocations: 322.7 kB / 1.003 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006026/1.045, allocations: 297.4 kB / 1.003 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008029/1.046, allocations: 0.5028 MB / 1.003 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.047, allocations: 0.6179 MB / 1.004 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/1.047, allocations: 3.938 kB / 1.004 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001582/1.049, allocations: 0.7805 MB / 1.005 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.049, allocations: 5.281 kB / 1.005 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/1.049, allocations: 6.703 kB / 1.005 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.049, allocations: 2.094 kB / 1.005 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/1.049, allocations: 113.6 kB / 1.005 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.049, allocations: 2.922 kB / 1.005 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/1.05, allocations: 103.5 kB / 1.005 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/1.05, allocations: 27.09 kB / 1.005 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008604/1.051, allocations: 495.5 kB / 1.006 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008073/1.052, allocations: 0.5119 MB / 1.006 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001144/1.053, allocations: 0.6168 MB / 1.007 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/1.053, allocations: 3.938 kB / 1.007 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001539/1.055, allocations: 0.7749 MB / 1.007 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/1.055, allocations: 4.906 kB / 1.007 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.055, allocations: 2.406 kB / 1.007 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/1.055, allocations: 2.844 kB / 1.007 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/1.056, allocations: 114.5 kB / 1.008 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.056, allocations: 3.094 kB / 1.008 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/1.057, allocations: 130.6 kB / 1.008 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/1.057, allocations: 24.03 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.0002315/1.057, allocations: 212.3 kB / 1.008 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/1.057, allocations: 102.7 kB / 1.008 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/1.059, allocations: 0.8082 MB / 1.009 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/1.059, allocations: 8.516 kB / 1.009 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.059, allocations: 0 / 1.009 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.059, allocations: 0 / 1.009 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/1.062, allocations: 1.957 MB / 1.011 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/1.062, allocations: 0 / 1.011 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005495/1.063, allocations: 113.3 kB / 1.011 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/1.063, allocations: 9.344 kB / 1.011 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/1.063, allocations: 23.38 kB / 1.011 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/1.063, allocations: 6.266 kB / 1.011 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.063, allocations: 2.469 kB / 1.011 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/1.065, allocations: 1.234 MB / 1.012 GB, free: 9.668 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/1.065, allocations: 287.6 kB / 1.012 GB, free: 9.414 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/1.066, allocations: 14.72 kB / 1.012 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009152/1.066, allocations: 68.47 kB / 1.012 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.067, allocations: 41.92 kB / 1.012 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/1.067, allocations: 20.55 kB / 1.012 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001378/1.068, allocations: 0.9283 MB / 1.013 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/1.068, allocations: 0 / 1.013 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001161/1.069, allocations: 450 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.00285/1.072, allocations: 1.951 MB / 1.016 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00211/1.074, allocations: 1.047 MB / 1.017 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.074, allocations: 2.531 kB / 1.017 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006158/1.075, allocations: 335.6 kB / 1.017 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/1.077, allocations: 458.8 kB / 1.018 GB, free: 6.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01338/1.09, allocations: 8.684 MB / 1.026 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/1.091, allocations: 1.053 MB / 1.027 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001223/1.092, allocations: 303.3 kB / 1.027 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006527/1.093, allocations: 399.3 kB / 1.028 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of SimCode: time 8.01e-07/1.093, allocations: 0 / 1.028 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06225/1.155, allocations: 31.58 MB / 1.059 GB, free: 14.55 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.378/10.53, allocations: 8.578 kB / 1.059 GB, free: 14.54 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.csv --start-time 0 --stop-time 240 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)