Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001422/0.001422, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.00147/0.00147, allocations: 195.9 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.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8424/0.8424, allocations: 135.2 MB / 425.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.91 kB / 0.5055 GB, free: 8.723 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3611, allocations: 80.93 MB / 0.5846 GB, free: 25.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002033/0.3632, allocations: 1.337 MB / 0.5859 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007809/0.364, allocations: 0.6201 MB / 0.5865 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.3641, allocations: 0 / 0.5865 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.3641, allocations: 3.938 kB / 0.5865 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.594e-05/0.3641, allocations: 2.031 kB / 0.5865 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.3646, allocations: 134.2 kB / 0.5866 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.3647, allocations: 29.94 kB / 0.5866 GB, free: 23.49 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.3648, allocations: 6.531 kB / 0.5866 GB, free: 23.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.3648, allocations: 6.281 kB / 0.5867 GB, free: 23.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.489e-05/0.3649, allocations: 17.2 kB / 0.5867 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.3649, allocations: 3.594 kB / 0.5867 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.3653, allocations: 337.8 kB / 0.587 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.3653, allocations: 14.58 kB / 0.587 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.3653, allocations: 13.09 kB / 0.587 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3655, allocations: 105.4 kB / 0.5871 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3655, allocations: 0 / 0.5871 GB, free: 23.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3655, allocations: 0.625 kB / 0.5871 GB, free: 23.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3655, allocations: 0.5 kB / 0.5871 GB, free: 23.21 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.0003415/0.3659, allocations: 368 kB / 0.5875 GB, free: 22.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3659, allocations: 11.33 kB / 0.5875 GB, free: 22.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.366, allocations: 11.62 kB / 0.5875 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.366, allocations: 165.7 kB / 0.5877 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3661, allocations: 3.125 kB / 0.5877 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3661, allocations: 8.391 kB / 0.5877 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.3662, allocations: 56.33 kB / 0.5877 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3662, allocations: 0 / 0.5877 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3663, allocations: 1.781 kB / 0.5877 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3663, allocations: 1.469 kB / 0.5877 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.874e-05/0.3663, allocations: 22.77 kB / 0.5877 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.3665, allocations: 167.7 kB / 0.5879 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.432e-05/0.3666, allocations: 55.62 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.3666, allocations: 30.97 kB / 0.588 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3666, allocations: 1.719 kB / 0.588 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.3667, allocations: 44.75 kB / 0.588 GB, free: 22.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3667, allocations: 0 / 0.588 GB, free: 22.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009741/0.3676, allocations: 0.59 MB / 0.5886 GB, free: 21.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.3677, allocations: 53.59 kB / 0.5887 GB, free: 21.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.647e-05/0.3677, allocations: 98.17 kB / 0.5888 GB, free: 21.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.3678, allocations: 26.8 kB / 0.5888 GB, free: 21.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.634e-05/0.3678, allocations: 80.14 kB / 0.5889 GB, free: 21.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.3678, allocations: 45.52 kB / 0.5889 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.3679, allocations: 25.98 kB / 0.5889 GB, free: 21.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.3679, allocations: 316.6 kB / 0.5892 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.895e-05/0.3679, allocations: 21.3 kB / 0.5892 GB, free: 21.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.368, allocations: 29.45 kB / 0.5893 GB, free: 21.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.187e-05/0.3681, allocations: 53.7 kB / 0.5893 GB, free: 20.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3681, allocations: 3.938 kB / 0.5893 GB, free: 20.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001273/0.3682, allocations: 103.4 kB / 0.5894 GB, free: 20.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3682, allocations: 7.188 kB / 0.5894 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3682, allocations: 0 / 0.5894 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3683, allocations: 0 / 0.5894 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.3684, allocations: 19.09 kB / 0.5895 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3684, allocations: 0 / 0.5895 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.48e-05/0.3684, allocations: 5.406 kB / 0.5895 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.3684, allocations: 6.578 kB / 0.5895 GB, free: 20.91 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.339e-05/0.3685, allocations: 117.1 kB / 0.5896 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.3685, allocations: 7.781 kB / 0.5896 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.3687, allocations: 111.5 kB / 0.5897 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3687, allocations: 2.156 kB / 0.5897 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3687, allocations: 0 / 0.5897 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3687, allocations: 5.328 kB / 0.5897 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.369, allocations: 357.3 kB / 0.59 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.369, allocations: 3.984 kB / 0.59 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3691, allocations: 17.78 kB / 0.5901 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3692, allocations: 0 / 0.5901 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3692, allocations: 3.75 kB / 0.5901 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3692, allocations: 0 / 0.5901 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3692, allocations: 1.312 kB / 0.5901 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.3694, allocations: 227.9 kB / 0.5903 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.3694, allocations: 82.33 kB / 0.5904 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.3694, allocations: 5.906 kB / 0.5904 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/0.3695, allocations: 3.312 kB / 0.5904 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.675e-05/0.3695, allocations: 8.203 kB / 0.5904 GB, free: 20.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.3695, allocations: 6.375 kB / 0.5904 GB, free: 20.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.811e-05/0.3696, allocations: 82 kB / 0.5905 GB, free: 19.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3696, allocations: 1.188 kB / 0.5905 GB, free: 19.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.3698, allocations: 44.14 kB / 0.5905 GB, free: 19.96 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.0001732/0.37, allocations: 125.5 kB / 0.5906 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.3702, allocations: 77.28 kB / 0.5907 GB, free: 19.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3702, allocations: 0 / 0.5907 GB, free: 19.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.449e-05/0.3702, allocations: 37.77 kB / 0.5907 GB, free: 19.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.3705, allocations: 3.344 kB / 0.5907 GB, free: 19.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.371, allocations: 314.5 kB / 0.591 GB, free: 19.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.3711, allocations: 0.691 MB / 0.5917 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.3712, allocations: 14.16 kB / 0.5917 GB, free: 18.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3712, allocations: 0 / 0.5917 GB, free: 18.89 MB / 446.1 MB Notification: Performance of Templates: time 0.002669/0.3739, allocations: 1.135 MB / 0.5928 GB, free: 17.98 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)