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.005245/0.005245, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001105/0.001105, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.319/1.319, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9244/0.9244, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 73.41 kB / 0.5053 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1599, allocations: 80.91 MB / 0.5843 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002395/0.1623, allocations: 1.341 MB / 0.5857 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1634, allocations: 0.6401 MB / 0.5863 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.1634, allocations: 0 / 0.5863 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.1634, allocations: 3.938 kB / 0.5863 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.1635, allocations: 3.984 kB / 0.5863 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.164, allocations: 135.2 kB / 0.5864 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.338e-05/0.164, allocations: 23.92 kB / 0.5864 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.1641, allocations: 7.984 kB / 0.5864 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.1641, allocations: 11.94 kB / 0.5865 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.1642, allocations: 19.91 kB / 0.5865 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.1642, allocations: 0 / 0.5865 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.1647, allocations: 339.3 kB / 0.5868 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.1647, allocations: 8 kB / 0.5868 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.1647, allocations: 11.92 kB / 0.5868 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1649, allocations: 104.1 kB / 0.5869 GB, free: 2.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1649, allocations: 4 kB / 0.5869 GB, free: 2.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1649, allocations: 0 / 0.5869 GB, free: 2.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1649, allocations: 0 / 0.5869 GB, free: 2.32 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.0004285/0.1654, allocations: 371.4 kB / 0.5873 GB, free: 1.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1654, allocations: 8.031 kB / 0.5873 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.1654, allocations: 4.938 kB / 0.5873 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1656, allocations: 168.3 kB / 0.5874 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1656, allocations: 4.375 kB / 0.5875 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1656, allocations: 8.375 kB / 0.5875 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1657, allocations: 53.8 kB / 0.5875 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1657, allocations: 3.938 kB / 0.5875 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1658, allocations: 4 kB / 0.5875 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1658, allocations: 0 / 0.5875 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.063e-05/0.1658, allocations: 19.98 kB / 0.5875 GB, free: 1.598 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.166, allocations: 169.5 kB / 0.5877 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1661, allocations: 58.55 kB / 0.5878 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.1662, allocations: 28.86 kB / 0.5878 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1662, allocations: 3.984 kB / 0.5878 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.1662, allocations: 42.44 kB / 0.5878 GB, free: 1.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.1662, allocations: 0 / 0.5878 GB, free: 1.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.00113/0.1674, allocations: 0.5838 MB / 0.5884 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.1674, allocations: 51.41 kB / 0.5884 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.375e-05/0.1675, allocations: 97.86 kB / 0.5885 GB, free: 396 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1675, allocations: 25.8 kB / 0.5886 GB, free: 364 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.1676, allocations: 84.08 kB / 0.5886 GB, free: 276 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.1676, allocations: 47.38 kB / 0.5887 GB, free: 228 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.1676, allocations: 25.72 kB / 0.5887 GB, free: 196 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1678, allocations: 323 kB / 0.589 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.1678, allocations: 23.98 kB / 0.589 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.97e-05/0.1679, allocations: 16 kB / 0.5891 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.812e-05/0.168, allocations: 56.84 kB / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.168, allocations: 3.938 kB / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001395/0.1681, allocations: 101.5 kB / 0.5892 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1681, allocations: 6.344 kB / 0.5892 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1681, allocations: 0 / 0.5892 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1682, allocations: 0 / 0.5892 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1683, allocations: 27.98 kB / 0.5892 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1683, allocations: 4 kB / 0.5893 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.1683, allocations: 0 / 0.5893 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1683, allocations: 4 kB / 0.5893 GB, free: 15.62 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.679e-05/0.1684, allocations: 121.7 kB / 0.5894 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.1684, allocations: 0 / 0.5894 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.1686, allocations: 113.9 kB / 0.5895 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1687, allocations: 0 / 0.5895 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.1687, allocations: 0 / 0.5895 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1687, allocations: 4 kB / 0.5895 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.1691, allocations: 358.3 kB / 0.5898 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1691, allocations: 0 / 0.5898 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1692, allocations: 19.98 kB / 0.5898 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1692, allocations: 0 / 0.5898 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.1692, allocations: 12 kB / 0.5899 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1692, allocations: 0 / 0.5899 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1692, allocations: 0 / 0.5899 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1695, allocations: 222 kB / 0.5901 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.1695, allocations: 88.98 kB / 0.5902 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1695, allocations: 0 / 0.5902 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.911e-05/0.1696, allocations: 7.938 kB / 0.5902 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.1697, allocations: 11.98 kB / 0.5902 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.1697, allocations: 0 / 0.5902 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.15e-05/0.1697, allocations: 83.22 kB / 0.5903 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1697, allocations: 0 / 0.5903 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002718/0.17, allocations: 36.16 kB / 0.5903 GB, free: 14.46 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.000217/0.1702, allocations: 138 kB / 0.5904 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.1704, allocations: 63.92 kB / 0.5905 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1704, allocations: 0 / 0.5905 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.239e-05/0.1704, allocations: 31.92 kB / 0.5905 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.1707, allocations: 11.94 kB / 0.5905 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005446/0.1712, allocations: 320.4 kB / 0.5908 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1715, allocations: 0.6887 MB / 0.5915 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.1715, allocations: 15.44 kB / 0.5915 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1715, allocations: 3.938 kB / 0.5915 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.002736/0.1743, allocations: 1.114 MB / 0.5926 GB, free: 12.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)