Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 194 kB / 16.53 MB, free: 6.391 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9916/0.9916, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 59.66 kB / 0.5053 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1609, allocations: 80.93 MB / 0.5844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002239/0.1632, allocations: 1.258 MB / 0.5856 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009345/0.1641, allocations: 0.6127 MB / 0.5862 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.18e-05/0.1642, allocations: 0 / 0.5862 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.258e-05/0.1642, allocations: 3.938 kB / 0.5862 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.1642, allocations: 7.922 kB / 0.5862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.1647, allocations: 143.4 kB / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.886e-05/0.1648, allocations: 19.92 kB / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.1648, allocations: 0 / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.38e-05/0.1649, allocations: 15.98 kB / 0.5864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.882e-05/0.1649, allocations: 7.922 kB / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.1649, allocations: 8 kB / 0.5864 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.1654, allocations: 339.3 kB / 0.5867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.1654, allocations: 7.984 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.1654, allocations: 7.938 kB / 0.5867 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1657, allocations: 147.9 kB / 0.5869 GB, free: 1.945 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1657, allocations: 0 / 0.5869 GB, free: 1.945 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1657, allocations: 0 / 0.5869 GB, free: 1.945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1657, allocations: 0 / 0.5869 GB, free: 1.945 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003456/0.166, allocations: 367.3 kB / 0.5872 GB, free: 1.539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.1661, allocations: 12.03 kB / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.1661, allocations: 4.938 kB / 0.5872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1662, allocations: 164.4 kB / 0.5874 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.1662, allocations: 4.359 kB / 0.5874 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1662, allocations: 4.375 kB / 0.5874 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.761e-05/0.1663, allocations: 41.77 kB / 0.5875 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.1663, allocations: 0 / 0.5875 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1664, allocations: 3.984 kB / 0.5875 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1664, allocations: 4 kB / 0.5875 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.312e-05/0.1664, allocations: 8 kB / 0.5875 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.1666, allocations: 161.7 kB / 0.5876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1667, allocations: 50.48 kB / 0.5877 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.1668, allocations: 20.94 kB / 0.5877 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1668, allocations: 3.984 kB / 0.5877 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1668, allocations: 34.5 kB / 0.5877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1668, allocations: 0 / 0.5877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.00056/0.1674, allocations: 314.1 kB / 0.588 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.1674, allocations: 55.41 kB / 0.5881 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.686e-05/0.1675, allocations: 101.8 kB / 0.5882 GB, free: 392 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1675, allocations: 25.7 kB / 0.5882 GB, free: 360 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.1676, allocations: 84.14 kB / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.1676, allocations: 11.81 kB / 0.5883 GB, free: 260 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.1676, allocations: 25.61 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.1677, allocations: 318.8 kB / 0.5886 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.1678, allocations: 12 kB / 0.5886 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.1678, allocations: 16.05 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.811e-05/0.1679, allocations: 32.8 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1679, allocations: 0 / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.864e-05/0.168, allocations: 70.12 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.168, allocations: 8 kB / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.168, allocations: 0 / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.168, allocations: 0 / 0.5888 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.1681, allocations: 12 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1681, allocations: 0 / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.1681, allocations: 8 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.1681, allocations: 3.984 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.936e-05/0.1682, allocations: 109.8 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.1682, allocations: 7.938 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.1684, allocations: 73.64 kB / 0.589 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1684, allocations: 0 / 0.589 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1684, allocations: 8 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1684, allocations: 3.984 kB / 0.589 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.1687, allocations: 311.4 kB / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1687, allocations: 0 / 0.5893 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.1688, allocations: 8 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1688, allocations: 4 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1688, allocations: 0 / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1688, allocations: 0 / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1688, allocations: 0 / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.169, allocations: 192.4 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.169, allocations: 81.09 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1691, allocations: 12.03 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.1691, allocations: 0 / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.1692, allocations: 7.938 kB / 0.5896 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.1692, allocations: 3.938 kB / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.605e-05/0.1692, allocations: 87.33 kB / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1692, allocations: 0 / 0.5896 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002426/0.1695, allocations: 31.88 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001604/0.1696, allocations: 115.2 kB / 0.5898 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.1697, allocations: 35.92 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1697, allocations: 0 / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.1698, allocations: 19.94 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.17, allocations: 10.03 kB / 0.5898 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.1704, allocations: 196.3 kB / 0.59 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1706, allocations: 0.6846 MB / 0.5907 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.1706, allocations: 8.375 kB / 0.5907 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.115e-05/0.1707, allocations: 15.42 kB / 0.5907 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.1707, allocations: 0 / 0.5907 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.002637/0.1733, allocations: 0.6259 MB / 0.5913 GB, free: 12.96 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)