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.001195/0.001195, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.00126/0.00126, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8185/0.8185, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3894, allocations: 80.19 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002298/0.3918, allocations: 1.272 MB / 0.5827 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009834/0.3928, allocations: 0.6183 MB / 0.5833 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.3928, allocations: 5.375 kB / 0.5833 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.906e-05/0.3928, allocations: 8.984 kB / 0.5834 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.1e-05/0.3929, allocations: 3.938 kB / 0.5834 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005333/0.3934, allocations: 150.5 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.589e-05/0.3935, allocations: 25.67 kB / 0.5835 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.3936, allocations: 2.625 kB / 0.5835 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.3936, allocations: 11.89 kB / 0.5835 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.3937, allocations: 21.41 kB / 0.5836 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.3937, allocations: 1.562 kB / 0.5836 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.3942, allocations: 341.2 kB / 0.5839 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.3942, allocations: 10.59 kB / 0.5839 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.3942, allocations: 13.27 kB / 0.5839 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3945, allocations: 155.8 kB / 0.5841 GB, free: 25.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3945, allocations: 1.188 kB / 0.5841 GB, free: 25.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3945, allocations: 0 / 0.5841 GB, free: 25.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.3945, allocations: 0 / 0.5841 GB, free: 25.68 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.0003735/0.3949, allocations: 371.1 kB / 0.5844 GB, free: 25.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3949, allocations: 10.06 kB / 0.5844 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.395, allocations: 4.219 kB / 0.5844 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.259e-05/0.3951, allocations: 165.5 kB / 0.5846 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3951, allocations: 8.469 kB / 0.5846 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.3951, allocations: 15.11 kB / 0.5846 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.3952, allocations: 52.86 kB / 0.5847 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3953, allocations: 0 / 0.5847 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3953, allocations: 5.875 kB / 0.5847 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3953, allocations: 1.75 kB / 0.5847 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.3953, allocations: 18.86 kB / 0.5847 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.3955, allocations: 162.7 kB / 0.5848 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.3956, allocations: 65.52 kB / 0.5849 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.3957, allocations: 31.03 kB / 0.5849 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3957, allocations: 1.438 kB / 0.5849 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3957, allocations: 34.5 kB / 0.585 GB, free: 24.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3957, allocations: 1.094 kB / 0.585 GB, free: 24.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.00101/0.3968, allocations: 0.5857 MB / 0.5855 GB, free: 24.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.3968, allocations: 53.91 kB / 0.5856 GB, free: 24.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.3968, allocations: 98.31 kB / 0.5857 GB, free: 24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3969, allocations: 31.14 kB / 0.5857 GB, free: 23.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.59e-05/0.3969, allocations: 84.08 kB / 0.5858 GB, free: 23.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.3969, allocations: 36.8 kB / 0.5858 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.397, allocations: 26.03 kB / 0.5859 GB, free: 23.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.397, allocations: 321.8 kB / 0.5862 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.3971, allocations: 16 kB / 0.5862 GB, free: 23.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.3971, allocations: 25.42 kB / 0.5862 GB, free: 23.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.041e-05/0.3972, allocations: 59.91 kB / 0.5863 GB, free: 23.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3972, allocations: 3.938 kB / 0.5863 GB, free: 23.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001419/0.3974, allocations: 105.8 kB / 0.5864 GB, free: 23.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3974, allocations: 5.469 kB / 0.5864 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3974, allocations: 0 / 0.5864 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3974, allocations: 5.5 kB / 0.5864 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3975, allocations: 27.77 kB / 0.5864 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3976, allocations: 0 / 0.5864 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.3976, allocations: 1.312 kB / 0.5864 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3976, allocations: 6.531 kB / 0.5864 GB, free: 23.37 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.961e-05/0.3977, allocations: 117.5 kB / 0.5865 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.3977, allocations: 6.375 kB / 0.5865 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.3979, allocations: 105.1 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3979, allocations: 1.25 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3979, allocations: 0.5938 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3979, allocations: 1.188 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.3982, allocations: 356.8 kB / 0.587 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3982, allocations: 1.219 kB / 0.587 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3983, allocations: 25.52 kB / 0.587 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3983, allocations: 1.531 kB / 0.587 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.3983, allocations: 1.562 kB / 0.587 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3983, allocations: 1.344 kB / 0.587 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3984, allocations: 1.219 kB / 0.587 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.3986, allocations: 217 kB / 0.5872 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.3986, allocations: 83.45 kB / 0.5873 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3986, allocations: 6.547 kB / 0.5873 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.3987, allocations: 5.156 kB / 0.5873 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.3987, allocations: 4.625 kB / 0.5873 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.3987, allocations: 3.406 kB / 0.5873 GB, free: 22.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.92e-05/0.3988, allocations: 85.36 kB / 0.5874 GB, free: 22.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3988, allocations: 1.125 kB / 0.5874 GB, free: 22.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.399, allocations: 36.62 kB / 0.5874 GB, free: 22.44 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.0001804/0.3992, allocations: 136.7 kB / 0.5875 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001505/0.3994, allocations: 54.89 kB / 0.5876 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3994, allocations: 2.531 kB / 0.5876 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.941e-05/0.3994, allocations: 41.42 kB / 0.5876 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.3997, allocations: 10.88 kB / 0.5877 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.4002, allocations: 291.1 kB / 0.5879 GB, free: 22.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.4003, allocations: 0.6844 MB / 0.5886 GB, free: 21.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.967e-05/0.4003, allocations: 10.02 kB / 0.5886 GB, free: 21.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.4004, allocations: 12.25 kB / 0.5886 GB, free: 21.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4004, allocations: 0 / 0.5886 GB, free: 21.39 MB / 446.1 MB Notification: Performance of Templates: time 0.00334/0.4037, allocations: 0.9364 MB / 0.5895 GB, free: 20.95 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)