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.001095/0.001095, allocations: 102.9 kB / 15.98 MB, free: 6.348 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.001083/0.001083, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.302/1.302, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8198/0.8198, allocations: 135.1 MB / 425.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 71.89 kB / 0.5055 GB, free: 8.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3705, allocations: 80.91 MB / 0.5845 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002065/0.3726, allocations: 1.329 MB / 0.5858 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008001/0.3734, allocations: 0.6027 MB / 0.5864 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.3735, allocations: 0 / 0.5864 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.3735, allocations: 6.375 kB / 0.5864 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.12e-05/0.3736, allocations: 1.562 kB / 0.5864 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.374, allocations: 130.6 kB / 0.5865 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.919e-05/0.3741, allocations: 26.25 kB / 0.5866 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.3741, allocations: 2.25 kB / 0.5866 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.414e-05/0.3742, allocations: 5.281 kB / 0.5866 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.463e-05/0.3742, allocations: 10.86 kB / 0.5866 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.3743, allocations: 1.688 kB / 0.5866 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.3747, allocations: 345.1 kB / 0.5869 GB, free: 23.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.3747, allocations: 5.969 kB / 0.5869 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.3747, allocations: 7.969 kB / 0.5869 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.3749, allocations: 101.5 kB / 0.587 GB, free: 23.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3749, allocations: 0 / 0.587 GB, free: 23.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3749, allocations: 1.031 kB / 0.587 GB, free: 23.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3749, allocations: 1.375 kB / 0.587 GB, free: 23.43 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.0003433/0.3753, allocations: 355.7 kB / 0.5874 GB, free: 23.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3753, allocations: 13.98 kB / 0.5874 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.3753, allocations: 9.938 kB / 0.5874 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.411e-05/0.3754, allocations: 168.3 kB / 0.5876 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3754, allocations: 1.625 kB / 0.5876 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.3755, allocations: 2.969 kB / 0.5876 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.3756, allocations: 52.03 kB / 0.5876 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3756, allocations: 3.984 kB / 0.5876 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3756, allocations: 1.469 kB / 0.5876 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3756, allocations: 1.375 kB / 0.5876 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.3757, allocations: 9.688 kB / 0.5876 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.3758, allocations: 160.3 kB / 0.5878 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.376, allocations: 48.8 kB / 0.5878 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.376, allocations: 20.16 kB / 0.5878 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.3761, allocations: 1.406 kB / 0.5878 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.3761, allocations: 41.69 kB / 0.5879 GB, free: 22.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3761, allocations: 0 / 0.5879 GB, free: 22.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005424/0.3766, allocations: 308.8 kB / 0.5882 GB, free: 22.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.3767, allocations: 53.19 kB / 0.5882 GB, free: 22.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.414e-05/0.3767, allocations: 98.31 kB / 0.5883 GB, free: 22.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.3767, allocations: 25.7 kB / 0.5883 GB, free: 21.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.54e-05/0.3767, allocations: 89.52 kB / 0.5884 GB, free: 21.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.3768, allocations: 18.84 kB / 0.5884 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.3768, allocations: 22.55 kB / 0.5885 GB, free: 21.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.3769, allocations: 317.1 kB / 0.5888 GB, free: 21.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.3769, allocations: 7.875 kB / 0.5888 GB, free: 21.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.3769, allocations: 18.22 kB / 0.5888 GB, free: 21.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.044e-05/0.377, allocations: 32.52 kB / 0.5888 GB, free: 21.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.377, allocations: 2.031 kB / 0.5888 GB, free: 21.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.082e-05/0.3771, allocations: 63.53 kB / 0.5889 GB, free: 21.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3771, allocations: 8.062 kB / 0.5889 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3771, allocations: 1.438 kB / 0.5889 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3771, allocations: 0 / 0.5889 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.841e-05/0.3772, allocations: 17.42 kB / 0.5889 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3772, allocations: 2.375 kB / 0.5889 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.3772, allocations: 4 kB / 0.5889 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.3772, allocations: 2.844 kB / 0.5889 GB, free: 21.46 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.528e-05/0.3772, allocations: 108.1 kB / 0.589 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.3773, allocations: 6.562 kB / 0.589 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.3774, allocations: 70.62 kB / 0.5891 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3774, allocations: 6.234 kB / 0.5891 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3774, allocations: 8.062 kB / 0.5891 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3774, allocations: 6.609 kB / 0.5891 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.3777, allocations: 320 kB / 0.5894 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3777, allocations: 1.125 kB / 0.5894 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.3777, allocations: 14.78 kB / 0.5894 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3777, allocations: 1.438 kB / 0.5894 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.3778, allocations: 0.9688 kB / 0.5894 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.3778, allocations: 5.641 kB / 0.5894 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3778, allocations: 0 / 0.5894 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.3779, allocations: 176.9 kB / 0.5896 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.3779, allocations: 86.42 kB / 0.5897 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.378, allocations: 7.188 kB / 0.5897 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.378, allocations: 1.469 kB / 0.5897 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.3781, allocations: 3.25 kB / 0.5897 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3781, allocations: 2.406 kB / 0.5897 GB, free: 20.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.876e-05/0.3781, allocations: 86.2 kB / 0.5898 GB, free: 20.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3781, allocations: 0 / 0.5898 GB, free: 20.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.3783, allocations: 27.66 kB / 0.5898 GB, free: 20.56 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.0001615/0.3785, allocations: 120 kB / 0.5899 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.748e-05/0.3786, allocations: 34.61 kB / 0.59 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3786, allocations: 1.125 kB / 0.59 GB, free: 20.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.714e-05/0.3787, allocations: 19.47 kB / 0.59 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.3789, allocations: 9.641 kB / 0.59 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.3792, allocations: 228.8 kB / 0.5902 GB, free: 20.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.584e-05/0.3794, allocations: 0.6841 MB / 0.5909 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.3794, allocations: 12.56 kB / 0.5909 GB, free: 19.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3794, allocations: 0 / 0.5909 GB, free: 19.53 MB / 446.1 MB Notification: Performance of Templates: time 0.001964/0.3814, allocations: 0.7932 MB / 0.5917 GB, free: 19.08 MB / 446.1 MB 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)