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_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0009888/0.0009887, allocations: 176.6 kB / 16.08 MB, free: 5.605 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.4531/0.4531, allocations: 89.06 MB / 105.9 MB, free: 12.47 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.272/1.272, allocations: 225.7 MB / 353.3 MB, free: 1.07 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.0007872/0.0007872, allocations: 98.16 kB / 425.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003637, allocations: 11.98 kB / 0.4955 GB, free: 4.488 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2757, allocations: 71.33 MB / 0.5652 GB, free: 42.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001292/0.2771, allocations: 1.167 MB / 0.5663 GB, free: 41.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.278, allocations: 1.068 MB / 0.5674 GB, free: 39.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.2781, allocations: 0 / 0.5674 GB, free: 39.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.2781, allocations: 3.938 kB / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.2782, allocations: 8.516 kB / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.2787, allocations: 144.7 kB / 0.5675 GB, free: 39.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.715e-05/0.2787, allocations: 45.67 kB / 0.5676 GB, free: 39.76 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.2788, allocations: 4 kB / 0.5676 GB, free: 39.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.2788, allocations: 23.92 kB / 0.5676 GB, free: 39.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.652e-05/0.2789, allocations: 27.89 kB / 0.5676 GB, free: 39.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2789, allocations: 9.219 kB / 0.5676 GB, free: 39.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004081/0.2793, allocations: 335.3 kB / 0.568 GB, free: 39.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.2793, allocations: 15.91 kB / 0.568 GB, free: 39.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.2794, allocations: 52.12 kB / 0.568 GB, free: 39.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.2796, allocations: 173.7 kB / 0.5682 GB, free: 39.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2796, allocations: 0 / 0.5682 GB, free: 39.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2797, allocations: 0 / 0.5682 GB, free: 39.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.2797, allocations: 0 / 0.5682 GB, free: 39.13 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004507/0.2801, allocations: 400 kB / 0.5686 GB, free: 38.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2802, allocations: 8.031 kB / 0.5686 GB, free: 38.69 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.2802, allocations: 12.84 kB / 0.5686 GB, free: 38.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.613e-05/0.2803, allocations: 176.2 kB / 0.5688 GB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.2803, allocations: 4.375 kB / 0.5688 GB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.2803, allocations: 8.969 kB / 0.5688 GB, free: 38.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.2806, allocations: 89.61 kB / 0.5689 GB, free: 38.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2806, allocations: 192 / 0.5689 GB, free: 38.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2806, allocations: 3.938 kB / 0.5689 GB, free: 38.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2806, allocations: 4 kB / 0.5689 GB, free: 38.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.2808, allocations: 59.97 kB / 0.5689 GB, free: 38.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.2813, allocations: 332.6 kB / 0.5692 GB, free: 37.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.2815, allocations: 86.53 kB / 0.5693 GB, free: 37.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.888e-05/0.2816, allocations: 32.84 kB / 0.5693 GB, free: 37.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.2816, allocations: 4 kB / 0.5694 GB, free: 37.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.2817, allocations: 34.56 kB / 0.5694 GB, free: 37.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2817, allocations: 0 / 0.5694 GB, free: 37.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001341/0.283, allocations: 0.6735 MB / 0.57 GB, free: 36.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.283, allocations: 55.41 kB / 0.5701 GB, free: 36.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.371e-05/0.2831, allocations: 105.8 kB / 0.5702 GB, free: 36.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.2831, allocations: 25.7 kB / 0.5702 GB, free: 36.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.2831, allocations: 92.08 kB / 0.5703 GB, free: 36.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.2832, allocations: 35.55 kB / 0.5703 GB, free: 36.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.2832, allocations: 7.938 kB / 0.5703 GB, free: 36.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.263e-05/0.2832, allocations: 314.8 kB / 0.5706 GB, free: 36.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.2833, allocations: 39.98 kB / 0.5707 GB, free: 36.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.2834, allocations: 35.97 kB / 0.5707 GB, free: 36.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.2837, allocations: 80.83 kB / 0.5708 GB, free: 36.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2837, allocations: 4 kB / 0.5708 GB, free: 36.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002595/0.2839, allocations: 133.6 kB / 0.5709 GB, free: 36.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.284, allocations: 4 kB / 0.5709 GB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.284, allocations: 0 / 0.5709 GB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.284, allocations: 0 / 0.5709 GB, free: 36.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2841, allocations: 31.98 kB / 0.571 GB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2841, allocations: 0 / 0.571 GB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.91e-05/0.2842, allocations: 7.938 kB / 0.571 GB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.2842, allocations: 7.984 kB / 0.571 GB, free: 35.97 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 5.291e-05/0.2843, allocations: 121.8 kB / 0.5711 GB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.2843, allocations: 7.906 kB / 0.5711 GB, free: 35.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.2846, allocations: 129.6 kB / 0.5712 GB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2846, allocations: 192 / 0.5712 GB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2846, allocations: 3.984 kB / 0.5712 GB, free: 35.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2847, allocations: 11.92 kB / 0.5712 GB, free: 35.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.2851, allocations: 390.4 kB / 0.5716 GB, free: 35.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2851, allocations: 0 / 0.5716 GB, free: 35.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.2852, allocations: 31.97 kB / 0.5716 GB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2852, allocations: 0 / 0.5716 GB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2853, allocations: 11.94 kB / 0.5717 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2853, allocations: 0 / 0.5717 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2853, allocations: 0 / 0.5717 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.2857, allocations: 263.3 kB / 0.5719 GB, free: 34.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.2857, allocations: 81.14 kB / 0.572 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.2857, allocations: 7.938 kB / 0.572 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.2858, allocations: 12.05 kB / 0.572 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.2859, allocations: 4 kB / 0.572 GB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2859, allocations: 11.98 kB / 0.572 GB, free: 34.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.923e-05/0.2859, allocations: 79.28 kB / 0.5721 GB, free: 34.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2859, allocations: 0 / 0.5721 GB, free: 34.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.2861, allocations: 39.94 kB / 0.5721 GB, free: 34.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0001444/0.2863, allocations: 131.2 kB / 0.5723 GB, free: 34.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.2866, allocations: 103.8 kB / 0.5724 GB, free: 34.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2866, allocations: 0 / 0.5724 GB, free: 34.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.2867, allocations: 52.34 kB / 0.5724 GB, free: 34.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.2869, allocations: 10.25 kB / 0.5724 GB, free: 34.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.2874, allocations: 382.5 kB / 0.5728 GB, free: 33.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.818e-05/0.2875, allocations: 0.6926 MB / 0.5735 GB, free: 33.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.55e-05/0.2876, allocations: 16.64 kB / 0.5735 GB, free: 33.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.2876, allocations: 15.44 kB / 0.5735 GB, free: 33.22 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2876, allocations: 0 / 0.5735 GB, free: 33.22 MB / 410.7 MB Notification: Performance of Templates: time 0.002693/0.2903, allocations: 1.1 MB / 0.5746 GB, free: 32.12 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)