Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 108.2 kB / 16.36 MB, free: 5.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 196.9 kB / 17.3 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.808/1.808, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 68.42 kB / 0.6729 GB, free: 5.898 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2453, allocations: 114.6 MB / 0.7848 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7004/0.9457, allocations: 323.8 MB / 1.101 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03048/0.9763, allocations: 22.91 MB / 1.123 GB, free: 14.84 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/0.9794, allocations: 99.44 kB / 1.123 GB, free: 14.75 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00383/0.9833, allocations: 1.503 MB / 1.125 GB, free: 13.23 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009888/0.9932, allocations: 4.206 MB / 1.129 GB, free: 9.016 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005905/0.9991, allocations: 2.336 MB / 1.131 GB, free: 6.695 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009589/1.009, allocations: 5.914 MB / 1.137 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4765/1.485, allocations: 2.14 MB / 1.139 GB, free: 79.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007191/1.493, allocations: 3.198 MB / 1.142 GB, free: 79.41 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003576/1.496, allocations: 1.708 MB / 1.144 GB, free: 79.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005638/1.497, allocations: 220 kB / 1.144 GB, free: 79.41 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007895/1.505, allocations: 3.682 MB / 1.148 GB, free: 79.41 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00148/1.506, allocations: 0.871 MB / 1.149 GB, free: 79.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002503/1.509, allocations: 1.326 MB / 1.15 GB, free: 79.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.009554/1.518, allocations: 4.735 MB / 1.155 GB, free: 79.3 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.518, allocations: 0.6094 kB / 1.155 GB, free: 79.3 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.385e-06/1.518, allocations: 1 kB / 1.155 GB, free: 79.3 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.898e-05/1.518, allocations: 1 kB / 1.155 GB, free: 79.3 MB / 0.92 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.006613/1.525, allocations: 2.955 MB / 1.157 GB, free: 77.86 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.525, allocations: 9.062 kB / 1.157 GB, free: 77.86 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/1.531, allocations: 0.8395 MB / 1.158 GB, free: 77.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/1.535, allocations: 1.829 MB / 1.16 GB, free: 77.18 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000403/1.536, allocations: 169.2 kB / 1.16 GB, free: 77.18 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/1.536, allocations: 147.9 kB / 1.16 GB, free: 77.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/1.539, allocations: 1.658 MB / 1.162 GB, free: 76.98 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/1.539, allocations: 0.9062 kB / 1.162 GB, free: 76.98 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/1.539, allocations: 57.97 kB / 1.162 GB, free: 76.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.028e-05/1.539, allocations: 48.83 kB / 1.162 GB, free: 76.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00315/1.543, allocations: 1.366 MB / 1.163 GB, free: 76.96 MB / 0.92 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.01149/1.554, allocations: 7.853 MB / 1.171 GB, free: 72.89 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/1.556, allocations: 1.002 MB / 1.172 GB, free: 72.67 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/1.557, allocations: 498.6 kB / 1.173 GB, free: 72.66 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000201/1.558, allocations: 115.3 kB / 1.173 GB, free: 72.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/1.558, allocations: 37.97 kB / 1.173 GB, free: 72.53 MB / 0.92 GB Notification: Performance of pre-optimization done (n=72): time 2.795e-06/1.558, allocations: 1.5 kB / 1.173 GB, free: 72.53 MB / 0.92 GB Notification: Performance of matching and sorting (n=72): time 0.003995/1.562, allocations: 1.343 MB / 1.174 GB, free: 72.39 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/1.562, allocations: 63.38 kB / 1.174 GB, free: 72.33 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/1.564, allocations: 1.792 MB / 1.176 GB, free: 72.1 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/1.565, allocations: 46.11 kB / 1.176 GB, free: 72.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00069/1.565, allocations: 0.9845 MB / 1.177 GB, free: 71.76 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/1.566, allocations: 256.9 kB / 1.177 GB, free: 71.6 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/1.566, allocations: 211.5 kB / 1.177 GB, free: 71.58 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.183e-05/1.566, allocations: 346.3 kB / 1.178 GB, free: 71.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/1.567, allocations: 456.2 kB / 1.178 GB, free: 71.26 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/1.568, allocations: 0.8405 MB / 1.179 GB, free: 70.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002326/1.571, allocations: 1.204 MB / 1.18 GB, free: 70.47 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/1.571, allocations: 2.281 kB / 1.18 GB, free: 70.47 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003494/1.574, allocations: 1.411 MB / 1.181 GB, free: 70.34 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.574, allocations: 11.22 kB / 1.181 GB, free: 70.34 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/1.574, allocations: 10.5 kB / 1.181 GB, free: 70.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/1.574, allocations: 21.2 kB / 1.181 GB, free: 70.33 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.576, allocations: 276.8 kB / 1.182 GB, free: 70.33 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002609/1.576, allocations: 0.6048 MB / 1.182 GB, free: 69.75 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/1.578, allocations: 149.1 kB / 1.182 GB, free: 69.69 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/1.578, allocations: 52.78 kB / 1.182 GB, free: 69.69 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001553/1.579, allocations: 0.8178 MB / 1.183 GB, free: 69.61 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009617/1.58, allocations: 0.7879 MB / 1.184 GB, free: 69.15 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00176/1.582, allocations: 1.116 MB / 1.185 GB, free: 68.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.42e-06/1.582, allocations: 3.031 kB / 1.185 GB, free: 68.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002526/1.585, allocations: 1.299 MB / 1.186 GB, free: 68.66 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.585, allocations: 8.406 kB / 1.186 GB, free: 68.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.585, allocations: 13.91 kB / 1.186 GB, free: 68.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.585, allocations: 16.84 kB / 1.186 GB, free: 68.66 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009262/1.586, allocations: 246.1 kB / 1.187 GB, free: 68.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/1.586, allocations: 20.47 kB / 1.187 GB, free: 68.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/1.587, allocations: 119.6 kB / 1.187 GB, free: 68.62 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.314e-05/1.587, allocations: 49.39 kB / 1.187 GB, free: 68.62 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (120): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003173/1.587, allocations: 244.5 kB / 1.187 GB, free: 68.44 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/1.588, allocations: 197 kB / 1.187 GB, free: 68.34 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/1.59, allocations: 1.057 MB / 1.188 GB, free: 68.26 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.59, allocations: 14.98 kB / 1.188 GB, free: 68.26 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.59, allocations: 0 / 1.188 GB, free: 68.26 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001859/1.592, allocations: 0.8929 MB / 1.189 GB, free: 68.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004874/1.597, allocations: 2.864 MB / 1.192 GB, free: 67.45 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.597, allocations: 2.5 kB / 1.192 GB, free: 67.45 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/1.598, allocations: 209.7 kB / 1.192 GB, free: 67.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.168e-06/1.598, allocations: 2.75 kB / 1.192 GB, free: 67.45 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/1.598, allocations: 20.64 kB / 1.192 GB, free: 67.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001926/1.598, allocations: 0.5862 MB / 1.193 GB, free: 66.86 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.598, allocations: 6.188 kB / 1.193 GB, free: 66.86 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003062/1.601, allocations: 1.625 MB / 1.194 GB, free: 66.55 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008011/1.602, allocations: 362.1 kB / 1.195 GB, free: 66.34 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/1.602, allocations: 20.62 kB / 1.195 GB, free: 66.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009787/1.603, allocations: 49.14 kB / 1.195 GB, free: 66.34 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.604, allocations: 53.19 kB / 1.195 GB, free: 66.33 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/1.604, allocations: 31.36 kB / 1.195 GB, free: 66.33 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001537/1.605, allocations: 1.211 MB / 1.196 GB, free: 66.19 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.605, allocations: 0 / 1.196 GB, free: 66.19 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002534/1.608, allocations: 0.9555 MB / 1.197 GB, free: 66.05 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009145/1.609, allocations: 366.5 kB / 1.197 GB, free: 65.91 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00373/1.612, allocations: 1.613 MB / 1.199 GB, free: 65.87 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/1.612, allocations: 4.25 kB / 1.199 GB, free: 65.87 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009647/1.613, allocations: 464.1 kB / 1.199 GB, free: 65.86 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004392/1.618, allocations: 1.056 MB / 1.2 GB, free: 65.77 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/1.623, allocations: 3.46 MB / 1.204 GB, free: 64.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009731/1.624, allocations: 1.558 MB / 1.205 GB, free: 63.62 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002277/1.627, allocations: 480.6 kB / 1.206 GB, free: 63.51 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/1.627, allocations: 150 kB / 1.206 GB, free: 63.5 MB / 0.92 GB Notification: Performance of SimCode: time 1.693e-06/1.627, allocations: 3.562 kB / 1.206 GB, free: 63.5 MB / 0.92 GB Notification: Performance of Templates: time 0.05314/1.68, allocations: 38.06 MB / 1.243 GB, free: 37.78 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)