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.0008058/0.0008059, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004052/0.004052, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.231/1.231, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.664/1.664, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0004676/0.0004676, allocations: 17.28 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1761, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.4943/0.6705, allocations: 185.2 MB / 0.9689 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.6811, allocations: 7.816 MB / 0.9765 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.6822, allocations: 29.5 kB / 0.9765 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.6834, allocations: 457.9 kB / 0.977 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002949/0.6863, allocations: 1.454 MB / 0.9784 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005826/0.6922, allocations: 2.282 MB / 0.9806 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003001/0.6952, allocations: 2.802 MB / 0.9834 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.6962, allocations: 0.9144 MB / 0.9843 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.6973, allocations: 0.8274 MB / 0.9851 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008445/0.6982, allocations: 0.8067 MB / 0.9858 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.6983, allocations: 56.34 kB / 0.9859 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.7007, allocations: 1.492 MB / 0.9874 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.7011, allocations: 343.5 kB / 0.9877 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00079/0.702, allocations: 0.5835 MB / 0.9883 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.7052, allocations: 2.084 MB / 0.9903 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7052, allocations: 0 / 0.9903 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7052, allocations: 3.938 kB / 0.9903 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.7052, allocations: 2.938 kB / 0.9903 GB, free: 8.84 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.005584/0.7108, allocations: 1.523 MB / 0.9918 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.7109, allocations: 10.66 kB / 0.9918 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.7111, allocations: 90.52 kB / 0.9919 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.7123, allocations: 190.5 kB / 0.9921 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/0.7142, allocations: 1.052 MB / 0.9931 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.7143, allocations: 57.39 kB / 0.9931 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.7144, allocations: 56 kB / 0.9932 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.7156, allocations: 0.7071 MB / 0.9939 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.7156, allocations: 4 kB / 0.9939 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.7157, allocations: 21.25 kB / 0.9939 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.7157, allocations: 11.47 kB / 0.9939 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.717, allocations: 0.6356 MB / 0.9945 GB, free: 5.984 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.003676/0.7207, allocations: 2.695 MB / 0.9972 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.7218, allocations: 0.5627 MB / 0.9977 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/0.7224, allocations: 359.7 kB / 0.9981 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.7227, allocations: 290 kB / 0.9983 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.7228, allocations: 41.3 kB / 0.9984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006801/0.7235, allocations: 168.3 kB / 0.9985 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.7235, allocations: 0 / 0.9985 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43): time 0.002238/0.7257, allocations: 1.071 MB / 0.9996 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.7258, allocations: 135.8 kB / 0.9997 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.7275, allocations: 1.281 MB / 1.001 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.7276, allocations: 38.36 kB / 1.001 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.728, allocations: 451.7 kB / 1.001 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.7281, allocations: 151 kB / 1.002 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/0.7282, allocations: 44.48 kB / 1.002 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.7283, allocations: 331.7 kB / 1.002 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.7289, allocations: 290.7 kB / 1.002 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007655/0.7297, allocations: 0.5239 MB / 1.003 GB, free: 188 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.7309, allocations: 0.6473 MB / 1.003 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.7309, allocations: 112 / 1.003 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001482/0.7324, allocations: 0.8113 MB / 1.004 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.7325, allocations: 93.23 kB / 1.004 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.7325, allocations: 0 / 1.004 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.7325, allocations: 2.062 kB / 1.004 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/0.7331, allocations: 125.5 kB / 1.004 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.7332, allocations: 14.39 kB / 1.004 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.7344, allocations: 116.5 kB / 1.004 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/0.7344, allocations: 25.78 kB / 1.005 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-06/0.7344, allocations: 2.938 kB / 1.005 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001311/0.7358, allocations: 0.6713 MB / 1.005 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.7358, allocations: 2.875 kB / 1.005 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-06/0.7358, allocations: 1.906 kB / 1.005 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005901/0.7364, allocations: 123.2 kB / 1.005 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.7364, allocations: 6.75 kB / 1.005 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.7376, allocations: 126.2 kB / 1.005 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.7376, allocations: 25.75 kB / 1.005 GB, free: 14.84 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.0003851/0.738, allocations: 332.4 kB / 1.006 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.7382, allocations: 108 kB / 1.006 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.7399, allocations: 0.8327 MB / 1.007 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7399, allocations: 6.125 kB / 1.007 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7399, allocations: 4 kB / 1.007 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.74, allocations: 3.984 kB / 1.007 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.7429, allocations: 1.974 MB / 1.009 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7429, allocations: 2.094 kB / 1.009 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.7435, allocations: 121.7 kB / 1.009 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.7435, allocations: 13.36 kB / 1.009 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.7435, allocations: 17.77 kB / 1.009 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.7435, allocations: 5.094 kB / 1.009 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.7435, allocations: 2.906 kB / 1.009 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.7456, allocations: 1.282 MB / 1.01 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003764/0.746, allocations: 296.9 kB / 1.01 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.7462, allocations: 13.94 kB / 1.01 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009896/0.7471, allocations: 81.38 kB / 1.01 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.7473, allocations: 42.77 kB / 1.01 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/0.7473, allocations: 17.8 kB / 1.01 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00129/0.7486, allocations: 0.9301 MB / 1.011 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7486, allocations: 0 / 1.011 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001084/0.7497, allocations: 455.4 kB / 1.012 GB, free: 10.93 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.002674/0.7524, allocations: 1.965 MB / 1.014 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.7544, allocations: 1.074 MB / 1.015 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7544, allocations: 2.062 kB / 1.015 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.755, allocations: 351 kB / 1.015 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.7578, allocations: 485.7 kB / 1.016 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/0.7837, allocations: 9.505 MB / 1.025 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/0.7845, allocations: 1.052 MB / 1.026 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00196/0.7865, allocations: 309.6 kB / 1.026 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009137/0.7874, allocations: 399.3 kB / 1.027 GB, free: 1.172 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/0.7874, allocations: 4 kB / 1.027 GB, free: 1.168 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.746/2.534, allocations: 30.42 MB / 1.056 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/2.534, allocations: 245.3 kB / 1.057 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/4.906, allocations: 0 / 1.057 GB, free: 2.922 MB / 0.7794 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)