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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009715/0.0009716, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001142/0.001143, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 222.1 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.569/1.569, allocations: 252 MB / 0.5102 GB, free: 4.734 MB / 414.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.0005564/0.0005564, allocations: 15.75 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6982/0.6987, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9566/1.655, allocations: 296.6 MB / 1.018 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03537/1.691, allocations: 21.62 MB / 1.039 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004889/1.696, allocations: 77.47 kB / 1.039 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003862/1.7, allocations: 0.9609 MB / 1.04 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/1.711, allocations: 3.152 MB / 1.043 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006209/1.717, allocations: 1.779 MB / 1.045 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01034/1.727, allocations: 6.812 MB / 1.051 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003048/1.73, allocations: 1.6 MB / 1.053 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007521/1.738, allocations: 2.529 MB / 1.055 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004096/1.742, allocations: 1.72 MB / 1.057 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000523/1.743, allocations: 96 kB / 1.057 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00758/1.75, allocations: 2.206 MB / 1.059 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/1.752, allocations: 0.7475 MB / 1.06 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001306/1.753, allocations: 0.5121 MB / 1.061 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005934/1.759, allocations: 3.347 MB / 1.064 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.759, allocations: 0 / 1.064 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.526e-06/1.759, allocations: 0 / 1.064 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.151e-05/1.759, allocations: 3.938 kB / 1.064 GB, free: 14.45 MB / 0.7481 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.004838/1.764, allocations: 2.578 MB / 1.066 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.764, allocations: 12.02 kB / 1.066 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005022/1.769, allocations: 0.8594 MB / 1.067 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/1.772, allocations: 1.735 MB / 1.069 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/1.773, allocations: 178.6 kB / 1.069 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/1.773, allocations: 144 kB / 1.069 GB, free: 8.809 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00339/1.776, allocations: 1.733 MB / 1.071 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/1.776, allocations: 0 / 1.071 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/1.776, allocations: 52 kB / 1.071 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.197e-05/1.777, allocations: 58.61 kB / 1.071 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003456/1.78, allocations: 1.494 MB / 1.072 GB, free: 5.41 MB / 0.7481 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.01139/1.791, allocations: 7.84 MB / 1.08 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/1.794, allocations: 1.143 MB / 1.081 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/1.795, allocations: 0.5647 MB / 1.082 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/1.795, allocations: 113.9 kB / 1.082 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/1.795, allocations: 39.22 kB / 1.082 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00118/1.797, allocations: 203.1 kB / 1.082 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=77): time 3.266e-06/1.797, allocations: 0 / 1.082 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of matching and sorting (n=77): time 0.004036/1.801, allocations: 1.526 MB / 1.084 GB, free: 9.305 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/1.801, allocations: 60.06 kB / 1.084 GB, free: 9.234 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/1.803, allocations: 1.801 MB / 1.085 GB, free: 7.398 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/1.804, allocations: 45.7 kB / 1.085 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008645/1.805, allocations: 0.9878 MB / 1.086 GB, free: 6.352 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/1.805, allocations: 264.1 kB / 1.087 GB, free: 6.09 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/1.805, allocations: 20 kB / 1.087 GB, free: 6.07 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.805, allocations: 345.9 kB / 1.087 GB, free: 5.727 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/1.806, allocations: 478 kB / 1.087 GB, free: 5.262 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/1.808, allocations: 0.8936 MB / 1.088 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/1.809, allocations: 0.565 MB / 1.089 GB, free: 3.613 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.809, allocations: 3.953 kB / 1.089 GB, free: 3.609 MB / 0.7637 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003403/1.812, allocations: 1.491 MB / 1.09 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002827/1.813, allocations: 384.3 kB / 1.091 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.813, allocations: 8 kB / 1.091 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.115e-05/1.813, allocations: 19.94 kB / 1.091 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/1.814, allocations: 307.5 kB / 1.091 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004434/1.815, allocations: 0.6132 MB / 1.092 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.817, allocations: 175.7 kB / 1.092 GB, free: 480 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.817, allocations: 51.98 kB / 1.092 GB, free: 428 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.817, allocations: 4 kB / 1.092 GB, free: 424 kB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002308/1.819, allocations: 1.175 MB / 1.093 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.819, allocations: 8 kB / 1.093 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.819, allocations: 24.27 kB / 1.093 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009838/1.82, allocations: 259.6 kB / 1.093 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/1.82, allocations: 27.92 kB / 1.093 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.822, allocations: 153 kB / 1.093 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/1.822, allocations: 47.98 kB / 1.094 GB, free: 14.73 MB / 0.7794 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 (125): * Single equations (assignments): 122 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.001313/1.823, allocations: 0.5943 MB / 1.094 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/1.824, allocations: 189.6 kB / 1.094 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/1.827, allocations: 1.197 MB / 1.095 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.827, allocations: 12 kB / 1.095 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.827, allocations: 0 / 1.095 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002203/1.829, allocations: 1.023 MB / 1.096 GB, free: 11.67 MB / 0.7794 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.006375/1.835, allocations: 3.038 MB / 1.099 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.835, allocations: 4 kB / 1.099 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/1.837, allocations: 235.8 kB / 1.1 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/1.837, allocations: 4 kB / 1.1 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/1.837, allocations: 23.98 kB / 1.1 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004265/1.837, allocations: 0.5938 MB / 1.1 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.837, allocations: 0 / 1.1 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/1.841, allocations: 1.823 MB / 1.102 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.842, allocations: 366.5 kB / 1.102 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/1.843, allocations: 23.92 kB / 1.102 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.844, allocations: 160.6 kB / 1.103 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/1.844, allocations: 56.55 kB / 1.103 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.97e-05/1.844, allocations: 31.97 kB / 1.103 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002266/1.846, allocations: 1.227 MB / 1.104 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.71e-07/1.846, allocations: 0 / 1.104 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004286/1.851, allocations: 0.9819 MB / 1.105 GB, free: 2.91 MB / 0.7794 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 (79): * Single equations (assignments): 78 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001392/1.852, allocations: 346 kB / 1.105 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004727/1.857, allocations: 1.739 MB / 1.107 GB, free: 0.8281 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.857, allocations: 12.12 kB / 1.107 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/1.858, allocations: 0.5075 MB / 1.107 GB, free: 320 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00507/1.863, allocations: 1.048 MB / 1.108 GB, free: 15.27 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007498/1.871, allocations: 4.295 MB / 1.113 GB, free: 10.93 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.872, allocations: 1.574 MB / 1.114 GB, free: 9.328 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002427/1.875, allocations: 480.7 kB / 1.115 GB, free: 8.855 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004849/1.875, allocations: 155.4 kB / 1.115 GB, free: 8.703 MB / 0.795 GB Notification: Performance of SimCode: time 1.022e-06/1.875, allocations: 0 / 1.115 GB, free: 8.703 MB / 0.795 GB Notification: Performance of Templates: time 0.06868/1.944, allocations: 37.39 MB / 1.151 GB, free: 3.855 MB / 0.8262 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: