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.001123/0.001123, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001369/0.001369, allocations: 177.3 kB / 15.94 MB, free: 228 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.56/1.56, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.54/1.54, allocations: 251.9 MB / 0.51 GB, free: 4.848 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.0005368/0.0005369, allocations: 16 kB / 0.6241 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5782/0.5787, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9589/1.538, allocations: 262.9 MB / 0.9847 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03458/1.572, allocations: 21.19 MB / 1.005 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004357/1.577, allocations: 72.12 kB / 1.005 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006051/1.583, allocations: 1.302 MB / 1.007 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01713/1.6, allocations: 3.792 MB / 1.01 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01279/1.613, allocations: 3.252 MB / 1.014 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01158/1.624, allocations: 3.434 MB / 1.017 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004058/1.628, allocations: 1.624 MB / 1.019 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007749/1.636, allocations: 2.225 MB / 1.021 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/1.64, allocations: 1.163 MB / 1.022 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009767/1.641, allocations: 91.78 kB / 1.022 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007399/1.648, allocations: 1.804 MB / 1.024 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001766/1.65, allocations: 0.6784 MB / 1.024 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002136/1.652, allocations: 0.5149 MB / 1.025 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007075/1.659, allocations: 3.113 MB / 1.028 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.659, allocations: 0 / 1.028 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.697e-06/1.659, allocations: 3.281 kB / 1.028 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001621/1.659, allocations: 3 kB / 1.028 GB, free: 14.89 MB / 0.7325 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.007906/1.667, allocations: 2.497 MB / 1.03 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/1.667, allocations: 8.969 kB / 1.03 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006373/1.674, allocations: 0.8697 MB / 1.031 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005973/1.68, allocations: 1.798 MB / 1.033 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005099/1.68, allocations: 183.1 kB / 1.033 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006485/1.681, allocations: 150.1 kB / 1.033 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005027/1.686, allocations: 1.693 MB / 1.035 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/1.686, allocations: 6.953 kB / 1.035 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/1.686, allocations: 57.27 kB / 1.035 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-05/1.686, allocations: 51.03 kB / 1.035 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003843/1.69, allocations: 1.483 MB / 1.037 GB, free: 10.58 MB / 0.7325 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.01269/1.703, allocations: 7.787 MB / 1.044 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/1.705, allocations: 1.127 MB / 1.045 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.507e-05/1.705, allocations: 19.89 kB / 1.045 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/1.706, allocations: 42.59 kB / 1.045 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001277/1.707, allocations: 196.3 kB / 1.045 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=77): time 5.691e-06/1.707, allocations: 0 / 1.045 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=77): time 0.00426/1.711, allocations: 1.498 MB / 1.047 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/1.711, allocations: 63.06 kB / 1.047 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/1.714, allocations: 1.786 MB / 1.049 GB, free: 172 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/1.714, allocations: 45.39 kB / 1.049 GB, free: 132 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007778/1.715, allocations: 0.9735 MB / 1.05 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/1.715, allocations: 274.5 kB / 1.05 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/1.715, allocations: 21.19 kB / 1.05 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.715, allocations: 343.5 kB / 1.05 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/1.716, allocations: 466.8 kB / 1.051 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/1.718, allocations: 0.8795 MB / 1.052 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/1.719, allocations: 0.5498 MB / 1.052 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/1.719, allocations: 4 kB / 1.052 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003463/1.723, allocations: 1.468 MB / 1.054 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001952/1.725, allocations: 3.961 MB / 1.058 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/1.725, allocations: 8 kB / 1.058 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-05/1.725, allocations: 16 kB / 1.058 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.726, allocations: 317.3 kB / 1.058 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004578/1.727, allocations: 0.6039 MB / 1.058 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/1.729, allocations: 179.2 kB / 1.059 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/1.729, allocations: 58.78 kB / 1.059 GB, free: 7.074 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.729, allocations: 4 kB / 1.059 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002352/1.732, allocations: 1.156 MB / 1.06 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/1.732, allocations: 8 kB / 1.06 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.732, allocations: 20 kB / 1.06 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.733, allocations: 258.2 kB / 1.06 GB, free: 6.047 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.541e-05/1.733, allocations: 29.08 kB / 1.06 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/1.735, allocations: 155.2 kB / 1.06 GB, free: 5.891 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.462e-05/1.735, allocations: 50.3 kB / 1.06 GB, free: 5.848 MB / 0.7481 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.001393/1.736, allocations: 0.5855 MB / 1.061 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/1.737, allocations: 205.4 kB / 1.061 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/1.74, allocations: 1.174 MB / 1.062 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/1.74, allocations: 8 kB / 1.062 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.74, allocations: 0 / 1.062 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002325/1.742, allocations: 1.005 MB / 1.063 GB, free: 3.605 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 postOpt removeSimpleEquations (simulation): time 0.006384/1.748, allocations: 2.966 MB / 1.066 GB, free: 0.9648 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.748, allocations: 8.156 kB / 1.066 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.75, allocations: 235.6 kB / 1.066 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/1.75, allocations: 10.14 kB / 1.066 GB, free: 0.7266 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/1.75, allocations: 31.97 kB / 1.066 GB, free: 0.6953 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003569/1.75, allocations: 0.5847 MB / 1.067 GB, free: 92 kB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.75, allocations: 4.062 kB / 1.067 GB, free: 88 kB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/1.755, allocations: 1.872 MB / 1.069 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.756, allocations: 366.5 kB / 1.069 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/1.756, allocations: 20 kB / 1.069 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.757, allocations: 168.8 kB / 1.069 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/1.758, allocations: 51.2 kB / 1.069 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.801e-05/1.758, allocations: 39.97 kB / 1.069 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002042/1.76, allocations: 1.2 MB / 1.071 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.76, allocations: 4 kB / 1.071 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003179/1.763, allocations: 0.977 MB / 1.071 GB, free: 11.3 MB / 0.7637 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.001096/1.764, allocations: 359.2 kB / 1.072 GB, free: 10.98 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004441/1.769, allocations: 1.706 MB / 1.074 GB, free: 9.34 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.769, allocations: 0 / 1.074 GB, free: 9.34 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/1.77, allocations: 0.5015 MB / 1.074 GB, free: 8.859 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004866/1.775, allocations: 1.03 MB / 1.075 GB, free: 7.832 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008405/1.783, allocations: 4.282 MB / 1.079 GB, free: 3.516 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/1.785, allocations: 1.605 MB / 1.081 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002753/1.787, allocations: 496.6 kB / 1.081 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/1.788, allocations: 163.4 kB / 1.081 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of SimCode: time 1.543e-06/1.788, allocations: 0 / 1.081 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of Templates: time 0.06917/1.857, allocations: 36.99 MB / 1.118 GB, free: 12.9 MB / 0.8106 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: