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.468/1.468, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001028/0.001027, allocations: 176.1 kB / 326.5 MB, free: 2.688 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.666/1.666, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0008604/0.0008605, allocations: 91.97 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 8.469 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2098, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.761/0.9709, allocations: 321.9 MB / 1.211 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03275/1.004, allocations: 23.6 MB / 1.234 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004079/1.008, allocations: 75.5 kB / 1.234 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.004582/1.012, allocations: 1.309 MB / 1.236 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01169/1.024, allocations: 4.015 MB / 1.239 GB, free: 8.945 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006259/1.03, allocations: 2.171 MB / 1.242 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.009768/1.04, allocations: 8.039 MB / 1.249 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003359/1.044, allocations: 1.796 MB / 1.251 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006746/1.05, allocations: 2.782 MB / 1.254 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004422/1.055, allocations: 1.824 MB / 1.256 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.000628/1.055, allocations: 92 kB / 1.256 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008996/1.064, allocations: 4.037 MB / 1.26 GB, free: 4.133 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001878/1.066, allocations: 0.7591 MB / 1.26 GB, free: 3.371 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003318/1.07, allocations: 1.193 MB / 1.262 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.006523/1.076, allocations: 3.535 MB / 1.265 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.076, allocations: 0 / 1.265 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.124e-06/1.076, allocations: 0 / 1.265 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001611/1.077, allocations: 0 / 1.265 GB, free: 14.63 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.006138/1.083, allocations: 2.546 MB / 1.268 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.083, allocations: 12.03 kB / 1.268 GB, free: 12.01 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00554/1.088, allocations: 0.8555 MB / 1.268 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003964/1.092, allocations: 1.815 MB / 1.27 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003934/1.093, allocations: 186.6 kB / 1.27 GB, free: 9.074 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/1.093, allocations: 148 kB / 1.27 GB, free: 8.93 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/1.097, allocations: 1.729 MB / 1.272 GB, free: 7.145 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/1.097, allocations: 3.938 kB / 1.272 GB, free: 7.141 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/1.097, allocations: 56 kB / 1.272 GB, free: 7.086 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.151e-05/1.097, allocations: 50.56 kB / 1.272 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003586/1.1, allocations: 1.513 MB / 1.274 GB, free: 5.516 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.01163/1.112, allocations: 7.848 MB / 1.281 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/1.114, allocations: 1.154 MB / 1.283 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/1.116, allocations: 0.5611 MB / 1.283 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/1.116, allocations: 113.9 kB / 1.283 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/1.116, allocations: 43.22 kB / 1.283 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001177/1.117, allocations: 195.1 kB / 1.283 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 3.657e-06/1.117, allocations: 0 / 1.283 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=77): time 0.004039/1.121, allocations: 1.534 MB / 1.285 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/1.121, allocations: 60.06 kB / 1.285 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/1.124, allocations: 1.82 MB / 1.287 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/1.124, allocations: 45.7 kB / 1.287 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007691/1.125, allocations: 0.9762 MB / 1.288 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/1.125, allocations: 276 kB / 1.288 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/1.125, allocations: 97.66 kB / 1.288 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.125, allocations: 349.9 kB / 1.288 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/1.126, allocations: 0.5058 MB / 1.289 GB, free: 5.203 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/1.128, allocations: 0.921 MB / 1.29 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/1.131, allocations: 1.35 MB / 1.291 GB, free: 2.613 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/1.131, allocations: 4 kB / 1.291 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003401/1.134, allocations: 1.557 MB / 1.293 GB, free: 1.047 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000246/1.134, allocations: 386 kB / 1.293 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/1.134, allocations: 8 kB / 1.293 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/1.134, allocations: 16 kB / 1.293 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/1.136, allocations: 303.5 kB / 1.293 GB, free: 216 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003886/1.136, allocations: 0.6132 MB / 1.294 GB, free: 15.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.138, allocations: 180.5 kB / 1.294 GB, free: 15.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-05/1.138, allocations: 55.97 kB / 1.294 GB, free: 15.35 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/1.138, allocations: 4 kB / 1.294 GB, free: 15.34 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002135/1.14, allocations: 1.183 MB / 1.295 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.14, allocations: 12 kB / 1.295 GB, free: 14.15 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/1.14, allocations: 15.98 kB / 1.295 GB, free: 14.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009182/1.141, allocations: 263.9 kB / 1.296 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/1.141, allocations: 19.94 kB / 1.296 GB, free: 13.86 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/1.143, allocations: 159.5 kB / 1.296 GB, free: 13.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/1.143, allocations: 55.92 kB / 1.296 GB, free: 13.65 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.001047/1.144, allocations: 0.5865 MB / 1.296 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/1.144, allocations: 193.6 kB / 1.297 GB, free: 12.86 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/1.147, allocations: 1.193 MB / 1.298 GB, free: 11.65 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/1.147, allocations: 8 kB / 1.298 GB, free: 11.64 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.147, allocations: 0 / 1.298 GB, free: 11.64 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002181/1.149, allocations: 1.031 MB / 1.299 GB, free: 10.59 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.005762/1.155, allocations: 3.042 MB / 1.302 GB, free: 7.438 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.155, allocations: 160 / 1.302 GB, free: 7.438 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/1.156, allocations: 247.7 kB / 1.302 GB, free: 7.195 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/1.156, allocations: 4 kB / 1.302 GB, free: 7.191 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-05/1.156, allocations: 23.98 kB / 1.302 GB, free: 7.168 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003567/1.157, allocations: 0.5937 MB / 1.303 GB, free: 6.551 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.157, allocations: 8.094 kB / 1.303 GB, free: 6.543 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/1.161, allocations: 1.819 MB / 1.304 GB, free: 4.688 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/1.162, allocations: 366.6 kB / 1.305 GB, free: 4.309 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/1.163, allocations: 19.98 kB / 1.305 GB, free: 4.289 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/1.164, allocations: 170.5 kB / 1.305 GB, free: 4.125 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/1.164, allocations: 44.59 kB / 1.305 GB, free: 4.082 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.38e-05/1.164, allocations: 39.97 kB / 1.305 GB, free: 4.043 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001775/1.166, allocations: 1.239 MB / 1.306 GB, free: 2.785 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.51e-07/1.166, allocations: 0 / 1.306 GB, free: 2.785 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002378/1.168, allocations: 0.982 MB / 1.307 GB, free: 1.801 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.0008217/1.169, allocations: 354.7 kB / 1.307 GB, free: 1.449 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004025/1.173, allocations: 1.782 MB / 1.309 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.173, allocations: 0.625 kB / 1.309 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/1.174, allocations: 0.5269 MB / 1.31 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004495/1.179, allocations: 1.028 MB / 1.311 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/1.185, allocations: 4.441 MB / 1.315 GB, free: 9.621 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.186, allocations: 1.562 MB / 1.317 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005181/1.187, allocations: 163.4 kB / 1.317 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of SimCode: time 5.82e-07/1.187, allocations: 0 / 1.317 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of Templates: time 0.06043/1.247, allocations: 43.48 MB / 1.359 GB, free: 12.57 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)