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.001051/0.001051, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.001075/0.001075, allocations: 197.9 kB / 16.91 MB, free: 6.176 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.315/1.315, allocations: 222.9 MB / 240.6 MB, free: 15.43 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 / 422.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 0.5019 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3911, allocations: 80.18 MB / 0.5802 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002353/0.3935, allocations: 1.349 MB / 0.5815 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009177/0.3945, allocations: 0.6148 MB / 0.5821 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.3945, allocations: 0 / 0.5821 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.3945, allocations: 0.5625 kB / 0.5821 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.641e-05/0.3946, allocations: 4.906 kB / 0.5821 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.3951, allocations: 139.6 kB / 0.5823 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.565e-05/0.3952, allocations: 25.92 kB / 0.5823 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.3953, allocations: 2.281 kB / 0.5823 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.3953, allocations: 6.469 kB / 0.5823 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.837e-05/0.3953, allocations: 17.05 kB / 0.5823 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.3954, allocations: 2.625 kB / 0.5823 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.3958, allocations: 345.7 kB / 0.5827 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.3958, allocations: 10.22 kB / 0.5827 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.3958, allocations: 17.47 kB / 0.5827 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.396, allocations: 98.86 kB / 0.5828 GB, free: 25.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.396, allocations: 0 / 0.5828 GB, free: 25.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3961, allocations: 0 / 0.5828 GB, free: 25.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3961, allocations: 3.219 kB / 0.5828 GB, free: 25.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003588/0.3964, allocations: 377.4 kB / 0.5831 GB, free: 25.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3965, allocations: 13.62 kB / 0.5831 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.3965, allocations: 6.125 kB / 0.5832 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/0.3966, allocations: 165.4 kB / 0.5833 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.3966, allocations: 3.25 kB / 0.5833 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.3967, allocations: 6.656 kB / 0.5833 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.3968, allocations: 56.61 kB / 0.5834 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3968, allocations: 0 / 0.5834 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.3968, allocations: 1.344 kB / 0.5834 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3968, allocations: 6.297 kB / 0.5834 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.066e-05/0.3969, allocations: 14.38 kB / 0.5834 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.397, allocations: 166.4 kB / 0.5836 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.509e-05/0.3971, allocations: 62.34 kB / 0.5836 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.3972, allocations: 29.5 kB / 0.5836 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.3972, allocations: 1.031 kB / 0.5836 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.3972, allocations: 40.84 kB / 0.5837 GB, free: 24.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.3972, allocations: 4.562 kB / 0.5837 GB, free: 24.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001081/0.3983, allocations: 0.5853 MB / 0.5843 GB, free: 23.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.3983, allocations: 53.22 kB / 0.5843 GB, free: 23.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.035e-05/0.3984, allocations: 99.67 kB / 0.5844 GB, free: 23.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.3984, allocations: 25.7 kB / 0.5844 GB, free: 23.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.488e-05/0.3984, allocations: 81.55 kB / 0.5845 GB, free: 23.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3985, allocations: 40.05 kB / 0.5845 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.3985, allocations: 30.45 kB / 0.5846 GB, free: 23.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.676e-05/0.3986, allocations: 317.5 kB / 0.5849 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.3986, allocations: 23.77 kB / 0.5849 GB, free: 23.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.636e-05/0.3987, allocations: 28.3 kB / 0.5849 GB, free: 23.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.431e-05/0.3988, allocations: 58.52 kB / 0.585 GB, free: 23.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3988, allocations: 5.594 kB / 0.585 GB, free: 23.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001286/0.3989, allocations: 95.16 kB / 0.5851 GB, free: 23.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3989, allocations: 4.875 kB / 0.5851 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3989, allocations: 3.984 kB / 0.5851 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.399, allocations: 0.875 kB / 0.5851 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3991, allocations: 23.12 kB / 0.5851 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3991, allocations: 1.125 kB / 0.5851 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.3991, allocations: 4.719 kB / 0.5851 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.3991, allocations: 5.375 kB / 0.5851 GB, free: 23.14 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 (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 5.442e-05/0.3992, allocations: 124.2 kB / 0.5852 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.3992, allocations: 7.406 kB / 0.5852 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.3994, allocations: 109 kB / 0.5853 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3994, allocations: 0 / 0.5853 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3994, allocations: 3.594 kB / 0.5854 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3994, allocations: 3.984 kB / 0.5854 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.3997, allocations: 349.7 kB / 0.5857 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3998, allocations: 0 / 0.5857 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.744e-05/0.3999, allocations: 25.52 kB / 0.5857 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3999, allocations: 0 / 0.5857 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3999, allocations: 7.719 kB / 0.5857 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.3999, allocations: 0.7188 kB / 0.5857 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3999, allocations: 0 / 0.5857 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.4001, allocations: 214.1 kB / 0.5859 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.4001, allocations: 82.42 kB / 0.586 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.4002, allocations: 6.125 kB / 0.586 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.4003, allocations: 1.906 kB / 0.586 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.4003, allocations: 9.078 kB / 0.586 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.4003, allocations: 6.312 kB / 0.586 GB, free: 22.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.178e-05/0.4003, allocations: 83.03 kB / 0.5861 GB, free: 22.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4003, allocations: 0 / 0.5861 GB, free: 22.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000266/0.4006, allocations: 40.7 kB / 0.5861 GB, free: 22.2 MB / 446.1 MB 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.000202/0.4008, allocations: 131.8 kB / 0.5863 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.401, allocations: 74.81 kB / 0.5863 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.401, allocations: 0 / 0.5863 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.882e-05/0.401, allocations: 33.92 kB / 0.5864 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.4013, allocations: 6.859 kB / 0.5864 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.4018, allocations: 322.1 kB / 0.5867 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.4019, allocations: 0.6873 MB / 0.5874 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.402, allocations: 15.16 kB / 0.5874 GB, free: 21.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.402, allocations: 0 / 0.5874 GB, free: 21.11 MB / 446.1 MB Notification: Performance of Templates: time 0.002721/0.4047, allocations: 1.137 MB / 0.5885 GB, free: 20.54 MB / 446.1 MB 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)