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.001125/0.001125, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001175/0.001175, allocations: 192 kB / 17.31 MB, free: 5.18 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7931/0.7931, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3447, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002262/0.347, allocations: 1.281 MB / 0.5827 GB, free: 26.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.3479, allocations: 0.623 MB / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.3479, allocations: 0 / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.3479, allocations: 0 / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.381e-05/0.348, allocations: 9.297 kB / 0.5834 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.3485, allocations: 147.6 kB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.366e-05/0.3485, allocations: 25.7 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.003e-05/0.3486, allocations: 3 kB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/0.3486, allocations: 22.25 kB / 0.5836 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.369e-05/0.3487, allocations: 16.36 kB / 0.5836 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.3487, allocations: 6.156 kB / 0.5836 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.3492, allocations: 333.9 kB / 0.5839 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.3492, allocations: 11.94 kB / 0.5839 GB, free: 25.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.131e-05/0.3493, allocations: 14.28 kB / 0.5839 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.3495, allocations: 155 kB / 0.5841 GB, free: 25.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3495, allocations: 1.094 kB / 0.5841 GB, free: 25.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3495, allocations: 0 / 0.5841 GB, free: 25.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.3495, 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.0003629/0.3499, allocations: 374.8 kB / 0.5844 GB, free: 25.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.35, allocations: 8.281 kB / 0.5844 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.35, allocations: 3.562 kB / 0.5844 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.202e-05/0.3501, allocations: 165.5 kB / 0.5846 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3501, allocations: 1.875 kB / 0.5846 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.3501, allocations: 11.28 kB / 0.5846 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.3502, allocations: 53.23 kB / 0.5847 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3503, allocations: 1.094 kB / 0.5847 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3503, allocations: 0.875 kB / 0.5847 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3503, allocations: 5.406 kB / 0.5847 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.915e-05/0.3503, allocations: 20.48 kB / 0.5847 GB, free: 25.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.3505, allocations: 162.5 kB / 0.5848 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.45e-05/0.3506, allocations: 66.19 kB / 0.5849 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.3506, allocations: 29.59 kB / 0.5849 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3507, allocations: 3.984 kB / 0.5849 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.3507, allocations: 45.78 kB / 0.585 GB, free: 24.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3507, allocations: 0 / 0.585 GB, free: 24.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009533/0.3517, allocations: 0.5761 MB / 0.5855 GB, free: 24.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.3517, allocations: 53.97 kB / 0.5856 GB, free: 24.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.952e-05/0.3517, allocations: 104.2 kB / 0.5857 GB, free: 24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.3518, allocations: 28.3 kB / 0.5857 GB, free: 23.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.568e-05/0.3518, allocations: 80.14 kB / 0.5858 GB, free: 23.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.3518, allocations: 46.66 kB / 0.5858 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3519, allocations: 26 kB / 0.5859 GB, free: 23.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.301e-05/0.3519, allocations: 316.1 kB / 0.5862 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.352, allocations: 25.38 kB / 0.5862 GB, free: 23.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.352, allocations: 22.11 kB / 0.5862 GB, free: 23.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.305e-05/0.3521, allocations: 55.2 kB / 0.5863 GB, free: 23.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3521, allocations: 3.938 kB / 0.5863 GB, free: 23.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001302/0.3522, allocations: 100.1 kB / 0.5864 GB, free: 23.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3523, allocations: 4.844 kB / 0.5864 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3523, allocations: 0.7188 kB / 0.5864 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3523, allocations: 1.25 kB / 0.5864 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3524, allocations: 31.02 kB / 0.5864 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3524, allocations: 0 / 0.5864 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.3524, allocations: 1.844 kB / 0.5864 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.3524, allocations: 4.469 kB / 0.5864 GB, free: 23.39 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.76e-05/0.3525, allocations: 117.1 kB / 0.5865 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.3525, allocations: 6.219 kB / 0.5865 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.3527, allocations: 115.6 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3527, allocations: 2.094 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3527, allocations: 0 / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3527, allocations: 1.781 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.3531, allocations: 348.8 kB / 0.587 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3531, allocations: 2.125 kB / 0.587 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.3532, allocations: 25.12 kB / 0.587 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3532, allocations: 5.391 kB / 0.587 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3532, allocations: 5.344 kB / 0.587 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3532, allocations: 0 / 0.587 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3532, allocations: 2.156 kB / 0.587 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.3534, allocations: 217.3 kB / 0.5872 GB, free: 22.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.3535, allocations: 82.52 kB / 0.5873 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.3535, allocations: 1.312 kB / 0.5873 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.724e-05/0.3536, allocations: 5.484 kB / 0.5873 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.3536, allocations: 9.188 kB / 0.5873 GB, free: 22.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.3536, allocations: 2.75 kB / 0.5873 GB, free: 22.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.828e-05/0.3536, allocations: 85.27 kB / 0.5874 GB, free: 22.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3536, allocations: 0.8438 kB / 0.5874 GB, free: 22.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.3539, allocations: 37.16 kB / 0.5874 GB, free: 22.45 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.0001904/0.3541, allocations: 135.8 kB / 0.5876 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.3542, allocations: 65.22 kB / 0.5876 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3543, allocations: 0 / 0.5876 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.693e-05/0.3543, allocations: 37.8 kB / 0.5877 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.0002197/0.3545, allocations: 7.062 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.0004721/0.355, allocations: 289.9 kB / 0.5879 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.3551, allocations: 0.6845 MB / 0.5886 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.272e-05/0.3552, allocations: 11.7 kB / 0.5886 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.3552, allocations: 12.69 kB / 0.5886 GB, free: 21.4 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3552, allocations: 1.188 kB / 0.5886 GB, free: 21.4 MB / 446.1 MB Notification: Performance of Templates: time 0.003266/0.3585, allocations: 0.9375 MB / 0.5896 GB, free: 20.96 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)