Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001304/0.001304, allocations: 108 kB / 15.6 MB, free: 132 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.001485/0.001485, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7612/0.7612, allocations: 132.2 MB / 422.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001725, allocations: 68.34 kB / 0.5018 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3936, allocations: 80.2 MB / 0.5801 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002795/0.3965, allocations: 1.257 MB / 0.5813 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3975, allocations: 0.618 MB / 0.5819 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.3976, allocations: 4 kB / 0.5819 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.3976, allocations: 0.7969 kB / 0.5819 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.423e-05/0.3977, allocations: 5.359 kB / 0.5819 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.3982, allocations: 144.5 kB / 0.5821 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.3983, allocations: 23.94 kB / 0.5821 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.3983, allocations: 2.688 kB / 0.5821 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.3983, allocations: 4.719 kB / 0.5821 GB, free: 3.121 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.3984, allocations: 9.281 kB / 0.5821 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.3984, allocations: 5.125 kB / 0.5821 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005714/0.399, allocations: 346.1 kB / 0.5825 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.399, allocations: 6.922 kB / 0.5825 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.399, allocations: 7.094 kB / 0.5825 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.3994, allocations: 152.9 kB / 0.5826 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3994, allocations: 0 / 0.5826 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3994, allocations: 1.031 kB / 0.5826 GB, free: 2.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3994, allocations: 0 / 0.5826 GB, free: 2.953 MB / 430.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.000345/0.3997, allocations: 358.3 kB / 0.583 GB, free: 2.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3998, allocations: 8.625 kB / 0.583 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.3998, allocations: 6.938 kB / 0.583 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.978e-05/0.3999, allocations: 170.6 kB / 0.5831 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3999, allocations: 5.969 kB / 0.5831 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.3999, allocations: 2.719 kB / 0.5831 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.4001, allocations: 47.39 kB / 0.5832 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4001, allocations: 0 / 0.5832 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.4001, allocations: 1.719 kB / 0.5832 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4001, allocations: 0 / 0.5832 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.136e-05/0.4001, allocations: 7.922 kB / 0.5832 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.4003, allocations: 167.2 kB / 0.5834 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.4005, allocations: 39.47 kB / 0.5834 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.4005, allocations: 19.23 kB / 0.5834 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.4006, allocations: 4.547 kB / 0.5834 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4006, allocations: 40.3 kB / 0.5835 GB, free: 2.031 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4006, allocations: 0 / 0.5835 GB, free: 2.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.00059/0.4012, allocations: 312.8 kB / 0.5837 GB, free: 1.742 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.4012, allocations: 52.5 kB / 0.5838 GB, free: 1.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.264e-05/0.4013, allocations: 99.23 kB / 0.5839 GB, free: 1.578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.4013, allocations: 27.38 kB / 0.5839 GB, free: 1.547 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/0.4013, allocations: 84.95 kB / 0.584 GB, free: 1.461 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.4014, allocations: 24.66 kB / 0.584 GB, free: 1.441 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.4014, allocations: 20.23 kB / 0.584 GB, free: 1.422 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.378e-05/0.4015, allocations: 317 kB / 0.5843 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.027e-05/0.4015, allocations: 11.69 kB / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.4015, allocations: 12.25 kB / 0.5844 GB, free: 1.098 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.147e-05/0.4016, allocations: 37.06 kB / 0.5844 GB, free: 1.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.4016, allocations: 0 / 0.5844 GB, free: 1.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.781e-05/0.4017, allocations: 68.38 kB / 0.5845 GB, free: 1.027 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4017, allocations: 5.797 kB / 0.5845 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4018, allocations: 0 / 0.5845 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.4018, allocations: 0.75 kB / 0.5845 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.4018, allocations: 12.48 kB / 0.5845 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.4018, allocations: 5.375 kB / 0.5845 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.4019, allocations: 0 / 0.5845 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.4019, allocations: 2.031 kB / 0.5845 GB, free: 1.023 MB / 430.1 MB 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 5.914e-05/0.4019, allocations: 114.2 kB / 0.5846 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.402, allocations: 9.656 kB / 0.5846 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.4021, allocations: 69.19 kB / 0.5847 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4021, allocations: 5.922 kB / 0.5847 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4021, allocations: 0 / 0.5847 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4021, allocations: 4.609 kB / 0.5847 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.4024, allocations: 316.7 kB / 0.585 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4024, allocations: 1.312 kB / 0.585 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.302e-05/0.4025, allocations: 15.67 kB / 0.585 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4025, allocations: 1.469 kB / 0.585 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4025, allocations: 192 / 0.585 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.4025, allocations: 5.469 kB / 0.585 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4025, allocations: 0.9688 kB / 0.585 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.4027, allocations: 184.3 kB / 0.5852 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.4028, allocations: 81.89 kB / 0.5853 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.4028, allocations: 2.016 kB / 0.5853 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.281e-05/0.4029, allocations: 1.875 kB / 0.5853 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.4029, allocations: 7.922 kB / 0.5853 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-06/0.4029, allocations: 2.219 kB / 0.5853 GB, free: 252 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.145e-05/0.4029, allocations: 82.7 kB / 0.5854 GB, free: 172 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.403, allocations: 7.938 kB / 0.5854 GB, free: 164 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.4032, allocations: 23.38 kB / 0.5854 GB, free: 156 kB / 430.1 MB 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.000178/0.4034, allocations: 129 kB / 0.5855 GB, free: 48 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.4035, allocations: 36.64 kB / 0.5855 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4035, allocations: 0 / 0.5855 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/0.4036, allocations: 22 kB / 0.5856 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.4038, allocations: 2.828 kB / 0.5856 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004808/0.4043, allocations: 186 kB / 0.5858 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.4045, allocations: 0.6856 MB / 0.5864 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.098e-05/0.4046, allocations: 8.094 kB / 0.5864 GB, free: 15.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.4046, allocations: 11.05 kB / 0.5864 GB, free: 15.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4046, allocations: 0.5938 kB / 0.5864 GB, free: 15.14 MB / 446.1 MB Notification: Performance of Templates: time 0.003002/0.4076, allocations: 0.6342 MB / 0.5871 GB, free: 15.08 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)