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.00126/0.00126, allocations: 105.6 kB / 16.27 MB, free: 6.41 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.001227/0.001227, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8184/0.8184, allocations: 132.2 MB / 423.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3572, allocations: 80.19 MB / 0.5807 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002346/0.3596, allocations: 1.279 MB / 0.582 GB, free: 26.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008746/0.3605, allocations: 0.6184 MB / 0.5826 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.3605, allocations: 0 / 0.5826 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.3605, allocations: 9.75 kB / 0.5826 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.3606, allocations: 0.9688 kB / 0.5826 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.3611, allocations: 149.6 kB / 0.5827 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.222e-05/0.3612, allocations: 26.47 kB / 0.5828 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.3613, allocations: 14.61 kB / 0.5828 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.635e-05/0.3613, allocations: 6.375 kB / 0.5828 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.823e-05/0.3614, allocations: 17.67 kB / 0.5828 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.3614, allocations: 1.375 kB / 0.5828 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.3619, allocations: 343.6 kB / 0.5831 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.3619, allocations: 9.281 kB / 0.5831 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.3619, allocations: 21.25 kB / 0.5832 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.3622, allocations: 141.6 kB / 0.5833 GB, free: 25.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3622, allocations: 4.656 kB / 0.5833 GB, free: 25.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3622, allocations: 0 / 0.5833 GB, free: 25.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3622, allocations: 2.125 kB / 0.5833 GB, free: 25.29 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.0003766/0.3626, allocations: 371.4 kB / 0.5837 GB, free: 24.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3626, allocations: 8.75 kB / 0.5837 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.3627, allocations: 7.172 kB / 0.5837 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.395e-05/0.3627, allocations: 166.3 kB / 0.5838 GB, free: 24.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3628, allocations: 3.031 kB / 0.5838 GB, free: 24.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.3628, allocations: 10.56 kB / 0.5839 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.3629, allocations: 50 kB / 0.5839 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.363, allocations: 0.625 kB / 0.5839 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.363, allocations: 6.781 kB / 0.5839 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.363, allocations: 1.188 kB / 0.5839 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.512e-05/0.363, allocations: 23.12 kB / 0.5839 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.3632, allocations: 161.5 kB / 0.5841 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.3633, allocations: 60.84 kB / 0.5841 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.3634, allocations: 30.19 kB / 0.5842 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3634, allocations: 2.375 kB / 0.5842 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.3634, allocations: 40.47 kB / 0.5842 GB, free: 24.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3634, allocations: 0 / 0.5842 GB, free: 24.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001025/0.3645, allocations: 0.586 MB / 0.5848 GB, free: 23.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.3645, allocations: 55.28 kB / 0.5848 GB, free: 23.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.194e-05/0.3645, allocations: 95.02 kB / 0.5849 GB, free: 23.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.3646, allocations: 25.7 kB / 0.585 GB, free: 23.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.736e-05/0.3646, allocations: 89.23 kB / 0.585 GB, free: 23.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.3646, allocations: 36.83 kB / 0.5851 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.3647, allocations: 28.77 kB / 0.5851 GB, free: 23.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.3647, allocations: 312.5 kB / 0.5854 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.3648, allocations: 33.02 kB / 0.5854 GB, free: 23.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.782e-05/0.3648, allocations: 21.75 kB / 0.5854 GB, free: 23.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.313e-05/0.3649, allocations: 61.03 kB / 0.5855 GB, free: 23.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3649, allocations: 3.938 kB / 0.5855 GB, free: 23.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000132/0.365, allocations: 95.66 kB / 0.5856 GB, free: 23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3651, allocations: 10.94 kB / 0.5856 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3651, allocations: 0 / 0.5856 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3651, allocations: 1.25 kB / 0.5856 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3652, allocations: 26.11 kB / 0.5856 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3652, allocations: 0 / 0.5856 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.3653, allocations: 2.312 kB / 0.5856 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3653, allocations: 6.469 kB / 0.5856 GB, free: 22.98 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.716e-05/0.3653, allocations: 117.9 kB / 0.5858 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.3653, allocations: 10.86 kB / 0.5858 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.3655, allocations: 100.1 kB / 0.5859 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3655, allocations: 1.469 kB / 0.5859 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3656, allocations: 1.656 kB / 0.5859 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3656, allocations: 0 / 0.5859 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.3659, allocations: 356.2 kB / 0.5862 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3659, allocations: 1.156 kB / 0.5862 GB, free: 22.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.366, allocations: 29.23 kB / 0.5862 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.366, allocations: 1.219 kB / 0.5862 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.366, allocations: 2.25 kB / 0.5862 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3661, allocations: 0 / 0.5862 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3661, allocations: 1.188 kB / 0.5862 GB, free: 22.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.3663, allocations: 220.7 kB / 0.5865 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.801e-05/0.3663, allocations: 82.92 kB / 0.5865 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.3663, allocations: 3.5 kB / 0.5865 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.3664, allocations: 4 kB / 0.5865 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.3664, allocations: 7.578 kB / 0.5865 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.3664, allocations: 8.094 kB / 0.5866 GB, free: 22.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.122e-05/0.3665, allocations: 80.75 kB / 0.5866 GB, free: 22.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3665, allocations: 3.562 kB / 0.5866 GB, free: 22.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.3668, allocations: 37.22 kB / 0.5867 GB, free: 22.05 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.0001918/0.367, allocations: 129.3 kB / 0.5868 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.3671, allocations: 66.38 kB / 0.5869 GB, free: 21.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3671, allocations: 5.344 kB / 0.5869 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.872e-05/0.3672, allocations: 29 kB / 0.5869 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.3674, allocations: 10.84 kB / 0.5869 GB, free: 21.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005577/0.368, allocations: 321.7 kB / 0.5872 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.3681, allocations: 0.6883 MB / 0.5879 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.3682, allocations: 17.38 kB / 0.5879 GB, free: 20.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3682, allocations: 0 / 0.5879 GB, free: 20.97 MB / 446.1 MB Notification: Performance of Templates: time 0.002838/0.371, allocations: 1.127 MB / 0.589 GB, free: 20.4 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)