Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001552/0.001552, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001623/0.001623, allocations: 191.3 kB / 16.25 MB, free: 6.633 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9807/0.9807, allocations: 135.6 MB / 425.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.97 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1722, allocations: 81.03 MB / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow): time 0.9608/1.133, allocations: 319.7 MB / 0.8967 GB, free: 31.86 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02668/1.16, allocations: 20.07 MB / 0.9163 GB, free: 31.71 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004389/1.164, allocations: 84.97 kB / 0.9164 GB, free: 31.71 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004649/1.169, allocations: 1.348 MB / 0.9177 GB, free: 31.69 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01089/1.18, allocations: 3.967 MB / 0.9216 GB, free: 31.52 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005801/1.186, allocations: 2.141 MB / 0.9237 GB, free: 31.48 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009595/1.195, allocations: 5.948 MB / 0.9295 GB, free: 31.47 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003529/1.199, allocations: 2.163 MB / 0.9316 GB, free: 31.21 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007159/1.206, allocations: 3.242 MB / 0.9348 GB, free: 31.16 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004095/1.21, allocations: 1.855 MB / 0.9366 GB, free: 30.95 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006599/1.211, allocations: 224.1 kB / 0.9368 GB, free: 30.95 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008089/1.219, allocations: 3.814 MB / 0.9405 GB, free: 30.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001562/1.22, allocations: 0.8872 MB / 0.9414 GB, free: 30.8 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002378/1.223, allocations: 1.343 MB / 0.9427 GB, free: 30.43 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008903/1.232, allocations: 4.927 MB / 0.9475 GB, free: 29.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.232, allocations: 0 / 0.9475 GB, free: 29.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.893e-06/1.232, allocations: 0 / 0.9475 GB, free: 29.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.649e-05/1.232, allocations: 0 / 0.9475 GB, free: 29.86 MB / 0.67 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.00542/1.237, allocations: 2.99 MB / 0.9504 GB, free: 28.39 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.237, allocations: 7.812 kB / 0.9505 GB, free: 28.39 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005279/1.243, allocations: 0.8396 MB / 0.9513 GB, free: 28.21 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/1.246, allocations: 1.856 MB / 0.9531 GB, free: 27.3 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003976/1.247, allocations: 172 kB / 0.9532 GB, free: 27.27 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003865/1.247, allocations: 149.8 kB / 0.9534 GB, free: 27.27 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/1.25, allocations: 1.665 MB / 0.955 GB, free: 26.78 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/1.25, allocations: 2.438 kB / 0.955 GB, free: 26.78 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/1.251, allocations: 59.33 kB / 0.9551 GB, free: 26.77 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/1.251, allocations: 54.2 kB / 0.9551 GB, free: 26.77 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/1.253, allocations: 1.397 MB / 0.9565 GB, free: 26.12 MB / 0.67 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.008942/1.262, allocations: 7.71 MB / 0.964 GB, free: 19.56 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/1.264, allocations: 1.057 MB / 0.9651 GB, free: 18.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009475/1.265, allocations: 0.5049 MB / 0.9655 GB, free: 18.66 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/1.265, allocations: 113.7 kB / 0.9657 GB, free: 18.55 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/1.265, allocations: 44.5 kB / 0.9657 GB, free: 18.5 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000934/1.266, allocations: 145.8 kB / 0.9658 GB, free: 18.42 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/1.266, allocations: 2 kB / 0.9658 GB, free: 18.42 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.003153/1.269, allocations: 1.418 MB / 0.9672 GB, free: 17.73 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/1.269, allocations: 64.5 kB / 0.9673 GB, free: 17.66 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/1.271, allocations: 1.789 MB / 0.969 GB, free: 16.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.349e-05/1.271, allocations: 45.45 kB / 0.9691 GB, free: 16.64 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005261/1.272, allocations: 0.9828 MB / 0.97 GB, free: 15.78 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/1.272, allocations: 265.2 kB / 0.9703 GB, free: 15.55 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/1.272, allocations: 222.9 kB / 0.9705 GB, free: 15.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.713e-05/1.273, allocations: 348.7 kB / 0.9708 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009496/1.274, allocations: 477.8 kB / 0.9713 GB, free: 14.86 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/1.275, allocations: 0.8565 MB / 0.9721 GB, free: 14.12 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/1.277, allocations: 1.263 MB / 0.9734 GB, free: 13.22 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/1.277, allocations: 8 kB / 0.9734 GB, free: 13.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002698/1.279, allocations: 1.465 MB / 0.9748 GB, free: 11.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.279, allocations: 8 kB / 0.9748 GB, free: 11.79 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.279, allocations: 12 kB / 0.9748 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/1.279, allocations: 12.28 kB / 0.9748 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.281, allocations: 283.2 kB / 0.9751 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002398/1.281, allocations: 0.6105 MB / 0.9757 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.283, allocations: 145.1 kB / 0.9758 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.732e-05/1.283, allocations: 58.52 kB / 0.9759 GB, free: 10.68 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001388/1.284, allocations: 0.8376 MB / 0.9767 GB, free: 9.84 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000888/1.285, allocations: 0.8067 MB / 0.9775 GB, free: 8.867 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001572/1.287, allocations: 1.17 MB / 0.9786 GB, free: 7.605 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.489e-06/1.287, allocations: 7.938 kB / 0.9786 GB, free: 7.598 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.00225/1.289, allocations: 1.359 MB / 0.98 GB, free: 6.285 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.289, allocations: 12 kB / 0.98 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.289, allocations: 8 kB / 0.98 GB, free: 6.266 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/1.289, allocations: 16 kB / 0.98 GB, free: 6.25 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009421/1.29, allocations: 263.3 kB / 0.9803 GB, free: 6.008 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/1.29, allocations: 18.38 kB / 0.9803 GB, free: 5.992 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.291, allocations: 141 kB / 0.9804 GB, free: 5.855 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.122e-05/1.291, allocations: 51.98 kB / 0.9805 GB, free: 5.805 MB / 0.67 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.0002577/1.292, allocations: 247.1 kB / 0.9807 GB, free: 5.574 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/1.292, allocations: 201.5 kB / 0.9809 GB, free: 5.375 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/1.294, allocations: 1.124 MB / 0.982 GB, free: 4.242 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/1.294, allocations: 11.94 kB / 0.982 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.294, allocations: 0 / 0.982 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001616/1.296, allocations: 0.9438 MB / 0.9829 GB, free: 3.258 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004335/1.3, allocations: 2.936 MB / 0.9858 GB, free: 236 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.3, allocations: 4 kB / 0.9858 GB, free: 232 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/1.301, allocations: 210.2 kB / 0.986 GB, free: 32 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.301, allocations: 4 kB / 0.986 GB, free: 28 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.518e-05/1.301, allocations: 27.97 kB / 0.986 GB, free: 0 / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000391/1.302, allocations: 0.5844 MB / 0.9866 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.302, allocations: 4.031 kB / 0.9866 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003683/1.305, allocations: 1.705 MB / 0.9883 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008658/1.306, allocations: 358.6 kB / 0.9886 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/1.307, allocations: 23.92 kB / 0.9886 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.308, allocations: 111.8 kB / 0.9887 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.308, allocations: 48.59 kB / 0.9888 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/1.308, allocations: 35.97 kB / 0.9888 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001881/1.31, allocations: 1.216 MB / 0.99 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/1.31, allocations: 0 / 0.99 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00263/1.312, allocations: 0.9742 MB / 0.9909 GB, free: 10.86 MB / 0.6856 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.0009503/1.313, allocations: 367.7 kB / 0.9913 GB, free: 10.54 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004609/1.318, allocations: 1.782 MB / 0.993 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.318, allocations: 0 / 0.993 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/1.319, allocations: 494.2 kB / 0.9935 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/1.324, allocations: 1.05 MB / 0.9945 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007104/1.331, allocations: 4.316 MB / 0.9988 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/1.332, allocations: 1.568 MB / 1 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002363/1.335, allocations: 492.6 kB / 1.001 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/1.335, allocations: 151.4 kB / 1.001 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of SimCode: time 1.022e-06/1.335, allocations: 0 / 1.001 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of Templates: time 0.06871/1.404, allocations: 38.27 MB / 1.038 GB, free: 11.13 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)