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.001622/0.001623, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001828/0.001828, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.401/1.401, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.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.64/1.64, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001335/0.001335, allocations: 67.14 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2257, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7309/0.9566, allocations: 320.1 MB / 1.096 GB, free: 3.102 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.03125/0.9879, allocations: 22.85 MB / 1.118 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004558/0.9925, allocations: 83.5 kB / 1.118 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004933/0.9975, allocations: 1.341 MB / 1.12 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/1.009, allocations: 3.958 MB / 1.124 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006071/1.015, allocations: 2.137 MB / 1.126 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008703/1.024, allocations: 5.92 MB / 1.132 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003625/1.028, allocations: 2.146 MB / 1.134 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007297/1.035, allocations: 3.223 MB / 1.137 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003788/1.039, allocations: 1.848 MB / 1.139 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006816/1.039, allocations: 224 kB / 1.139 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007422/1.047, allocations: 3.815 MB / 1.143 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001484/1.048, allocations: 0.8881 MB / 1.143 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002187/1.051, allocations: 1.337 MB / 1.145 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006055/1.057, allocations: 3.594 MB / 1.148 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.057, allocations: 3.984 kB / 1.148 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.754e-06/1.057, allocations: 0 / 1.148 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.489e-05/1.057, allocations: 4 kB / 1.148 GB, free: 13.6 MB / 0.8575 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.005805/1.063, allocations: 2.975 MB / 1.151 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.063, allocations: 8.031 kB / 1.151 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005629/1.068, allocations: 0.8397 MB / 1.152 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/1.072, allocations: 1.826 MB / 1.154 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003803/1.073, allocations: 178.5 kB / 1.154 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/1.073, allocations: 147.9 kB / 1.154 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00329/1.076, allocations: 1.663 MB / 1.156 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/1.076, allocations: 7.938 kB / 1.156 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/1.077, allocations: 56 kB / 1.156 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/1.077, allocations: 46.61 kB / 1.156 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/1.08, allocations: 1.404 MB / 1.157 GB, free: 4.246 MB / 0.8575 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.01103/1.091, allocations: 7.684 MB / 1.165 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/1.093, allocations: 1.061 MB / 1.166 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/1.094, allocations: 0.5102 MB / 1.166 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/1.094, allocations: 113.7 kB / 1.166 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.094, allocations: 47.2 kB / 1.166 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001062/1.095, allocations: 147 kB / 1.166 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=76): time 3.707e-06/1.095, allocations: 0 / 1.166 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76): time 0.003743/1.099, allocations: 1.417 MB / 1.168 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/1.099, allocations: 60.06 kB / 1.168 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/1.102, allocations: 1.781 MB / 1.17 GB, free: 6.711 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/1.102, allocations: 41.7 kB / 1.17 GB, free: 6.664 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007198/1.103, allocations: 0.9839 MB / 1.171 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/1.103, allocations: 264.1 kB / 1.171 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/1.103, allocations: 218.4 kB / 1.171 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.103, allocations: 349.9 kB / 1.171 GB, free: 4.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/1.105, allocations: 480.5 kB / 1.172 GB, free: 4.367 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/1.106, allocations: 0.8503 MB / 1.173 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/1.108, allocations: 1.259 MB / 1.174 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/1.108, allocations: 4 kB / 1.174 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003195/1.111, allocations: 1.471 MB / 1.175 GB, free: 476 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.112, allocations: 8 kB / 1.175 GB, free: 468 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.112, allocations: 11.94 kB / 1.175 GB, free: 456 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/1.112, allocations: 19.98 kB / 1.175 GB, free: 436 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.113, allocations: 283.8 kB / 1.176 GB, free: 152 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004097/1.113, allocations: 0.6094 MB / 1.176 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.115, allocations: 148.9 kB / 1.176 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/1.115, allocations: 59.97 kB / 1.176 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001592/1.117, allocations: 0.8416 MB / 1.177 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001127/1.118, allocations: 0.8034 MB / 1.178 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001911/1.12, allocations: 1.162 MB / 1.179 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.923e-06/1.12, allocations: 8 kB / 1.179 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002808/1.123, allocations: 1.358 MB / 1.181 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.123, allocations: 8 kB / 1.181 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.123, allocations: 8 kB / 1.181 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.123, allocations: 16 kB / 1.181 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/1.124, allocations: 259.9 kB / 1.181 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/1.124, allocations: 15.94 kB / 1.181 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/1.126, allocations: 145.8 kB / 1.181 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/1.126, allocations: 51.98 kB / 1.181 GB, free: 10.33 MB / 0.8887 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 (124): * Single equations (assignments): 121 * 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.0003876/1.126, allocations: 255.8 kB / 1.181 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005066/1.127, allocations: 189.6 kB / 1.181 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/1.13, allocations: 1.115 MB / 1.183 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/1.13, allocations: 15.97 kB / 1.183 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.13, allocations: 4 kB / 1.183 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002031/1.132, allocations: 0.9451 MB / 1.184 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006468/1.138, allocations: 2.928 MB / 1.186 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.138, allocations: 128 / 1.186 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/1.139, allocations: 211.7 kB / 1.187 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/1.139, allocations: 8 kB / 1.187 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/1.139, allocations: 27.92 kB / 1.187 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003231/1.14, allocations: 0.5899 MB / 1.187 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.14, allocations: 3.938 kB / 1.187 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/1.143, allocations: 1.706 MB / 1.189 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00085/1.144, allocations: 354.5 kB / 1.189 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005148/1.145, allocations: 16 kB / 1.189 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.146, allocations: 127.7 kB / 1.189 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.146, allocations: 52.53 kB / 1.189 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.465e-05/1.147, allocations: 23.98 kB / 1.189 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002116/1.149, allocations: 1.208 MB / 1.191 GB, free: 312 kB / 0.8887 GB Notification: Performance of sort global known variables: time 2.11e-07/1.149, allocations: 0 / 1.191 GB, free: 312 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003083/1.152, allocations: 0.9743 MB / 1.192 GB, free: 15.32 MB / 0.9044 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 (79): * Single equations (assignments): 78 * 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.0009238/1.153, allocations: 367.4 kB / 1.192 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004405/1.157, allocations: 1.777 MB / 1.194 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.157, allocations: 4 kB / 1.194 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/1.158, allocations: 497.2 kB / 1.194 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004912/1.163, allocations: 1.049 MB / 1.195 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007549/1.171, allocations: 4.418 MB / 1.199 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/1.172, allocations: 1.558 MB / 1.201 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006259/1.173, allocations: 159.4 kB / 1.201 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of SimCode: time 8.72e-07/1.173, allocations: 0 / 1.201 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of Templates: time 0.06042/1.234, allocations: 43.44 MB / 1.244 GB, free: 10.28 MB / 0.9512 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)