Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.491/1.491, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 182.8 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.4 MB / 0.5775 GB, free: 20.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000937/0.0009372, allocations: 93.84 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003995, allocations: 8.719 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.292, allocations: 106.3 MB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.182/7.474, allocations: 2.203 GB / 3.103 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/7.475, allocations: 99.81 kB / 3.103 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.614/10.09, allocations: 0.7207 GB / 3.824 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.214e-06/10.09, allocations: 0 / 3.824 GB, free: 165.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002205/10.09, allocations: 40.28 kB / 3.824 GB, free: 165.6 MB / 0.8855 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.00652/10.1, allocations: 2.097 MB / 3.826 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/10.1, allocations: 9.469 kB / 3.826 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003783/10.1, allocations: 112.9 kB / 3.826 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/10.1, allocations: 301 kB / 3.826 GB, free: 164.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004443/10.1, allocations: 1.37 MB / 3.827 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/10.1, allocations: 60.17 kB / 3.827 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003111/10.1, allocations: 87.56 kB / 3.828 GB, free: 164.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/10.11, allocations: 0.9553 MB / 3.828 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/10.11, allocations: 0 / 3.828 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/10.11, allocations: 24.94 kB / 3.828 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/10.11, allocations: 18.06 kB / 3.829 GB, free: 164.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/10.11, allocations: 0.8729 MB / 3.829 GB, free: 164.2 MB / 0.8855 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.007791/10.12, allocations: 3.571 MB / 3.833 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/10.12, allocations: 0.7991 MB / 3.834 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000382/10.12, allocations: 298.2 kB / 3.834 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/10.12, allocations: 38.22 kB / 3.834 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001954/10.12, allocations: 331.4 kB / 3.834 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=52): time 7.153e-06/10.12, allocations: 0 / 3.834 GB, free: 162.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=52): time 0.003219/10.12, allocations: 1.343 MB / 3.836 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/10.12, allocations: 211.2 kB / 3.836 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/10.13, allocations: 1.477 MB / 3.837 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002077/10.13, allocations: 43.08 kB / 3.837 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/10.13, allocations: 0.5615 MB / 3.838 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/10.13, allocations: 179.5 kB / 3.838 GB, free: 162 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/10.13, allocations: 10.59 kB / 3.838 GB, free: 162 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.342e-05/10.13, allocations: 330.3 kB / 3.838 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006906/10.13, allocations: 390.6 kB / 3.839 GB, free: 161.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009013/10.13, allocations: 0.7027 MB / 3.839 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007556/10.13, allocations: 467.6 kB / 3.84 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/10.13, allocations: 3.688 kB / 3.84 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002175/10.13, allocations: 1.047 MB / 3.841 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/10.13, allocations: 98.97 kB / 3.841 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/10.13, allocations: 14.86 kB / 3.841 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/10.13, allocations: 3.719 kB / 3.841 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008749/10.13, allocations: 161.7 kB / 3.841 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/10.13, allocations: 3.219 kB / 3.841 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/10.14, allocations: 154.1 kB / 3.841 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/10.14, allocations: 42.92 kB / 3.841 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/10.14, allocations: 3.438 kB / 3.841 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001598/10.14, allocations: 0.8982 MB / 3.842 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/10.14, allocations: 3.812 kB / 3.842 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/10.14, allocations: 2.25 kB / 3.842 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/10.14, allocations: 161.6 kB / 3.842 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/10.14, allocations: 6.875 kB / 3.842 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/10.14, allocations: 153.3 kB / 3.842 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/10.14, allocations: 42.25 kB / 3.843 GB, free: 161.2 MB / 0.8855 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 (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.0008596/10.14, allocations: 381.4 kB / 3.843 GB, free: 161 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006697/10.14, allocations: 138.6 kB / 3.843 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/10.14, allocations: 1.069 MB / 3.844 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/10.14, allocations: 9.938 kB / 3.844 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/10.14, allocations: 0 / 3.844 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/10.14, allocations: 3.656 kB / 3.844 GB, free: 160.8 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.00511/10.15, allocations: 2.522 MB / 3.847 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/10.15, allocations: 6.125 kB / 3.847 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007549/10.15, allocations: 135.8 kB / 3.847 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.407e-05/10.15, allocations: 7.859 kB / 3.847 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/10.15, allocations: 20.55 kB / 3.847 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/10.15, allocations: 11.28 kB / 3.847 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/10.15, allocations: 0 / 3.847 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/10.15, allocations: 1.705 MB / 3.848 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/10.15, allocations: 370.5 kB / 3.849 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004891/10.15, allocations: 16.12 kB / 3.849 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/10.16, allocations: 105.1 kB / 3.849 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/10.16, allocations: 53.42 kB / 3.849 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/10.16, allocations: 33.28 kB / 3.849 GB, free: 159.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002104/10.16, allocations: 1.156 MB / 3.85 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/10.16, allocations: 0 / 3.85 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003213/10.16, allocations: 0.7346 MB / 3.851 GB, free: 159.6 MB / 0.8855 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 () * Number of clocked 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.005993/10.17, allocations: 4.636 MB / 3.855 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002528/10.17, allocations: 1.423 MB / 3.857 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/10.17, allocations: 7.125 kB / 3.857 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000686/10.17, allocations: 426.5 kB / 3.857 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/10.17, allocations: 0.5913 MB / 3.858 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/10.18, allocations: 3.18 MB / 3.861 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/10.18, allocations: 1.194 MB / 3.862 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001946/10.18, allocations: 374.2 kB / 3.862 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/10.18, allocations: 0.5239 MB / 3.863 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of SimCode: time 9.11e-07/10.18, allocations: 0 / 3.863 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09522/10.28, allocations: 65.64 MB / 3.927 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/10.28, allocations: 249.5 kB / 3.927 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.369/14.65, allocations: 0 / 3.927 GB, free: 142.3 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)