Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.193/2.193, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 194.2 kB / 499.1 MB, free: 4.703 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 110 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 54.47 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2773, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.8843/1.162, allocations: 321.4 MB / 1.532 GB, free: 240 kB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.02917/1.191, allocations: 20.4 MB / 1.552 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004872/1.196, allocations: 81.34 kB / 1.552 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.004567/1.2, allocations: 1.31 MB / 1.553 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.01191/1.212, allocations: 3.963 MB / 1.557 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.006738/1.219, allocations: 2.096 MB / 1.559 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0109/1.23, allocations: 8.056 MB / 1.567 GB, free: 8.77 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004113/1.234, allocations: 1.859 MB / 1.569 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007761/1.242, allocations: 2.9 MB / 1.572 GB, free: 6.531 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004307/1.246, allocations: 1.809 MB / 1.573 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0007952/1.247, allocations: 117.8 kB / 1.574 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008548/1.256, allocations: 4.054 MB / 1.578 GB, free: 3.906 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.001389/1.257, allocations: 0.7809 MB / 1.578 GB, free: 3.402 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.002769/1.26, allocations: 1.223 MB / 1.579 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.009471/1.269, allocations: 4.844 MB / 1.584 GB, free: 14.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.269, allocations: 0 / 1.584 GB, free: 14.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.282e-06/1.269, allocations: 4 kB / 1.584 GB, free: 14.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001292/1.27, allocations: 0 / 1.584 GB, free: 14.43 MB / 0.948 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.006978/1.277, allocations: 2.985 MB / 1.587 GB, free: 11.41 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.277, allocations: 11.98 kB / 1.587 GB, free: 11.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006619/1.283, allocations: 1.012 MB / 1.588 GB, free: 10.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004552/1.288, allocations: 1.934 MB / 1.59 GB, free: 8.418 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004174/1.288, allocations: 166.9 kB / 1.59 GB, free: 8.254 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003596/1.289, allocations: 151.9 kB / 1.59 GB, free: 8.105 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003944/1.293, allocations: 1.715 MB / 1.592 GB, free: 6.336 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/1.293, allocations: 0 / 1.592 GB, free: 6.336 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/1.293, allocations: 55.98 kB / 1.592 GB, free: 6.281 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.825e-05/1.293, allocations: 58.53 kB / 1.592 GB, free: 6.223 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003822/1.297, allocations: 1.494 MB / 1.594 GB, free: 4.723 MB / 0.948 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.01175/1.309, allocations: 7.792 MB / 1.601 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/1.311, allocations: 1.158 MB / 1.602 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/1.312, allocations: 0.5647 MB / 1.603 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/1.313, allocations: 110.6 kB / 1.603 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.313, allocations: 43.2 kB / 1.603 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008401/1.313, allocations: 199 kB / 1.603 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 5.109e-06/1.313, allocations: 0 / 1.603 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.004136/1.318, allocations: 1.526 MB / 1.605 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/1.318, allocations: 60.06 kB / 1.605 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/1.32, allocations: 1.789 MB / 1.606 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.352e-05/1.32, allocations: 45.06 kB / 1.607 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000781/1.321, allocations: 0.9867 MB / 1.607 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/1.321, allocations: 270.7 kB / 1.608 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/1.322, allocations: 222.4 kB / 1.608 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.322, allocations: 349.9 kB / 1.608 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/1.323, allocations: 0.4966 MB / 1.609 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/1.325, allocations: 0.8959 MB / 1.61 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/1.328, allocations: 1.325 MB / 1.611 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.328, allocations: 4 kB / 1.611 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003494/1.331, allocations: 1.534 MB / 1.612 GB, free: 396 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.331, allocations: 13.47 kB / 1.612 GB, free: 384 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/1.331, allocations: 16 kB / 1.612 GB, free: 368 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/1.331, allocations: 12 kB / 1.612 GB, free: 356 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001332/1.333, allocations: 301.7 kB / 1.613 GB, free: 56 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003715/1.333, allocations: 0.6015 MB / 1.613 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/1.335, allocations: 171.9 kB / 1.614 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.335, allocations: 63.97 kB / 1.614 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00178/1.337, allocations: 0.8728 MB / 1.614 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001348/1.338, allocations: 0.8374 MB / 1.615 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002379/1.34, allocations: 1.232 MB / 1.616 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.278e-06/1.34, allocations: 4 kB / 1.616 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003214/1.344, allocations: 1.432 MB / 1.618 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/1.344, allocations: 8 kB / 1.618 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/1.344, allocations: 12 kB / 1.618 GB, free: 10.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.344, allocations: 16 kB / 1.618 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.345, allocations: 267.9 kB / 1.618 GB, free: 10.21 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/1.345, allocations: 19.94 kB / 1.618 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/1.347, allocations: 165 kB / 1.618 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.347, allocations: 44 kB / 1.618 GB, free: 9.984 MB / 0.9792 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 (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.000379/1.347, allocations: 258.8 kB / 1.619 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004764/1.347, allocations: 197.5 kB / 1.619 GB, free: 9.531 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00335/1.351, allocations: 1.194 MB / 1.62 GB, free: 8.328 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.351, allocations: 8 kB / 1.62 GB, free: 8.32 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.351, allocations: 4 kB / 1.62 GB, free: 8.316 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002449/1.353, allocations: 1.019 MB / 1.621 GB, free: 7.266 MB / 0.9792 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.007433/1.361, allocations: 3.218 MB / 1.624 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.361, allocations: 3.938 kB / 1.624 GB, free: 3.922 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/1.362, allocations: 231.9 kB / 1.624 GB, free: 3.695 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-05/1.362, allocations: 4 kB / 1.624 GB, free: 3.691 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.447e-05/1.362, allocations: 23.98 kB / 1.624 GB, free: 3.668 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003151/1.362, allocations: 0.6014 MB / 1.625 GB, free: 3.043 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.362, allocations: 7.969 kB / 1.625 GB, free: 3.035 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02262/1.385, allocations: 8.734 MB / 1.634 GB, free: 10 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009818/1.386, allocations: 354.5 kB / 1.634 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004336/1.387, allocations: 12 kB / 1.634 GB, free: 9.625 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.388, allocations: 155.7 kB / 1.634 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.388, allocations: 48.53 kB / 1.634 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.941e-05/1.388, allocations: 35.91 kB / 1.634 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002182/1.391, allocations: 1.22 MB / 1.635 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.391, allocations: 0 / 1.635 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005767/1.396, allocations: 1.513 MB / 1.637 GB, free: 6.637 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (floMacDyn.vol.dynBal.medium.Xi[1],floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m) * 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 (78): * Single equations (assignments): 77 * 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.001335/1.398, allocations: 458.3 kB / 1.637 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004956/1.403, allocations: 1.789 MB / 1.639 GB, free: 4.43 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.403, allocations: 4 kB / 1.639 GB, free: 4.426 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/1.404, allocations: 0.52 MB / 1.639 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005135/1.409, allocations: 0.9899 MB / 1.64 GB, free: 2.926 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009917/1.419, allocations: 4.807 MB / 1.645 GB, free: 14.05 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002288/1.422, allocations: 1.586 MB / 1.647 GB, free: 12.44 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003357/1.425, allocations: 0.5201 MB / 1.647 GB, free: 11.91 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008256/1.426, allocations: 163.4 kB / 1.647 GB, free: 11.75 MB / 1.01 GB Notification: Performance of SimCode: time 1.333e-06/1.426, allocations: 4 kB / 1.647 GB, free: 11.75 MB / 1.01 GB Notification: Performance of Templates: time 0.06946/1.495, allocations: 42.34 MB / 1.689 GB, free: 1.867 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)