Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 174.8 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4718/0.4718, allocations: 89.07 MB / 105.9 MB, free: 12.44 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 225.7 MB / 353.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000692/0.000692, allocations: 89.17 kB / 425.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 12 kB / 0.4955 GB, free: 4.527 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2743, allocations: 71.33 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001071/0.2754, allocations: 0.9917 MB / 0.5662 GB, free: 41.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008461/0.2763, allocations: 1.055 MB / 0.5672 GB, free: 40.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.517e-05/0.2763, allocations: 0 / 0.5672 GB, free: 40.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.2764, allocations: 0 / 0.5672 GB, free: 40.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.78e-05/0.2764, allocations: 3.938 kB / 0.5672 GB, free: 40.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.2768, allocations: 125.5 kB / 0.5673 GB, free: 40.05 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.186e-05/0.2768, allocations: 27.91 kB / 0.5674 GB, free: 40.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.2769, allocations: 0 / 0.5674 GB, free: 40.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.073e-05/0.2769, allocations: 15.94 kB / 0.5674 GB, free: 40.01 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.712e-05/0.277, allocations: 11.98 kB / 0.5674 GB, free: 40 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.277, allocations: 0.5 kB / 0.5674 GB, free: 40 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003831/0.2774, allocations: 348.2 kB / 0.5677 GB, free: 39.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.2774, allocations: 0 / 0.5677 GB, free: 39.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.2774, allocations: 42.45 kB / 0.5678 GB, free: 39.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.2776, allocations: 153.7 kB / 0.5679 GB, free: 39.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2777, allocations: 0 / 0.5679 GB, free: 39.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2777, allocations: 2.625 kB / 0.5679 GB, free: 39.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.2777, allocations: 3.938 kB / 0.5679 GB, free: 39.46 MB / 410.7 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.0002953/0.278, allocations: 363.4 kB / 0.5683 GB, free: 39.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.278, allocations: 12.03 kB / 0.5683 GB, free: 39.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.2781, allocations: 0.9375 kB / 0.5683 GB, free: 39.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.239e-05/0.2781, allocations: 167.3 kB / 0.5684 GB, free: 38.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.2781, allocations: 384 / 0.5684 GB, free: 38.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.2782, allocations: 16.3 kB / 0.5684 GB, free: 38.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.2783, allocations: 46.25 kB / 0.5685 GB, free: 38.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2783, allocations: 192 / 0.5685 GB, free: 38.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2783, allocations: 3.938 kB / 0.5685 GB, free: 38.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.2783, allocations: 0 / 0.5685 GB, free: 38.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.437e-05/0.2784, allocations: 20.55 kB / 0.5685 GB, free: 38.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.2785, allocations: 176.9 kB / 0.5687 GB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.606e-05/0.2786, allocations: 58.5 kB / 0.5687 GB, free: 38.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.2786, allocations: 32.84 kB / 0.5688 GB, free: 38.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2787, allocations: 0 / 0.5688 GB, free: 38.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.2787, allocations: 42.56 kB / 0.5688 GB, free: 38.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.2787, allocations: 4 kB / 0.5688 GB, free: 38.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008533/0.2795, allocations: 0.584 MB / 0.5694 GB, free: 37.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/0.2796, allocations: 51.41 kB / 0.5694 GB, free: 37.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.186e-05/0.2796, allocations: 105.8 kB / 0.5695 GB, free: 37.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-06/0.2796, allocations: 25.7 kB / 0.5696 GB, free: 37.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.364e-05/0.2797, allocations: 84.14 kB / 0.5696 GB, free: 37.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.2797, allocations: 35.45 kB / 0.5697 GB, free: 37.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.2797, allocations: 4 kB / 0.5697 GB, free: 37.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.894e-05/0.2797, allocations: 318.8 kB / 0.57 GB, free: 37.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-05/0.2798, allocations: 19.98 kB / 0.57 GB, free: 37.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/0.2798, allocations: 27.98 kB / 0.57 GB, free: 37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.008e-05/0.2799, allocations: 56.92 kB / 0.5701 GB, free: 36.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.2799, allocations: 4 kB / 0.5701 GB, free: 36.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001067/0.28, allocations: 97.53 kB / 0.5702 GB, free: 36.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.28, allocations: 7.906 kB / 0.5702 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.28, allocations: 4 kB / 0.5702 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.28, allocations: 0 / 0.5702 GB, free: 36.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.2801, allocations: 23.98 kB / 0.5702 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2802, allocations: 8.016 kB / 0.5702 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.2802, allocations: 7.938 kB / 0.5702 GB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.2802, allocations: 0 / 0.5702 GB, free: 36.79 MB / 410.7 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 4.881e-05/0.2802, allocations: 121.8 kB / 0.5703 GB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.2803, allocations: 7.938 kB / 0.5703 GB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.2804, allocations: 101.6 kB / 0.5704 GB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2804, allocations: 0 / 0.5704 GB, free: 36.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2804, allocations: 4 kB / 0.5704 GB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2804, allocations: 3.938 kB / 0.5704 GB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.2807, allocations: 350.4 kB / 0.5708 GB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2807, allocations: 4 kB / 0.5708 GB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.464e-05/0.2808, allocations: 27.98 kB / 0.5708 GB, free: 36.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2808, allocations: 0 / 0.5708 GB, free: 36.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2808, allocations: 4 kB / 0.5708 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2809, allocations: 3.938 kB / 0.5708 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2809, allocations: 0 / 0.5708 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.281, allocations: 219.7 kB / 0.571 GB, free: 35.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.526e-05/0.2811, allocations: 81.02 kB / 0.5711 GB, free: 35.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.2811, allocations: 0 / 0.5711 GB, free: 35.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.2812, allocations: 8.094 kB / 0.5711 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.2812, allocations: 7.984 kB / 0.5711 GB, free: 35.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.2812, allocations: 4 kB / 0.5711 GB, free: 35.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.542e-05/0.2812, allocations: 79.28 kB / 0.5712 GB, free: 35.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2812, allocations: 0 / 0.5712 GB, free: 35.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.2815, allocations: 35.94 kB / 0.5712 GB, free: 35.63 MB / 410.7 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.0001518/0.2816, allocations: 143.1 kB / 0.5714 GB, free: 35.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.2817, allocations: 72 kB / 0.5714 GB, free: 35.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2817, allocations: 0 / 0.5714 GB, free: 35.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.678e-05/0.2818, allocations: 35.92 kB / 0.5715 GB, free: 35.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.282, allocations: 4 kB / 0.5715 GB, free: 35.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.2824, allocations: 337.5 kB / 0.5718 GB, free: 35.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.712e-05/0.2825, allocations: 0.6888 MB / 0.5725 GB, free: 34.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.122e-05/0.2825, allocations: 8 kB / 0.5725 GB, free: 34.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.2826, allocations: 15.42 kB / 0.5725 GB, free: 34.28 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2826, allocations: 3.938 kB / 0.5725 GB, free: 34.28 MB / 410.7 MB Notification: Performance of Templates: time 0.002474/0.2851, allocations: 0.9054 MB / 0.5734 GB, free: 33.38 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)