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.000938/0.000938, allocations: 92.16 kB / 16.02 MB, free: 80 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.001063/0.001063, allocations: 173.4 kB / 16.92 MB, free: 6.629 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.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9551/0.9551, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 15.94 kB / 0.5082 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1638, allocations: 82.31 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001279/0.1651, allocations: 0.9827 MB / 0.5896 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1662, allocations: 0.6207 MB / 0.5902 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.1662, allocations: 3.938 kB / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.1663, allocations: 0 / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.621e-05/0.1663, allocations: 3.938 kB / 0.5902 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.1668, allocations: 119.6 kB / 0.5903 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.666e-05/0.1669, allocations: 19.92 kB / 0.5903 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.1669, allocations: 4 kB / 0.5903 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.201e-05/0.1669, allocations: 4 kB / 0.5903 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.167, allocations: 19.91 kB / 0.5904 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.167, allocations: 4 kB / 0.5904 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.1675, allocations: 339.3 kB / 0.5907 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.1675, allocations: 4 kB / 0.5907 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.1676, allocations: 41.62 kB / 0.5907 GB, free: 476 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1677, allocations: 92.11 kB / 0.5908 GB, free: 384 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1677, allocations: 0 / 0.5908 GB, free: 384 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1678, allocations: 0 / 0.5908 GB, free: 384 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1678, allocations: 0 / 0.5908 GB, free: 384 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004007/0.1682, allocations: 359.4 kB / 0.5912 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1682, allocations: 15.97 kB / 0.5912 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.1682, allocations: 0.9375 kB / 0.5912 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1684, allocations: 172.3 kB / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1684, allocations: 384 / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1684, allocations: 384 / 0.5913 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.1685, allocations: 49.75 kB / 0.5914 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1685, allocations: 0 / 0.5914 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1686, allocations: 0 / 0.5914 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1686, allocations: 0 / 0.5914 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.085e-05/0.1686, allocations: 12 kB / 0.5914 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.1688, allocations: 161.7 kB / 0.5916 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.169, allocations: 50.59 kB / 0.5916 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.1691, allocations: 20.88 kB / 0.5916 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1691, allocations: 4 kB / 0.5916 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1691, allocations: 34.5 kB / 0.5917 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1691, allocations: 0 / 0.5917 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006017/0.1697, allocations: 314.1 kB / 0.592 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1698, allocations: 55.39 kB / 0.592 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.739e-05/0.1699, allocations: 93.86 kB / 0.5921 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1699, allocations: 29.7 kB / 0.5921 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.1699, allocations: 84.14 kB / 0.5922 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.17, allocations: 11.8 kB / 0.5922 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.17, allocations: 17.72 kB / 0.5922 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1701, allocations: 314.8 kB / 0.5925 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.535e-05/0.1702, allocations: 12 kB / 0.5925 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.1702, allocations: 11.98 kB / 0.5926 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.625e-05/0.1702, allocations: 32.8 kB / 0.5926 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1702, allocations: 0 / 0.5926 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001072/0.1704, allocations: 77.52 kB / 0.5927 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1704, allocations: 4 kB / 0.5927 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1704, allocations: 0 / 0.5927 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1704, allocations: 4 kB / 0.5927 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.006e-05/0.1705, allocations: 15.98 kB / 0.5927 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1705, allocations: 0 / 0.5927 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.1705, allocations: 0 / 0.5927 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1705, allocations: 4 kB / 0.5927 GB, free: 14.18 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 7.089e-05/0.1706, allocations: 113.8 kB / 0.5928 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.1706, allocations: 7.938 kB / 0.5928 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.1708, allocations: 73.7 kB / 0.5929 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1708, allocations: 4 kB / 0.5929 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1708, allocations: 0 / 0.5929 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1708, allocations: 8 kB / 0.5929 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.1711, allocations: 315.3 kB / 0.5932 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1711, allocations: 0 / 0.5932 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.1712, allocations: 12 kB / 0.5932 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1712, allocations: 4 kB / 0.5932 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1712, allocations: 3.984 kB / 0.5932 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1712, allocations: 0 / 0.5932 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1712, allocations: 0 / 0.5932 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.1714, allocations: 188.2 kB / 0.5934 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.1715, allocations: 81.09 kB / 0.5935 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1715, allocations: 4.031 kB / 0.5935 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.1716, allocations: 0 / 0.5935 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.1716, allocations: 8 kB / 0.5935 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1716, allocations: 0 / 0.5935 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.544e-05/0.1716, allocations: 83.78 kB / 0.5936 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1717, allocations: 4.062 kB / 0.5936 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002383/0.1719, allocations: 19.88 kB / 0.5936 GB, free: 13.16 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.000176/0.1721, allocations: 123.2 kB / 0.5937 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.899e-05/0.1722, allocations: 39.91 kB / 0.5937 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1722, allocations: 0 / 0.5937 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.558e-05/0.1722, allocations: 15.94 kB / 0.5938 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1724, allocations: 7.984 kB / 0.5938 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.1729, allocations: 259.6 kB / 0.594 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1732, allocations: 0.6884 MB / 0.5947 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.1732, allocations: 11.44 kB / 0.5947 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1732, allocations: 0 / 0.5947 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.002308/0.1755, allocations: 0.779 MB / 0.5955 GB, free: 11.18 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)