Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, 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.001333/0.001333, allocations: 177.7 kB / 326.5 MB, free: 2.27 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.02/2.02, allocations: 205.4 MB / 0.5775 GB, free: 20.32 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.001279/0.001279, allocations: 98.44 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003755, allocations: 10.06 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2782, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.501/6.779, allocations: 2.232 GB / 3.132 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/6.78, allocations: 100 kB / 3.132 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.357/13.14, allocations: 1.6 GB / 4.732 GB, free: 27.87 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.795e-06/13.14, allocations: 0 / 4.732 GB, free: 27.87 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005079/13.14, allocations: 68.08 kB / 4.732 GB, free: 27.8 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.0124/13.15, allocations: 3.176 MB / 4.735 GB, free: 24.56 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/13.15, allocations: 8.031 kB / 4.735 GB, free: 24.55 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001065/13.15, allocations: 202.6 kB / 4.735 GB, free: 24.35 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006377/13.16, allocations: 0.7969 MB / 4.736 GB, free: 23.55 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/13.17, allocations: 2.67 MB / 4.739 GB, free: 20.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/13.17, allocations: 110.7 kB / 4.739 GB, free: 20.69 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007453/13.17, allocations: 148 kB / 4.739 GB, free: 20.55 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005225/13.17, allocations: 1.599 MB / 4.74 GB, free: 18.88 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.244e-05/13.17, allocations: 7.891 kB / 4.74 GB, free: 18.88 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003816/13.17, allocations: 56 kB / 4.74 GB, free: 18.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/13.17, allocations: 50.62 kB / 4.74 GB, free: 18.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/13.18, allocations: 1.267 MB / 4.742 GB, free: 17.5 MB / 0.9167 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.01375/13.19, allocations: 7.437 MB / 4.749 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/13.19, allocations: 1.002 MB / 4.75 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/13.19, allocations: 114 kB / 4.75 GB, free: 8.297 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/13.19, allocations: 47.16 kB / 4.75 GB, free: 8.242 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001571/13.2, allocations: 230.9 kB / 4.75 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=78): time 8.607e-06/13.2, allocations: 0 / 4.75 GB, free: 8.016 MB / 0.9167 GB Notification: Performance of matching and sorting (n=78): time 0.005263/13.2, allocations: 1.583 MB / 4.752 GB, free: 6.402 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/13.2, allocations: 60.06 kB / 4.752 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003543/13.2, allocations: 1.517 MB / 4.753 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002055/13.2, allocations: 45.7 kB / 4.753 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/13.21, allocations: 0.9727 MB / 4.754 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/13.21, allocations: 272 kB / 4.755 GB, free: 3.48 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/13.21, allocations: 23.98 kB / 4.755 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001157/13.21, allocations: 349.9 kB / 4.755 GB, free: 3.109 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009115/13.21, allocations: 386.1 kB / 4.755 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/13.21, allocations: 0.8024 MB / 4.756 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/13.21, allocations: 0.4938 MB / 4.757 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/13.21, allocations: 0 / 4.757 GB, free: 1.246 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003656/13.21, allocations: 1.421 MB / 4.758 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.002182/13.22, allocations: 3.962 MB / 4.762 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/13.22, allocations: 12 kB / 4.762 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/13.22, allocations: 112.8 kB / 4.762 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/13.22, allocations: 259.5 kB / 4.762 GB, free: 11.21 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/13.22, allocations: 2.384 MB / 4.765 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/13.22, allocations: 139.7 kB / 4.765 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002176/13.22, allocations: 59.97 kB / 4.765 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/13.22, allocations: 4 kB / 4.765 GB, free: 8.48 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003162/13.23, allocations: 1.164 MB / 4.766 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.904e-05/13.23, allocations: 11.98 kB / 4.766 GB, free: 7.301 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/13.23, allocations: 108.7 kB / 4.766 GB, free: 7.191 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/13.23, allocations: 239.9 kB / 4.766 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/13.23, allocations: 1.834 MB / 4.768 GB, free: 4.992 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/13.23, allocations: 139.7 kB / 4.768 GB, free: 4.855 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/13.23, allocations: 48 kB / 4.768 GB, free: 4.809 MB / 0.9323 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.001803/13.24, allocations: 0.6019 MB / 4.769 GB, free: 4.195 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006914/13.24, allocations: 193.6 kB / 4.769 GB, free: 4.004 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/13.24, allocations: 1.151 MB / 4.77 GB, free: 2.844 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/13.24, allocations: 8 kB / 4.77 GB, free: 2.836 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/13.24, allocations: 0 / 4.77 GB, free: 2.836 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002586/13.24, allocations: 0.9732 MB / 4.771 GB, free: 1.828 MB / 0.9323 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.7473/13.99, allocations: 2.948 MB / 4.774 GB, free: 112 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/13.99, allocations: 0 / 4.774 GB, free: 112 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/13.99, allocations: 186.1 kB / 4.774 GB, free: 112 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003786/13.99, allocations: 90.59 kB / 4.774 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-05/13.99, allocations: 24.44 kB / 4.774 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/13.99, allocations: 2.287 MB / 4.776 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/13.99, allocations: 2.406 kB / 4.776 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/14, allocations: 1.78 MB / 4.778 GB, free: 109.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/14, allocations: 346 kB / 4.779 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/14, allocations: 20.12 kB / 4.779 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/14, allocations: 133.9 kB / 4.779 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/14, allocations: 52.55 kB / 4.779 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.377e-05/14, allocations: 33.92 kB / 4.779 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002235/14, allocations: 1.188 MB / 4.78 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/14, allocations: 0 / 4.78 GB, free: 109.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005298/14.01, allocations: 1.354 MB / 4.781 GB, free: 109.5 MB / 0.9323 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.01407/14.02, allocations: 6.705 MB / 4.788 GB, free: 106.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005327/14.03, allocations: 1.792 MB / 4.79 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/14.03, allocations: 1 kB / 4.79 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/14.03, allocations: 0.5667 MB / 4.79 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005762/14.03, allocations: 0.9913 MB / 4.791 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/14.05, allocations: 11.79 MB / 4.803 GB, free: 97.38 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/14.05, allocations: 1.623 MB / 4.804 GB, free: 96.65 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002933/14.05, allocations: 480.5 kB / 4.805 GB, free: 96.63 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/14.06, allocations: 0.8357 MB / 4.805 GB, free: 96.63 MB / 0.9323 GB Notification: Performance of SimCode: time 1.102e-06/14.06, allocations: 0.5469 kB / 4.805 GB, free: 96.63 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.193/14.25, allocations: 104.3 MB / 4.907 GB, free: 93.36 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/14.25, allocations: 268.9 kB / 4.908 GB, free: 92.99 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.884/20.13, allocations: 2.812 kB / 4.908 GB, free: 92.99 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)