Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007888/0.0007888, allocations: 99.58 kB / 16.02 MB, free: 76 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.001427/0.001427, allocations: 180.2 kB / 16.92 MB, free: 6.918 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.942/0.942, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 8.906 kB / 0.5082 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1615, allocations: 82.31 MB / 0.5886 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00132/0.1629, allocations: 0.9944 MB / 0.5896 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1641, allocations: 0.6323 MB / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.661e-05/0.1641, allocations: 0 / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.1641, allocations: 3.938 kB / 0.5902 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.1642, allocations: 4 kB / 0.5902 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.1647, allocations: 123.6 kB / 0.5903 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.941e-05/0.1647, allocations: 27.86 kB / 0.5904 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.1648, allocations: 4 kB / 0.5904 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.1648, allocations: 15.92 kB / 0.5904 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.046e-05/0.1649, allocations: 19.97 kB / 0.5904 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1649, allocations: 0 / 0.5904 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.1654, allocations: 335.4 kB / 0.5907 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.1654, allocations: 15.92 kB / 0.5907 GB, free: 492 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.1654, allocations: 41.58 kB / 0.5908 GB, free: 444 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1656, allocations: 100.1 kB / 0.5909 GB, free: 344 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1656, allocations: 4 kB / 0.5909 GB, free: 340 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1656, allocations: 0 / 0.5909 GB, free: 340 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1657, allocations: 0 / 0.5909 GB, free: 340 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004035/0.1661, allocations: 359.4 kB / 0.5912 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1661, allocations: 12.03 kB / 0.5912 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.1661, allocations: 0.9375 kB / 0.5912 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.1663, allocations: 168.4 kB / 0.5914 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1663, allocations: 4.375 kB / 0.5914 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1663, allocations: 4.375 kB / 0.5914 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1664, allocations: 53.8 kB / 0.5915 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1665, allocations: 4 kB / 0.5915 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1665, allocations: 0 / 0.5915 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1665, allocations: 0 / 0.5915 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.66e-05/0.1666, allocations: 23.92 kB / 0.5915 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1667, allocations: 169.5 kB / 0.5916 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1668, allocations: 58.56 kB / 0.5917 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.1669, allocations: 28.84 kB / 0.5917 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1669, allocations: 11.92 kB / 0.5917 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.167, allocations: 34.5 kB / 0.5918 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.167, allocations: 0 / 0.5918 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001122/0.1681, allocations: 0.5953 MB / 0.5924 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1681, allocations: 51.41 kB / 0.5924 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.368e-05/0.1682, allocations: 97.84 kB / 0.5925 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1682, allocations: 29.7 kB / 0.5925 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.1683, allocations: 88.08 kB / 0.5926 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.226e-05/0.1683, allocations: 47.5 kB / 0.5927 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.1684, allocations: 17.72 kB / 0.5927 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1685, allocations: 314.8 kB / 0.593 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.1685, allocations: 19.98 kB / 0.593 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.1686, allocations: 23.98 kB / 0.593 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.787e-05/0.1687, allocations: 56.73 kB / 0.5931 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1687, allocations: 3.938 kB / 0.5931 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001479/0.1688, allocations: 105.5 kB / 0.5932 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1688, allocations: 4 kB / 0.5932 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1689, allocations: 4 kB / 0.5932 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1689, allocations: 0 / 0.5932 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.169, allocations: 20 kB / 0.5932 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.169, allocations: 3.984 kB / 0.5932 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.169, allocations: 4 kB / 0.5932 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.169, allocations: 4 kB / 0.5932 GB, free: 13.64 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 (13): * Single equations (assignments): 13 * 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 7.741e-05/0.1691, allocations: 117.8 kB / 0.5933 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.893e-05/0.1691, allocations: 0 / 0.5933 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.1693, allocations: 113.5 kB / 0.5934 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1693, allocations: 0 / 0.5934 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1694, allocations: 0 / 0.5934 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1694, allocations: 3.984 kB / 0.5934 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.1698, allocations: 350.5 kB / 0.5938 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1698, allocations: 0 / 0.5938 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.871e-05/0.1699, allocations: 16 kB / 0.5938 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1699, allocations: 0 / 0.5938 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.1699, allocations: 8 kB / 0.5938 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1699, allocations: 0 / 0.5938 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1699, allocations: 7.984 kB / 0.5938 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1702, allocations: 219.2 kB / 0.594 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.1702, allocations: 81.02 kB / 0.5941 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1702, allocations: 4 kB / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.1703, allocations: 4.031 kB / 0.5941 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.1704, allocations: 8.078 kB / 0.5941 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1704, allocations: 7.938 kB / 0.5941 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.14e-05/0.1704, allocations: 87.28 kB / 0.5942 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1704, allocations: 0 / 0.5942 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002642/0.1707, allocations: 35.98 kB / 0.5942 GB, free: 12.49 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002054/0.1709, allocations: 131.2 kB / 0.5943 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.1711, allocations: 71.84 kB / 0.5944 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1711, allocations: 0 / 0.5944 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.1711, allocations: 27.98 kB / 0.5944 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1713, allocations: 12.09 kB / 0.5945 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.1719, allocations: 366.2 kB / 0.5948 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/0.1722, allocations: 0.6887 MB / 0.5955 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.1723, allocations: 15.44 kB / 0.5955 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1723, allocations: 4 kB / 0.5955 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.003252/0.1755, allocations: 1.107 MB / 0.5966 GB, free: 10.02 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)