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.001169/0.001169, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001275/0.001275, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.771/0.771, allocations: 132.2 MB / 423.3 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3819, allocations: 80.19 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002086/0.384, allocations: 1.253 MB / 0.5827 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008109/0.3848, allocations: 0.6222 MB / 0.5833 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.3849, allocations: 0 / 0.5833 GB, free: 26.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.3849, allocations: 3.938 kB / 0.5833 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.3849, allocations: 5.797 kB / 0.5833 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.3854, allocations: 144.6 kB / 0.5835 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.425e-05/0.3855, allocations: 21.61 kB / 0.5835 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.3855, allocations: 2.906 kB / 0.5835 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.3856, allocations: 15.8 kB / 0.5835 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.134e-05/0.3856, allocations: 11.83 kB / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.3856, allocations: 1.25 kB / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004342/0.3861, allocations: 338.2 kB / 0.5839 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.3861, allocations: 5.141 kB / 0.5839 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.3861, allocations: 12.72 kB / 0.5839 GB, free: 25.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.3864, allocations: 153.4 kB / 0.584 GB, free: 25.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3864, allocations: 0 / 0.584 GB, free: 25.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3864, allocations: 1.562 kB / 0.584 GB, free: 25.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3864, allocations: 1.438 kB / 0.584 GB, free: 25.77 MB / 446.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.0003436/0.3867, allocations: 354.9 kB / 0.5844 GB, free: 25.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3868, allocations: 9.125 kB / 0.5844 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.3868, allocations: 8.312 kB / 0.5844 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.767e-05/0.3869, allocations: 174.9 kB / 0.5845 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3869, allocations: 5.5 kB / 0.5845 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.387, allocations: 7.25 kB / 0.5846 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.653e-05/0.3871, allocations: 42.62 kB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3871, allocations: 2 kB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3871, allocations: 7.25 kB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3871, allocations: 0 / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.514e-05/0.3871, allocations: 5.75 kB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.3873, allocations: 157.3 kB / 0.5848 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.3874, allocations: 46.42 kB / 0.5848 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.3875, allocations: 20.44 kB / 0.5848 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3875, allocations: 5.484 kB / 0.5848 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.3875, allocations: 42.12 kB / 0.5849 GB, free: 24.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3875, allocations: 0 / 0.5849 GB, free: 24.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005261/0.3881, allocations: 298.5 kB / 0.5852 GB, free: 24.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3881, allocations: 54.31 kB / 0.5852 GB, free: 24.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.722e-05/0.3882, allocations: 101.3 kB / 0.5853 GB, free: 24.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.3882, allocations: 28.58 kB / 0.5853 GB, free: 24.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.449e-05/0.3882, allocations: 80.14 kB / 0.5854 GB, free: 24.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.3882, allocations: 21.94 kB / 0.5854 GB, free: 24.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.3883, allocations: 23.86 kB / 0.5855 GB, free: 24.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.3883, allocations: 312.1 kB / 0.5857 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.3883, allocations: 15.75 kB / 0.5858 GB, free: 23.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.3884, allocations: 15.2 kB / 0.5858 GB, free: 23.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.348e-05/0.3884, allocations: 28.05 kB / 0.5858 GB, free: 23.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3884, allocations: 1.406 kB / 0.5858 GB, free: 23.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.828e-05/0.3885, allocations: 73.08 kB / 0.5859 GB, free: 23.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3886, allocations: 4.906 kB / 0.5859 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3886, allocations: 1.188 kB / 0.5859 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3886, allocations: 0.7188 kB / 0.5859 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.3886, allocations: 19.89 kB / 0.5859 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.3886, allocations: 0 / 0.5859 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.3887, allocations: 1.375 kB / 0.5859 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3887, allocations: 5.109 kB / 0.5859 GB, free: 23.8 MB / 446.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 4.826e-05/0.3887, allocations: 117.3 kB / 0.586 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.3887, allocations: 5.156 kB / 0.586 GB, free: 23.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.3889, allocations: 77.39 kB / 0.5861 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3889, allocations: 0 / 0.5861 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3889, allocations: 4.938 kB / 0.5861 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3889, allocations: 0.5938 kB / 0.5861 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.3892, allocations: 316.3 kB / 0.5864 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3892, allocations: 6.375 kB / 0.5864 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.3892, allocations: 10.09 kB / 0.5864 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3892, allocations: 0.9375 kB / 0.5864 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.3893, allocations: 10.05 kB / 0.5864 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3893, allocations: 1.438 kB / 0.5864 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3893, allocations: 0 / 0.5864 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.3894, allocations: 175.6 kB / 0.5866 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.3895, allocations: 83.97 kB / 0.5867 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.3895, allocations: 3.219 kB / 0.5867 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.3896, allocations: 5.219 kB / 0.5867 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.3896, allocations: 2.219 kB / 0.5867 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3896, allocations: 2.469 kB / 0.5867 GB, free: 23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.918e-05/0.3896, allocations: 83.27 kB / 0.5868 GB, free: 22.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3896, allocations: 0 / 0.5868 GB, free: 22.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.3899, allocations: 26.41 kB / 0.5868 GB, free: 22.91 MB / 446.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.0001406/0.39, allocations: 125.8 kB / 0.5869 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.774e-05/0.3901, allocations: 33.22 kB / 0.5869 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3901, allocations: 0.7812 kB / 0.5869 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.448e-05/0.3902, allocations: 19 kB / 0.587 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.3904, allocations: 6.547 kB / 0.587 GB, free: 22.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.3907, allocations: 191.6 kB / 0.5872 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.752e-05/0.3908, allocations: 0.6799 MB / 0.5878 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.702e-05/0.3909, allocations: 17.47 kB / 0.5878 GB, free: 21.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.3909, allocations: 10.5 kB / 0.5878 GB, free: 21.91 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3909, allocations: 2.25 kB / 0.5878 GB, free: 21.91 MB / 446.1 MB Notification: Performance of Templates: time 0.002601/0.3935, allocations: 0.625 MB / 0.5885 GB, free: 21.65 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)