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.34/1.34, allocations: 252 MB / 267.6 MB, free: 10.9 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.000991/0.000991, allocations: 178.9 kB / 327.3 MB, free: 2.188 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.944/1.944, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0008321/0.000832, allocations: 89.98 kB / 0.6829 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 11.41 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2292, allocations: 106.3 MB / 0.9008 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8799/1.109, allocations: 296.6 MB / 1.19 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03651/1.146, allocations: 21.61 MB / 1.212 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/1.151, allocations: 76 kB / 1.212 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00477/1.156, allocations: 0.9693 MB / 1.213 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0131/1.169, allocations: 3.146 MB / 1.216 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.007757/1.177, allocations: 1.789 MB / 1.217 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01217/1.189, allocations: 6.812 MB / 1.224 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004801/1.194, allocations: 1.59 MB / 1.226 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008151/1.202, allocations: 2.533 MB / 1.228 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00449/1.206, allocations: 1.716 MB / 1.23 GB, free: 1.523 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.00115/1.208, allocations: 100 kB / 1.23 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007878/1.215, allocations: 2.206 MB / 1.232 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001951/1.218, allocations: 0.7475 MB / 1.233 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002048/1.22, allocations: 0.5083 MB / 1.233 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00732/1.227, allocations: 3.351 MB / 1.237 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/1.227, allocations: 0 / 1.237 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.645e-06/1.227, allocations: 0 / 1.237 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001777/1.227, allocations: 0 / 1.237 GB, free: 10.59 MB / 0.7605 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.007647/1.235, allocations: 2.572 MB / 1.239 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.235, allocations: 12.03 kB / 1.239 GB, free: 7.945 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006159/1.241, allocations: 0.8594 MB / 1.24 GB, free: 7.082 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005596/1.247, allocations: 1.742 MB / 1.242 GB, free: 5.266 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005232/1.247, allocations: 182.6 kB / 1.242 GB, free: 5.086 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006292/1.248, allocations: 148 kB / 1.242 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005586/1.254, allocations: 1.718 MB / 1.244 GB, free: 3.168 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.551e-05/1.254, allocations: 3.953 kB / 1.244 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003847/1.254, allocations: 55.94 kB / 1.244 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.905e-05/1.254, allocations: 58.62 kB / 1.244 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004623/1.259, allocations: 1.494 MB / 1.245 GB, free: 1.551 MB / 0.7605 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.01464/1.274, allocations: 7.848 MB / 1.253 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002612/1.276, allocations: 1.138 MB / 1.254 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/1.278, allocations: 0.5685 MB / 1.254 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/1.278, allocations: 109.7 kB / 1.255 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/1.278, allocations: 43.16 kB / 1.255 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001414/1.279, allocations: 199.1 kB / 1.255 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=77): time 8.206e-06/1.279, allocations: 0 / 1.255 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=77): time 0.004678/1.284, allocations: 1.526 MB / 1.256 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/1.284, allocations: 68.02 kB / 1.256 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/1.288, allocations: 1.801 MB / 1.258 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/1.288, allocations: 45.7 kB / 1.258 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009742/1.289, allocations: 0.9762 MB / 1.259 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/1.29, allocations: 272 kB / 1.259 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.828e-05/1.29, allocations: 20 kB / 1.259 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.29, allocations: 345.9 kB / 1.26 GB, free: 1.863 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/1.291, allocations: 482 kB / 1.26 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/1.293, allocations: 0.8936 MB / 1.261 GB, free: 312 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/1.294, allocations: 0.569 MB / 1.262 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/1.295, allocations: 0 / 1.262 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004058/1.299, allocations: 1.483 MB / 1.263 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003461/1.299, allocations: 384.6 kB / 1.263 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/1.299, allocations: 8 kB / 1.263 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.217e-05/1.299, allocations: 16 kB / 1.263 GB, free: 13.71 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.301, allocations: 307.5 kB / 1.264 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005043/1.301, allocations: 0.6132 MB / 1.264 GB, free: 12.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/1.303, allocations: 179.2 kB / 1.265 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/1.304, allocations: 55.98 kB / 1.265 GB, free: 12.55 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.304, allocations: 7.938 kB / 1.265 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002582/1.306, allocations: 1.172 MB / 1.266 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/1.306, allocations: 8 kB / 1.266 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/1.306, allocations: 23.95 kB / 1.266 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.307, allocations: 259.8 kB / 1.266 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.28e-05/1.307, allocations: 23.92 kB / 1.266 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/1.309, allocations: 153 kB / 1.266 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/1.31, allocations: 48 kB / 1.266 GB, free: 10.86 MB / 0.7917 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.001339/1.311, allocations: 0.5865 MB / 1.267 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006532/1.312, allocations: 197.5 kB / 1.267 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/1.315, allocations: 1.204 MB / 1.268 GB, free: 8.863 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.315, allocations: 8 kB / 1.268 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.315, allocations: 0 / 1.268 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002438/1.318, allocations: 1.019 MB / 1.269 GB, free: 7.805 MB / 0.7917 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.007873/1.326, allocations: 3.042 MB / 1.272 GB, free: 4.652 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/1.326, allocations: 4 kB / 1.272 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/1.327, allocations: 227.9 kB / 1.272 GB, free: 4.426 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/1.327, allocations: 8 kB / 1.272 GB, free: 4.418 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.137e-05/1.327, allocations: 27.98 kB / 1.272 GB, free: 4.391 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003408/1.327, allocations: 0.5899 MB / 1.273 GB, free: 3.777 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.327, allocations: 3.938 kB / 1.273 GB, free: 3.773 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004414/1.332, allocations: 1.811 MB / 1.275 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.333, allocations: 374.5 kB / 1.275 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005662/1.334, allocations: 16 kB / 1.275 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/1.335, allocations: 166.5 kB / 1.275 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/1.336, allocations: 56.52 kB / 1.275 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/1.336, allocations: 27.98 kB / 1.275 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002708/1.338, allocations: 1.231 MB / 1.277 GB, free: 36 kB / 0.7917 GB Notification: Performance of sort global known variables: time 4.8e-07/1.338, allocations: 0 / 1.277 GB, free: 36 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004116/1.343, allocations: 0.9742 MB / 1.278 GB, free: 15.06 MB / 0.8073 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.001162/1.344, allocations: 367.7 kB / 1.278 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004831/1.349, allocations: 1.739 MB / 1.28 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/1.349, allocations: 0 / 1.28 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/1.35, allocations: 0.5122 MB / 1.28 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006604/1.357, allocations: 1.047 MB / 1.281 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009591/1.366, allocations: 4.412 MB / 1.285 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/1.368, allocations: 1.57 MB / 1.287 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007832/1.369, allocations: 159.4 kB / 1.287 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of SimCode: time 1.273e-06/1.369, allocations: 0 / 1.287 GB, free: 5.184 MB / 0.8073 GB Notification: Performance of Templates: time 0.06612/1.435, allocations: 43.51 MB / 1.33 GB, free: 9.855 MB / 0.8542 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)