Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 285.6 MB / 293.1 MB, free: 10.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 184.8 kB / 361.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000865/0.0008653, allocations: 84.3 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.234e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7559/0.756, allocations: 115.3 MB / 0.9645 GB, free: 78.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.389/6.145, allocations: 2.084 GB / 3.048 GB, free: 75.85 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/6.145, allocations: 88.7 kB / 3.048 GB, free: 75.76 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.061/9.206, allocations: 0.7352 GB / 3.784 GB, free: 75.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.483e-06/9.206, allocations: 0 / 3.784 GB, free: 75.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002768/9.206, allocations: 43.92 kB / 3.784 GB, free: 75.89 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.005241/9.211, allocations: 1.588 MB / 3.785 GB, free: 74.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/9.211, allocations: 8.031 kB / 3.785 GB, free: 74.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/9.215, allocations: 305.9 kB / 3.786 GB, free: 73.94 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004093/9.219, allocations: 1.337 MB / 3.787 GB, free: 72.55 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.084e-05/9.219, allocations: 20 kB / 3.787 GB, free: 72.54 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/9.219, allocations: 52 kB / 3.787 GB, free: 72.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001539/9.221, allocations: 0.7406 MB / 3.788 GB, free: 71.74 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/9.223, allocations: 0.8065 MB / 3.788 GB, free: 70.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/9.223, allocations: 0 / 3.788 GB, free: 70.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/9.223, allocations: 11.92 kB / 3.788 GB, free: 70.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/9.223, allocations: 15.95 kB / 3.788 GB, free: 70.87 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007159/9.23, allocations: 3.398 MB / 3.792 GB, free: 67.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/9.231, allocations: 0.7241 MB / 3.792 GB, free: 66.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/9.231, allocations: 395.3 kB / 3.793 GB, free: 66.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004188/9.232, allocations: 291.7 kB / 3.793 GB, free: 65.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/9.232, allocations: 39 kB / 3.793 GB, free: 65.79 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001747/9.234, allocations: 315.4 kB / 3.793 GB, free: 65.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=52): time 6.412e-06/9.234, allocations: 0 / 3.793 GB, free: 65.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=52): time 0.002256/9.236, allocations: 0.8694 MB / 3.794 GB, free: 64.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/9.236, allocations: 214.1 kB / 3.795 GB, free: 64.35 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002436/9.238, allocations: 1.256 MB / 3.796 GB, free: 63.09 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/9.239, allocations: 29.7 kB / 3.796 GB, free: 63.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004833/9.239, allocations: 0.5701 MB / 3.796 GB, free: 62.47 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/9.239, allocations: 165.4 kB / 3.796 GB, free: 62.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/9.239, allocations: 4 kB / 3.796 GB, free: 62.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/9.239, allocations: 326 kB / 3.797 GB, free: 61.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/9.24, allocations: 329 kB / 3.797 GB, free: 61.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/9.241, allocations: 0.6386 MB / 3.798 GB, free: 60.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/9.241, allocations: 412.6 kB / 3.798 GB, free: 60.49 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/9.241, allocations: 4 kB / 3.798 GB, free: 60.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001704/9.243, allocations: 0.9346 MB / 3.799 GB, free: 59.55 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/9.243, allocations: 96.83 kB / 3.799 GB, free: 59.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/9.243, allocations: 7.984 kB / 3.799 GB, free: 59.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/9.243, allocations: 0 / 3.799 GB, free: 59.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/9.244, allocations: 163.8 kB / 3.799 GB, free: 59.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/9.244, allocations: 4 kB / 3.799 GB, free: 59.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/9.246, allocations: 139.5 kB / 3.799 GB, free: 59.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/9.246, allocations: 43.94 kB / 3.799 GB, free: 59.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/9.246, allocations: 4 kB / 3.799 GB, free: 59.09 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001171/9.247, allocations: 0.7549 MB / 3.8 GB, free: 58.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/9.247, allocations: 4 kB / 3.8 GB, free: 58.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/9.247, allocations: 3.953 kB / 3.8 GB, free: 58.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007847/9.248, allocations: 163.8 kB / 3.8 GB, free: 58.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/9.248, allocations: 7.984 kB / 3.8 GB, free: 58.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/9.25, allocations: 135.7 kB / 3.801 GB, free: 58.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/9.25, allocations: 43.95 kB / 3.801 GB, free: 57.98 MB / 0.948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002661/9.25, allocations: 124.6 kB / 3.801 GB, free: 57.86 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001578/9.252, allocations: 0.8108 MB / 3.801 GB, free: 57.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/9.252, allocations: 130.4 kB / 3.802 GB, free: 56.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/9.254, allocations: 0.9133 MB / 3.802 GB, free: 55.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/9.254, allocations: 7.938 kB / 3.803 GB, free: 55.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/9.254, allocations: 0 / 3.803 GB, free: 55.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/9.254, allocations: 7.984 kB / 3.803 GB, free: 55.96 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.003904/9.258, allocations: 2.273 MB / 3.805 GB, free: 53.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/9.258, allocations: 0 / 3.805 GB, free: 53.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/9.259, allocations: 144.1 kB / 3.805 GB, free: 53.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/9.259, allocations: 4 kB / 3.805 GB, free: 53.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/9.259, allocations: 15.98 kB / 3.805 GB, free: 53.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/9.259, allocations: 7.953 kB / 3.805 GB, free: 53.44 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/9.259, allocations: 7.984 kB / 3.805 GB, free: 53.43 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/9.261, allocations: 1.488 MB / 3.806 GB, free: 51.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/9.262, allocations: 351.4 kB / 3.807 GB, free: 51.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003946/9.262, allocations: 15.98 kB / 3.807 GB, free: 51.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/9.264, allocations: 83.83 kB / 3.807 GB, free: 51.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/9.264, allocations: 60.25 kB / 3.807 GB, free: 51.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/9.264, allocations: 31.98 kB / 3.807 GB, free: 51.31 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00156/9.265, allocations: 0.962 MB / 3.808 GB, free: 50.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.91e-07/9.265, allocations: 0 / 3.808 GB, free: 50.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002805/9.268, allocations: 0.6823 MB / 3.808 GB, free: 49.66 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005003/9.273, allocations: 4.615 MB / 3.813 GB, free: 44.88 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001971/9.275, allocations: 1.294 MB / 3.814 GB, free: 43.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/9.275, allocations: 8 kB / 3.814 GB, free: 43.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004721/9.276, allocations: 357.4 kB / 3.815 GB, free: 43.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/9.279, allocations: 0.4938 MB / 3.815 GB, free: 42.72 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/9.284, allocations: 1.903 MB / 3.817 GB, free: 40.74 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008161/9.285, allocations: 1.198 MB / 3.818 GB, free: 39.52 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003161/9.288, allocations: 0.4892 MB / 3.819 GB, free: 39.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007679/9.289, allocations: 499.2 kB / 3.819 GB, free: 38.54 MB / 0.948 GB Notification: Performance of SimCode: time 1.222e-06/9.289, allocations: 0 / 3.819 GB, free: 38.54 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7166/10.01, allocations: 49.5 MB / 3.867 GB, free: 181.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/10.01, allocations: 193.7 kB / 3.868 GB, free: 181.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.241/14.25, allocations: 4.906 kB / 3.868 GB, free: 181.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)