Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00651/0.00651, allocations: 100.7 kB / 15.87 MB, free: 5.867 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.001117/0.001117, allocations: 190 kB / 16.79 MB, free: 5.812 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.334/1.334, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9399/0.9399, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.34 kB / 0.5053 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1671, allocations: 80.92 MB / 0.5843 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002514/0.1696, allocations: 1.305 MB / 0.5856 GB, free: 3.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1707, allocations: 0.6128 MB / 0.5862 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.69e-05/0.1707, allocations: 4 kB / 0.5862 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.1708, allocations: 0 / 0.5862 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.1708, allocations: 3.938 kB / 0.5862 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.1713, allocations: 115.6 kB / 0.5863 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.361e-05/0.1713, allocations: 11.92 kB / 0.5863 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.1714, allocations: 3.984 kB / 0.5864 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/0.1714, allocations: 4 kB / 0.5864 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.1715, allocations: 3.938 kB / 0.5864 GB, free: 2.91 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1715, allocations: 4 kB / 0.5864 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004837/0.172, allocations: 347.3 kB / 0.5867 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.172, allocations: 0 / 0.5867 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.172, allocations: 4 kB / 0.5867 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.1722, allocations: 96.09 kB / 0.5868 GB, free: 2.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1722, allocations: 0 / 0.5868 GB, free: 2.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1722, allocations: 0 / 0.5868 GB, free: 2.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1722, allocations: 3.938 kB / 0.5868 GB, free: 2.465 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000371/0.1726, allocations: 351.5 kB / 0.5871 GB, free: 2.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1726, allocations: 8.031 kB / 0.5871 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.1727, allocations: 12.84 kB / 0.5872 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1728, allocations: 160.4 kB / 0.5873 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1728, allocations: 384 / 0.5873 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.1728, allocations: 384 / 0.5873 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1729, allocations: 41.75 kB / 0.5873 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1729, allocations: 0 / 0.5873 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.173, allocations: 4 kB / 0.5873 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.173, allocations: 0 / 0.5873 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.841e-05/0.173, allocations: 7.938 kB / 0.5874 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.1731, allocations: 153.7 kB / 0.5875 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.19e-05/0.1732, allocations: 26.56 kB / 0.5875 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.1732, allocations: 8.922 kB / 0.5875 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1733, allocations: 0 / 0.5875 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1733, allocations: 34.5 kB / 0.5876 GB, free: 1.512 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1733, allocations: 0 / 0.5876 GB, free: 1.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001376/0.1734, allocations: 53.62 kB / 0.5876 GB, free: 1.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.1735, allocations: 51.41 kB / 0.5877 GB, free: 1.391 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.707e-05/0.1735, allocations: 93.86 kB / 0.5878 GB, free: 1.289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1736, allocations: 25.7 kB / 0.5878 GB, free: 1.258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.1736, allocations: 84.14 kB / 0.5879 GB, free: 1.172 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1736, allocations: 3.906 kB / 0.5879 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.1737, allocations: 9.719 kB / 0.5879 GB, free: 1.152 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1738, allocations: 323.1 kB / 0.5882 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.1738, allocations: 4 kB / 0.5882 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-06/0.1738, allocations: 4 kB / 0.5882 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/0.1738, allocations: 8.859 kB / 0.5882 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1738, allocations: 0 / 0.5882 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.161e-05/0.1739, allocations: 49.52 kB / 0.5882 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1739, allocations: 7.984 kB / 0.5883 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1739, allocations: 4 kB / 0.5883 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.174, allocations: 0 / 0.5883 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.1741, allocations: 12.09 kB / 0.5883 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003359/0.1745, allocations: 0.5821 MB / 0.5888 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.1745, allocations: 0 / 0.5888 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1745, allocations: 7.984 kB / 0.5888 GB, free: 120 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 8.768e-05/0.1746, allocations: 113.9 kB / 0.589 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-06/0.1746, allocations: 15.94 kB / 0.589 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.1747, allocations: 44.81 kB / 0.589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1747, allocations: 0 / 0.589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1747, allocations: 0 / 0.589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1747, allocations: 0 / 0.589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.119e-05/0.1748, allocations: 149.6 kB / 0.5892 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1748, allocations: 0 / 0.5892 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.252e-05/0.1749, allocations: 11.98 kB / 0.5892 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1749, allocations: 0 / 0.5892 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1749, allocations: 0 / 0.5892 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000269/0.1752, allocations: 0.5937 MB / 0.5897 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1752, allocations: 0 / 0.5897 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.922e-05/0.1753, allocations: 69.16 kB / 0.5898 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.1753, allocations: 77.11 kB / 0.5899 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.1754, allocations: 128 / 0.5899 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.556e-05/0.1754, allocations: 7.938 kB / 0.5899 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.1754, allocations: 7.984 kB / 0.5899 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.1754, allocations: 0 / 0.5899 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.795e-05/0.1754, allocations: 75.28 kB / 0.59 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1754, allocations: 0 / 0.59 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001876/0.1756, allocations: 8 kB / 0.59 GB, free: 14.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * 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.0001519/0.1758, allocations: 122.8 kB / 0.5901 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.176, allocations: 24.08 kB / 0.5901 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.176, allocations: 0 / 0.5901 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.535e-05/0.1761, allocations: 15.83 kB / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1762, allocations: 6.656 kB / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.1765, allocations: 126.1 kB / 0.5903 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.1768, allocations: 0.6811 MB / 0.5909 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.1768, allocations: 7.438 kB / 0.5909 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of SimCode: time 1.393e-06/0.1768, allocations: 0 / 0.5909 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.002212/0.179, allocations: 0.688 MB / 0.5916 GB, free: 13.1 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)