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: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009222/0.0009221, allocations: 184.3 kB / 327.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.4 MB / 0.5785 GB, free: 20.17 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.0007995/0.0007995, allocations: 86.36 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 12.53 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.198, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.529/4.728, allocations: 2.232 GB / 3.133 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/4.728, allocations: 97.83 kB / 3.133 GB, free: 316.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.584/9.312, allocations: 1.597 GB / 4.73 GB, free: 96.76 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.334e-06/9.312, allocations: 0 / 4.73 GB, free: 96.76 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003315/9.312, allocations: 59.52 kB / 4.73 GB, free: 96.7 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.008041/9.32, allocations: 3.137 MB / 4.733 GB, free: 93.52 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/9.32, allocations: 12.03 kB / 4.733 GB, free: 93.51 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00498/9.325, allocations: 0.7964 MB / 4.734 GB, free: 92.71 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0056/9.331, allocations: 2.705 MB / 4.736 GB, free: 89.98 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.215e-05/9.331, allocations: 116 kB / 4.736 GB, free: 89.87 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000182/9.331, allocations: 148 kB / 4.736 GB, free: 89.73 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/9.334, allocations: 1.613 MB / 4.738 GB, free: 88.05 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/9.334, allocations: 7.875 kB / 4.738 GB, free: 88.04 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/9.334, allocations: 56 kB / 4.738 GB, free: 87.99 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.1e-05/9.334, allocations: 58.28 kB / 4.738 GB, free: 87.93 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/9.336, allocations: 1.267 MB / 4.739 GB, free: 86.66 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.007827/9.344, allocations: 7.462 MB / 4.747 GB, free: 78.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/9.345, allocations: 1.017 MB / 4.748 GB, free: 77.64 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007596/9.346, allocations: 470.6 kB / 4.748 GB, free: 77.18 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/9.346, allocations: 115.5 kB / 4.748 GB, free: 77.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/9.346, allocations: 47.22 kB / 4.748 GB, free: 77 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009187/9.347, allocations: 230.9 kB / 4.748 GB, free: 76.77 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=79): time 3.146e-06/9.347, allocations: 0 / 4.748 GB, free: 76.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=79): time 0.003788/9.351, allocations: 1.594 MB / 4.75 GB, free: 75.15 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/9.351, allocations: 60.06 kB / 4.75 GB, free: 75.08 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/9.353, allocations: 1.746 MB / 4.752 GB, free: 73.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/9.353, allocations: 49.7 kB / 4.752 GB, free: 73.24 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/9.353, allocations: 0.9697 MB / 4.753 GB, free: 72.27 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/9.353, allocations: 278.8 kB / 4.753 GB, free: 72 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/9.354, allocations: 16 kB / 4.753 GB, free: 71.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/9.354, allocations: 349.9 kB / 4.753 GB, free: 71.64 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/9.354, allocations: 382.4 kB / 4.754 GB, free: 71.26 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008511/9.355, allocations: 0.8278 MB / 4.755 GB, free: 70.24 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/9.357, allocations: 1.132 MB / 4.756 GB, free: 68.97 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/9.357, allocations: 0 / 4.756 GB, free: 68.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002511/9.359, allocations: 1.417 MB / 4.757 GB, free: 67.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/9.359, allocations: 395.3 kB / 4.757 GB, free: 67.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/9.359, allocations: 12 kB / 4.757 GB, free: 67.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003774/9.36, allocations: 112.8 kB / 4.758 GB, free: 66.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009666/9.361, allocations: 263.6 kB / 4.758 GB, free: 66.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/9.363, allocations: 2.388 MB / 4.76 GB, free: 64.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/9.364, allocations: 147.6 kB / 4.76 GB, free: 63.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.355e-05/9.364, allocations: 63.91 kB / 4.76 GB, free: 63.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.012e-06/9.364, allocations: 4 kB / 4.76 GB, free: 63.89 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002033/9.366, allocations: 1.172 MB / 4.761 GB, free: 62.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/9.367, allocations: 12 kB / 4.761 GB, free: 62.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/9.367, allocations: 112.3 kB / 4.762 GB, free: 62.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/9.368, allocations: 239.9 kB / 4.762 GB, free: 62.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/9.369, allocations: 1.811 MB / 4.764 GB, free: 60.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/9.371, allocations: 143.9 kB / 4.764 GB, free: 60.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/9.371, allocations: 52 kB / 4.764 GB, free: 60.23 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (123): * Single equations (assignments): 119 * 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.001001/9.372, allocations: 0.5872 MB / 4.764 GB, free: 59.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/9.372, allocations: 193.6 kB / 4.765 GB, free: 59.45 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/9.374, allocations: 1.158 MB / 4.766 GB, free: 58.28 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/9.374, allocations: 11.98 kB / 4.766 GB, free: 58.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/9.374, allocations: 0 / 4.766 GB, free: 58.27 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001865/9.376, allocations: 0.977 MB / 4.767 GB, free: 57.25 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 postOpt removeSimpleEquations (simulation): time 0.004651/9.381, allocations: 2.977 MB / 4.77 GB, free: 54.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/9.381, allocations: 4.188 kB / 4.77 GB, free: 54.16 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007941/9.382, allocations: 195.6 kB / 4.77 GB, free: 53.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/9.382, allocations: 88.8 kB / 4.77 GB, free: 53.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.335e-05/9.382, allocations: 23.98 kB / 4.77 GB, free: 53.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/9.384, allocations: 2.273 MB / 4.772 GB, free: 51.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/9.384, allocations: 7.969 kB / 4.772 GB, free: 51.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/9.387, allocations: 1.686 MB / 4.774 GB, free: 49.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000639/9.388, allocations: 350.6 kB / 4.774 GB, free: 49.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/9.388, allocations: 12 kB / 4.774 GB, free: 49.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009938/9.389, allocations: 139.6 kB / 4.774 GB, free: 49.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/9.389, allocations: 52.58 kB / 4.774 GB, free: 49.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/9.389, allocations: 39.91 kB / 4.774 GB, free: 49.09 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001382/9.39, allocations: 1.18 MB / 4.775 GB, free: 47.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/9.39, allocations: 0 / 4.775 GB, free: 47.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003514/9.394, allocations: 1.361 MB / 4.777 GB, free: 46.53 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 75 * 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.004424/9.398, allocations: 4.216 MB / 4.781 GB, free: 42.06 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003325/9.402, allocations: 1.807 MB / 4.783 GB, free: 40.23 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/9.402, allocations: 4 kB / 4.783 GB, free: 40.23 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008615/9.402, allocations: 0.5572 MB / 4.783 GB, free: 39.66 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004261/9.407, allocations: 1.007 MB / 4.784 GB, free: 38.69 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004946/9.412, allocations: 4.193 MB / 4.788 GB, free: 34.45 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008336/9.413, allocations: 1.569 MB / 4.79 GB, free: 32.85 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001999/9.415, allocations: 488.7 kB / 4.79 GB, free: 32.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/9.415, allocations: 151.4 kB / 4.79 GB, free: 32.25 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/9.415, allocations: 0 / 4.79 GB, free: 32.25 MB / 0.9167 GB Notification: Performance of Templates: time 0.5198/9.935, allocations: 76.74 MB / 4.865 GB, free: 124.6 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)