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.386/1.386, allocations: 252 MB / 268 MB, free: 10.85 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.001046/0.001046, allocations: 171.1 kB / 327.6 MB, free: 2.098 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.648/1.648, allocations: 205.4 MB / 0.5786 GB, free: 20.07 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.000797/0.0007969, allocations: 89.47 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003284, allocations: 10.03 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1986, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7741/0.9728, allocations: 317.9 MB / 1.212 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03525/1.008, allocations: 23.32 MB / 1.235 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004372/1.012, allocations: 75.5 kB / 1.235 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.00471/1.017, allocations: 1.306 MB / 1.236 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/1.03, allocations: 4.02 MB / 1.24 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.007152/1.037, allocations: 2.151 MB / 1.242 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01134/1.048, allocations: 8.041 MB / 1.25 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004358/1.053, allocations: 1.82 MB / 1.252 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008247/1.061, allocations: 2.774 MB / 1.254 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005116/1.066, allocations: 1.819 MB / 1.256 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0009559/1.067, allocations: 92 kB / 1.256 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009323/1.077, allocations: 4.029 MB / 1.26 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001843/1.079, allocations: 0.7591 MB / 1.261 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003113/1.082, allocations: 1.218 MB / 1.262 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.006842/1.089, allocations: 3.534 MB / 1.266 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/1.089, allocations: 0 / 1.266 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.244e-06/1.089, allocations: 0 / 1.266 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001769/1.089, allocations: 4 kB / 1.266 GB, free: 13.26 MB / 0.7917 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.007472/1.096, allocations: 2.543 MB / 1.268 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/1.096, allocations: 12.03 kB / 1.268 GB, free: 10.64 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00609/1.102, allocations: 0.8633 MB / 1.269 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005507/1.108, allocations: 1.819 MB / 1.271 GB, free: 7.883 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004948/1.109, allocations: 186.6 kB / 1.271 GB, free: 7.699 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006575/1.109, allocations: 144 kB / 1.271 GB, free: 7.559 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00465/1.114, allocations: 1.729 MB / 1.273 GB, free: 5.773 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/1.114, allocations: 0 / 1.273 GB, free: 5.773 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/1.114, allocations: 52 kB / 1.273 GB, free: 5.723 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.529e-05/1.114, allocations: 54.62 kB / 1.273 GB, free: 5.668 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/1.118, allocations: 1.505 MB / 1.274 GB, free: 4.156 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 preOpt removeSimpleEquations (simulation): time 0.01335/1.132, allocations: 7.86 MB / 1.282 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/1.134, allocations: 1.15 MB / 1.283 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/1.136, allocations: 0.568 MB / 1.284 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/1.136, allocations: 110 kB / 1.284 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/1.136, allocations: 39.22 kB / 1.284 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001299/1.137, allocations: 199.1 kB / 1.284 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 5.28e-06/1.137, allocations: 0 / 1.284 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of matching and sorting (n=77): time 0.00448/1.142, allocations: 1.538 MB / 1.285 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/1.142, allocations: 64.06 kB / 1.286 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003381/1.145, allocations: 1.824 MB / 1.287 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/1.145, allocations: 41.7 kB / 1.287 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009238/1.146, allocations: 0.9762 MB / 1.288 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/1.147, allocations: 272 kB / 1.289 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/1.147, allocations: 20 kB / 1.289 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.147, allocations: 349.9 kB / 1.289 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/1.148, allocations: 0.5058 MB / 1.289 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/1.15, allocations: 0.9287 MB / 1.29 GB, free: 2.805 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/1.153, allocations: 1.35 MB / 1.292 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/1.153, allocations: 4 kB / 1.292 GB, free: 1.316 MB / 0.8073 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00387/1.157, allocations: 1.554 MB / 1.293 GB, free: 15.76 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003523/1.157, allocations: 382 kB / 1.294 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/1.157, allocations: 8 kB / 1.294 GB, free: 15.24 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.787e-05/1.157, allocations: 19.98 kB / 1.294 GB, free: 15.22 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.159, allocations: 307.5 kB / 1.294 GB, free: 14.92 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004716/1.159, allocations: 0.617 MB / 1.294 GB, free: 14.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/1.161, allocations: 177.1 kB / 1.295 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/1.161, allocations: 51.98 kB / 1.295 GB, free: 14.05 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.161, allocations: 6.188 kB / 1.295 GB, free: 14.05 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00247/1.164, allocations: 1.175 MB / 1.296 GB, free: 12.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/1.164, allocations: 8 kB / 1.296 GB, free: 12.87 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/1.164, allocations: 16 kB / 1.296 GB, free: 12.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.165, allocations: 263.9 kB / 1.296 GB, free: 12.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.123e-05/1.165, allocations: 19.92 kB / 1.296 GB, free: 12.58 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/1.167, allocations: 165 kB / 1.296 GB, free: 12.41 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/1.167, allocations: 51.98 kB / 1.296 GB, free: 12.36 MB / 0.823 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 (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.001213/1.168, allocations: 0.5865 MB / 1.297 GB, free: 11.77 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005664/1.169, allocations: 193.5 kB / 1.297 GB, free: 11.57 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/1.172, allocations: 1.212 MB / 1.298 GB, free: 10.35 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.172, allocations: 8 kB / 1.298 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/1.172, allocations: 3.938 kB / 1.298 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002506/1.175, allocations: 1.027 MB / 1.299 GB, free: 9.281 MB / 0.823 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.007831/1.183, allocations: 3.034 MB / 1.302 GB, free: 6.141 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.183, allocations: 0 / 1.302 GB, free: 6.141 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/1.184, allocations: 239.9 kB / 1.302 GB, free: 5.906 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/1.184, allocations: 4 kB / 1.302 GB, free: 5.902 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-05/1.184, allocations: 19.98 kB / 1.302 GB, free: 5.883 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003588/1.184, allocations: 0.5938 MB / 1.303 GB, free: 5.266 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.184, allocations: 3.938 kB / 1.303 GB, free: 5.262 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004324/1.189, allocations: 1.823 MB / 1.305 GB, free: 3.402 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.19, allocations: 366.5 kB / 1.305 GB, free: 3.023 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004696/1.19, allocations: 19.94 kB / 1.305 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/1.192, allocations: 174.5 kB / 1.305 GB, free: 2.836 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/1.192, allocations: 48.53 kB / 1.305 GB, free: 2.785 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-05/1.192, allocations: 31.97 kB / 1.305 GB, free: 2.754 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002537/1.195, allocations: 1.243 MB / 1.307 GB, free: 1.492 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.7e-07/1.195, allocations: 4 kB / 1.307 GB, free: 1.488 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00339/1.198, allocations: 0.9742 MB / 1.308 GB, free: 0.5117 MB / 0.823 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 (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.001025/1.199, allocations: 358.7 kB / 1.308 GB, free: 164 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004849/1.204, allocations: 1.774 MB / 1.31 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.204, allocations: 0 / 1.31 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/1.206, allocations: 0.5233 MB / 1.31 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005944/1.212, allocations: 1.035 MB / 1.311 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008708/1.22, allocations: 4.527 MB / 1.316 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/1.222, allocations: 1.562 MB / 1.317 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007443/1.223, allocations: 163.4 kB / 1.317 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of SimCode: time 8.72e-07/1.223, allocations: 0 / 1.317 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of Templates: time 0.06856/1.291, allocations: 43.46 MB / 1.36 GB, free: 11.23 MB / 0.8855 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)