Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",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 2.021/2.021, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001281/0.001281, allocations: 182.7 kB / 371.8 MB, free: 10.28 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.855/1.855, allocations: 205.4 MB / 0.6305 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 93.08 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005645, allocations: 19.98 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2937, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.785/6.079, allocations: 2.113 GB / 3.093 GB, free: 151.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004592/6.079, allocations: 91.7 kB / 3.093 GB, free: 151.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.055/13.13, allocations: 1.651 GB / 4.744 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.325e-06/13.13, allocations: 0 / 4.744 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003786/13.13, allocations: 62.61 kB / 4.744 GB, free: 122.3 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.0127/13.15, allocations: 3.164 MB / 4.747 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/13.15, allocations: 10.28 kB / 4.747 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009436/13.15, allocations: 202.5 kB / 4.747 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006587/13.16, allocations: 0.8162 MB / 4.748 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/13.17, allocations: 2.667 MB / 4.751 GB, free: 120.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/13.17, allocations: 110.3 kB / 4.751 GB, free: 120.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007885/13.17, allocations: 150.9 kB / 4.751 GB, free: 120.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005609/13.17, allocations: 1.585 MB / 4.752 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/13.17, allocations: 5.219 kB / 4.752 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/13.17, allocations: 56.45 kB / 4.752 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.349e-05/13.17, allocations: 47.05 kB / 4.752 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/13.18, allocations: 1.27 MB / 4.754 GB, free: 120.6 MB / 0.9948 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.01341/13.19, allocations: 7.41 MB / 4.761 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/13.19, allocations: 1.023 MB / 4.762 GB, free: 116.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/13.19, allocations: 118.2 kB / 4.762 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/13.19, allocations: 44.25 kB / 4.762 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001462/13.19, allocations: 219.3 kB / 4.762 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=78): time 4.469e-06/13.19, allocations: 0 / 4.762 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78): time 0.005205/13.2, allocations: 1.601 MB / 4.764 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/13.2, allocations: 66.73 kB / 4.764 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/13.2, allocations: 1.51 MB / 4.765 GB, free: 116 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/13.2, allocations: 46.58 kB / 4.765 GB, free: 116 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/13.2, allocations: 0.9771 MB / 4.766 GB, free: 115.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/13.2, allocations: 270.5 kB / 4.767 GB, free: 115.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/13.2, allocations: 19.53 kB / 4.767 GB, free: 115.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001247/13.2, allocations: 342.3 kB / 4.767 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/13.2, allocations: 389.6 kB / 4.767 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/13.21, allocations: 0.8077 MB / 4.768 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/13.21, allocations: 498 kB / 4.769 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/13.21, allocations: 2.781 kB / 4.769 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004152/13.21, allocations: 1.422 MB / 4.77 GB, free: 114.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001085/13.21, allocations: 3.969 MB / 4.774 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/13.21, allocations: 9.062 kB / 4.774 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/13.21, allocations: 114.4 kB / 4.774 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/13.21, allocations: 256.1 kB / 4.774 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/13.22, allocations: 2.438 MB / 4.777 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/13.22, allocations: 144.4 kB / 4.777 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/13.22, allocations: 64.75 kB / 4.777 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/13.22, allocations: 3.094 kB / 4.777 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003117/13.22, allocations: 1.165 MB / 4.778 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/13.22, allocations: 9.562 kB / 4.778 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004299/13.22, allocations: 113.8 kB / 4.778 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/13.23, allocations: 227.2 kB / 4.778 GB, free: 108.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/13.23, allocations: 1.841 MB / 4.78 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/13.23, allocations: 137.6 kB / 4.78 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/13.23, allocations: 47.98 kB / 4.78 GB, free: 107.4 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001816/13.23, allocations: 0.5933 MB / 4.781 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006308/13.23, allocations: 192.4 kB / 4.781 GB, free: 107.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/13.24, allocations: 1.145 MB / 4.782 GB, free: 107 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/13.24, allocations: 7.062 kB / 4.782 GB, free: 107 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/13.24, allocations: 3.438 kB / 4.782 GB, free: 107 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002249/13.24, allocations: 0.9771 MB / 4.783 GB, free: 106.8 MB / 0.9948 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.006753/13.24, allocations: 2.948 MB / 4.786 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/13.24, allocations: 3.938 kB / 4.786 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009236/13.25, allocations: 197.3 kB / 4.786 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/13.25, allocations: 95.59 kB / 4.786 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/13.25, allocations: 22.84 kB / 4.786 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/13.25, allocations: 2.302 MB / 4.789 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/13.25, allocations: 6.594 kB / 4.789 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/13.25, allocations: 1.781 MB / 4.79 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/13.25, allocations: 346 kB / 4.791 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/13.25, allocations: 14.09 kB / 4.791 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/13.25, allocations: 123.5 kB / 4.791 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/13.25, allocations: 58.78 kB / 4.791 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/13.25, allocations: 29.64 kB / 4.791 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00181/13.26, allocations: 1.181 MB / 4.792 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.4e-07/13.26, allocations: 0 / 4.792 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005124/13.26, allocations: 1.385 MB / 4.793 GB, free: 103.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01077/13.27, allocations: 6.73 MB / 4.8 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004265/13.28, allocations: 1.794 MB / 4.802 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/13.28, allocations: 2.938 kB / 4.802 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/13.28, allocations: 0.5567 MB / 4.802 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/13.28, allocations: 1.005 MB / 4.803 GB, free: 100.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/13.29, allocations: 11.79 MB / 4.815 GB, free: 91.21 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/13.29, allocations: 1.607 MB / 4.816 GB, free: 90.48 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002575/13.3, allocations: 483.7 kB / 4.817 GB, free: 90.46 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/13.3, allocations: 0.8327 MB / 4.818 GB, free: 90.46 MB / 0.9948 GB Notification: Performance of SimCode: time 1.233e-06/13.3, allocations: 0 / 4.818 GB, free: 90.46 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1952/13.49, allocations: 104.3 MB / 4.919 GB, free: 86.38 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/13.49, allocations: 270.6 kB / 4.92 GB, free: 86.02 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.712/19.21, allocations: 0 / 4.92 GB, free: 86.02 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)