Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00134/0.00134, allocations: 114.3 kB / 17.08 MB, free: 5.969 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.001272/0.001272, allocations: 200.2 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7714/0.7714, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.16 kB / 0.5584 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1575, allocations: 76.18 MB / 0.6327 GB, free: 4.527 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.7259/0.8834, allocations: 325 MB / 0.9502 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03493/0.9183, allocations: 22.28 MB / 0.9719 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004267/0.9227, allocations: 99.44 kB / 0.972 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007422/0.9301, allocations: 2.351 MB / 0.9743 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.9428, allocations: 4.521 MB / 0.9787 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007098/0.9499, allocations: 2.568 MB / 0.9812 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01853/0.9685, allocations: 12.17 MB / 0.9931 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004855/0.9734, allocations: 2.239 MB / 0.9953 GB, free: 8.797 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007963/0.9814, allocations: 3.266 MB / 0.9985 GB, free: 5.52 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00423/0.9856, allocations: 1.878 MB / 1 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.9867, allocations: 240 kB / 1.001 GB, free: 3.406 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008578/0.9953, allocations: 3.875 MB / 1.004 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.9974, allocations: 1.157 MB / 1.005 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003944/1.001, allocations: 1.706 MB / 1.007 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01347/1.015, allocations: 5.842 MB / 1.013 GB, free: 6.789 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.015, allocations: 0 / 1.013 GB, free: 6.789 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.214e-06/1.015, allocations: 4 kB / 1.013 GB, free: 6.785 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001937/1.015, allocations: 0 / 1.013 GB, free: 6.785 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.009871/1.025, allocations: 3.805 MB / 1.017 GB, free: 2.898 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/1.025, allocations: 11.97 kB / 1.017 GB, free: 2.887 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007673/1.033, allocations: 1.1 MB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008438/1.041, allocations: 4.037 MB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/1.041, allocations: 114.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005269/1.042, allocations: 160 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004614/1.047, allocations: 1.715 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/1.047, allocations: 3.938 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/1.047, allocations: 56 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/1.047, allocations: 50.59 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/1.051, allocations: 1.443 MB / 1.025 GB, free: 10.06 MB / 0.7794 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.01412/1.065, allocations: 8.657 MB / 1.033 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/1.067, allocations: 1.024 MB / 1.034 GB, free: 15.72 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/1.069, allocations: 0.5022 MB / 1.035 GB, free: 15.21 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/1.069, allocations: 109.6 kB / 1.035 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/1.069, allocations: 51.12 kB / 1.035 GB, free: 15.03 MB / 0.795 GB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/1.069, allocations: 0 / 1.035 GB, free: 15.03 MB / 0.795 GB Notification: Performance of matching and sorting (n=70): time 0.004451/1.073, allocations: 1.464 MB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/1.074, allocations: 63.91 kB / 1.037 GB, free: 13.48 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005967/1.08, allocations: 2.983 MB / 1.04 GB, free: 10.49 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001966/1.08, allocations: 45.7 kB / 1.04 GB, free: 10.44 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/1.081, allocations: 1.264 MB / 1.041 GB, free: 9.164 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000321/1.081, allocations: 260.4 kB / 1.041 GB, free: 8.906 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000768/1.082, allocations: 435 kB / 1.041 GB, free: 8.477 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.141e-05/1.082, allocations: 301.1 kB / 1.042 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.084, allocations: 0.8129 MB / 1.043 GB, free: 7.363 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/1.086, allocations: 1.318 MB / 1.044 GB, free: 5.852 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/1.089, allocations: 1.895 MB / 1.046 GB, free: 3.805 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-05/1.089, allocations: 4 kB / 1.046 GB, free: 3.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004778/1.094, allocations: 2.396 MB / 1.048 GB, free: 1.391 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/1.094, allocations: 20 kB / 1.048 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/1.094, allocations: 11.94 kB / 1.048 GB, free: 1.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.102e-05/1.094, allocations: 20 kB / 1.048 GB, free: 1.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/1.096, allocations: 389 kB / 1.048 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004175/1.096, allocations: 0.6093 MB / 1.049 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/1.099, allocations: 234.1 kB / 1.049 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/1.099, allocations: 71.98 kB / 1.049 GB, free: 28 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.3453/1.444, allocations: 1.433 MB / 1.051 GB, free: 324.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002192/1.447, allocations: 1.29 MB / 1.052 GB, free: 324.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003255/1.45, allocations: 1.869 MB / 1.054 GB, free: 323.7 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.164e-05/1.45, allocations: 3.062 kB / 1.054 GB, free: 323.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=254) (initialization_lambda0): time 0.004881/1.455, allocations: 2.351 MB / 1.056 GB, free: 322.9 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.455, allocations: 9.844 kB / 1.056 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/1.455, allocations: 20.17 kB / 1.056 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/1.455, allocations: 18.97 kB / 1.056 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/1.456, allocations: 357.9 kB / 1.057 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.751e-05/1.456, allocations: 27.52 kB / 1.057 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/1.458, allocations: 187.7 kB / 1.057 GB, free: 322.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.459, allocations: 71.91 kB / 1.057 GB, free: 322.9 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (188): * Single equations (assignments): 183 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003713/1.459, allocations: 268.4 kB / 1.057 GB, free: 322.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/1.459, allocations: 268.7 kB / 1.057 GB, free: 322.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/1.462, allocations: 1.125 MB / 1.058 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/1.462, allocations: 7.406 kB / 1.058 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.462, allocations: 3.875 kB / 1.058 GB, free: 322.2 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002271/1.465, allocations: 0.925 MB / 1.059 GB, free: 321.8 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007093/1.472, allocations: 3.335 MB / 1.063 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.472, allocations: 5.344 kB / 1.063 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.473, allocations: 209.5 kB / 1.063 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-05/1.473, allocations: 5.625 kB / 1.063 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.172e-05/1.473, allocations: 23.94 kB / 1.063 GB, free: 320.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002155/1.473, allocations: 0.5885 MB / 1.063 GB, free: 319.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.473, allocations: 6.656 kB / 1.063 GB, free: 319.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004313/1.478, allocations: 1.706 MB / 1.065 GB, free: 318.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.479, allocations: 475.6 kB / 1.066 GB, free: 318.6 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/1.479, allocations: 18.36 kB / 1.066 GB, free: 318.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.481, allocations: 88.81 kB / 1.066 GB, free: 318.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/1.481, allocations: 46.56 kB / 1.066 GB, free: 318.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/1.481, allocations: 32.44 kB / 1.066 GB, free: 318.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003428/1.484, allocations: 1.991 MB / 1.068 GB, free: 317.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/1.484, allocations: 1 kB / 1.068 GB, free: 317.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003764/1.488, allocations: 1.253 MB / 1.069 GB, free: 317.7 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (72): * Single equations (assignments): 71 * 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.001159/1.489, allocations: 0.4925 MB / 1.069 GB, free: 317.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004872/1.494, allocations: 2.693 MB / 1.072 GB, free: 316.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.494, allocations: 3.5 kB / 1.072 GB, free: 316.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/1.495, allocations: 478.8 kB / 1.072 GB, free: 316.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005843/1.501, allocations: 1.445 MB / 1.074 GB, free: 316.1 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007401/1.508, allocations: 4.87 MB / 1.079 GB, free: 313.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.51, allocations: 1.915 MB / 1.08 GB, free: 312.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000787/1.511, allocations: 218.4 kB / 1.081 GB, free: 312.9 MB / 0.795 GB Notification: Performance of SimCode: time 1.313e-06/1.511, allocations: 0 / 1.081 GB, free: 312.9 MB / 0.795 GB Notification: Performance of Templates: time 0.06059/1.571, allocations: 58.87 MB / 1.138 GB, free: 255.4 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)