Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.008417/0.008417, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001393/0.001394, allocations: 190.5 kB / 16.67 MB, free: 5.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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7474/0.7474, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 65.61 kB / 0.5814 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1613, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002244/0.1636, allocations: 1.275 MB / 0.6609 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1647, allocations: 0.633 MB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/0.1647, allocations: 0 / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.1648, allocations: 0 / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.384e-05/0.1648, allocations: 3.938 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007046/0.1655, allocations: 155.4 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.1656, allocations: 23.92 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.1657, allocations: 4 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.704e-05/0.1657, allocations: 11.94 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.1658, allocations: 19.91 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1658, allocations: 7.938 kB / 0.6618 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005324/0.1664, allocations: 335.4 kB / 0.6621 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.1664, allocations: 7.984 kB / 0.6621 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.1664, allocations: 15.92 kB / 0.6621 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.1667, allocations: 159.5 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1668, allocations: 0 / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.154e-06/0.1668, allocations: 4 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.1668, allocations: 0 / 0.6622 GB, free: 10.88 MB / 0.4981 GB 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.0004307/0.1672, allocations: 363.5 kB / 0.6626 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1673, allocations: 8.031 kB / 0.6626 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1673, allocations: 8.844 kB / 0.6626 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.1674, allocations: 168.3 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.1674, allocations: 4.375 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1675, allocations: 4.375 kB / 0.6628 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1676, allocations: 53.62 kB / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1676, allocations: 0 / 0.6628 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1676, allocations: 7.984 kB / 0.6628 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1676, allocations: 0 / 0.6628 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.274e-05/0.1677, allocations: 16 kB / 0.6629 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.1679, allocations: 165.7 kB / 0.663 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.168, allocations: 58.5 kB / 0.6631 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.168, allocations: 28.84 kB / 0.6631 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.1681, allocations: 11.88 kB / 0.6631 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.1681, allocations: 42.5 kB / 0.6631 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1681, allocations: 0 / 0.6631 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001121/0.1692, allocations: 0.5876 MB / 0.6637 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.1693, allocations: 51.41 kB / 0.6638 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.1693, allocations: 97.86 kB / 0.6639 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1694, allocations: 25.7 kB / 0.6639 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.184e-05/0.1694, allocations: 88.08 kB / 0.664 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.1694, allocations: 35.45 kB / 0.664 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1695, allocations: 29.7 kB / 0.664 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1696, allocations: 315 kB / 0.6643 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/0.1697, allocations: 31.92 kB / 0.6644 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.871e-05/0.1697, allocations: 22.11 kB / 0.6644 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.265e-05/0.1698, allocations: 56.8 kB / 0.6644 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1698, allocations: 0 / 0.6644 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001452/0.17, allocations: 99.81 kB / 0.6645 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.17, allocations: 7.984 kB / 0.6645 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.17, allocations: 0 / 0.6645 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.17, allocations: 0 / 0.6645 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1701, allocations: 23.94 kB / 0.6646 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1701, allocations: 0 / 0.6646 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.1702, allocations: 4 kB / 0.6646 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1702, allocations: 4 kB / 0.6646 GB, free: 8.188 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 8.232e-05/0.1703, allocations: 122.4 kB / 0.6647 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.1703, allocations: 7.906 kB / 0.6647 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.1705, allocations: 109.8 kB / 0.6648 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1706, allocations: 0 / 0.6648 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1706, allocations: 0 / 0.6648 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1706, allocations: 3.984 kB / 0.6648 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.171, allocations: 350.5 kB / 0.6651 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.171, allocations: 0 / 0.6651 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1711, allocations: 23.92 kB / 0.6652 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1711, allocations: 0 / 0.6652 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1711, allocations: 8 kB / 0.6652 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1711, allocations: 0 / 0.6652 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1711, allocations: 0 / 0.6652 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.1714, allocations: 230.4 kB / 0.6654 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.181e-05/0.1714, allocations: 85.11 kB / 0.6655 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.1714, allocations: 4 kB / 0.6655 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.1715, allocations: 8 kB / 0.6655 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.1716, allocations: 7.984 kB / 0.6655 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1716, allocations: 3.938 kB / 0.6655 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.208e-05/0.1716, allocations: 79.28 kB / 0.6656 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1716, allocations: 0 / 0.6656 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002846/0.1719, allocations: 39.92 kB / 0.6656 GB, free: 7.012 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.0001987/0.1721, allocations: 139.2 kB / 0.6657 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.1723, allocations: 63.91 kB / 0.6658 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1723, allocations: 0 / 0.6658 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.1723, allocations: 31.94 kB / 0.6658 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.1726, allocations: 10.64 kB / 0.6658 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.1731, allocations: 292.8 kB / 0.6661 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.1734, allocations: 0.6807 MB / 0.6668 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.297e-05/0.1734, allocations: 8 kB / 0.6668 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.1734, allocations: 11.44 kB / 0.6668 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1735, allocations: 0 / 0.6668 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.003423/0.1769, allocations: 0.9448 MB / 0.6677 GB, free: 4.82 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)