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.001095/0.001095, allocations: 108 kB / 15.61 MB, free: 152 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.001138/0.001138, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9226/0.9226, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 65.39 kB / 0.5053 GB, free: 5.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1661, allocations: 80.92 MB / 0.5844 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002554/0.1687, allocations: 1.272 MB / 0.5856 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.1697, allocations: 0.6204 MB / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.1698, allocations: 0 / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.1698, allocations: 0 / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.459e-05/0.1699, allocations: 11.91 kB / 0.5862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.1705, allocations: 153 kB / 0.5864 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.39e-05/0.1706, allocations: 23.92 kB / 0.5864 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.9e-05/0.1707, allocations: 12 kB / 0.5864 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.1707, allocations: 15.91 kB / 0.5864 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.777e-05/0.1708, allocations: 8 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1708, allocations: 4 kB / 0.5864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.1713, allocations: 347.3 kB / 0.5868 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.855e-05/0.1713, allocations: 11.92 kB / 0.5868 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.1714, allocations: 7.938 kB / 0.5868 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1716, allocations: 155.9 kB / 0.5869 GB, free: 1.949 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1717, allocations: 0 / 0.5869 GB, free: 1.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1717, allocations: 0 / 0.5869 GB, free: 1.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1717, allocations: 4 kB / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004292/0.1721, allocations: 371.3 kB / 0.5873 GB, free: 1.535 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1721, allocations: 8.031 kB / 0.5873 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.1722, allocations: 4.938 kB / 0.5873 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1723, allocations: 164.3 kB / 0.5875 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.1723, allocations: 8.375 kB / 0.5875 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.1723, allocations: 384 / 0.5875 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.1725, allocations: 57.8 kB / 0.5875 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1725, allocations: 0 / 0.5875 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1725, allocations: 8 kB / 0.5875 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.1725, allocations: 0 / 0.5875 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.947e-05/0.1726, allocations: 19.98 kB / 0.5876 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001996/0.1728, allocations: 169.5 kB / 0.5877 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.1729, allocations: 62.44 kB / 0.5878 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.1729, allocations: 28.84 kB / 0.5878 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.173, allocations: 240 / 0.5878 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.347e-05/0.173, allocations: 42.5 kB / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 7.21e-07/0.173, allocations: 0 / 0.5878 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001055/0.1741, allocations: 0.576 MB / 0.5884 GB, free: 196 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.1741, allocations: 55.41 kB / 0.5885 GB, free: 128 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.201e-05/0.1742, allocations: 97.84 kB / 0.5885 GB, free: 20 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1742, allocations: 29.7 kB / 0.5886 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.1743, allocations: 80.14 kB / 0.5887 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1743, allocations: 43.38 kB / 0.5887 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.1743, allocations: 25.72 kB / 0.5887 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.1744, allocations: 322.8 kB / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.34e-05/0.1745, allocations: 20.12 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.971e-05/0.1745, allocations: 31.92 kB / 0.5891 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.1746, allocations: 52.8 kB / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1746, allocations: 3.938 kB / 0.5891 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001377/0.1748, allocations: 108.7 kB / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.1748, allocations: 4 kB / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1748, allocations: 0 / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.1748, allocations: 0 / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1749, allocations: 27.92 kB / 0.5893 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1749, allocations: 0 / 0.5893 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.175, allocations: 4 kB / 0.5893 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.175, allocations: 11.98 kB / 0.5893 GB, free: 15.24 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.321e-05/0.1751, allocations: 113.8 kB / 0.5894 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.1751, allocations: 4 kB / 0.5894 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.1753, allocations: 109.6 kB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1753, allocations: 0 / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1753, allocations: 0 / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1753, allocations: 0 / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.1757, allocations: 362.4 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1757, allocations: 0 / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.1758, allocations: 19.94 kB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1758, allocations: 3.984 kB / 0.5899 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1759, allocations: 4.094 kB / 0.5899 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1759, allocations: 3.938 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1759, allocations: 0 / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1761, allocations: 213.7 kB / 0.5901 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.1761, allocations: 89.11 kB / 0.5902 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1762, allocations: 0 / 0.5902 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.985e-05/0.1762, allocations: 11.98 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.1763, allocations: 4 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1763, allocations: 0 / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.1763, allocations: 91.2 kB / 0.5903 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1763, allocations: 0 / 0.5903 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002577/0.1766, allocations: 32 kB / 0.5903 GB, free: 14.09 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.0001927/0.1768, allocations: 139.2 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.1769, allocations: 71.84 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.177, allocations: 0 / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.177, allocations: 31.98 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.1772, allocations: 4 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.1777, allocations: 292.9 kB / 0.5908 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.178, allocations: 0.6846 MB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.178, allocations: 7.984 kB / 0.5915 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.1781, allocations: 11.44 kB / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1781, allocations: 0 / 0.5915 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.003225/0.1813, allocations: 0.9433 MB / 0.5924 GB, free: 11.89 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)