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_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009977/0.0009977, allocations: 173.7 kB / 16.08 MB, free: 5.602 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.4434/0.4434, 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.23/1.23, allocations: 225.7 MB / 353.2 MB, free: 1.102 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.0008591/0.0008591, allocations: 96.41 kB / 425.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002884, allocations: 12 kB / 0.4955 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2649, 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_DerivativeCheck): time 0.001043/0.266, allocations: 0.9761 MB / 0.5662 GB, free: 41.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008496/0.2668, allocations: 1.051 MB / 0.5672 GB, free: 40.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.436e-05/0.2669, allocations: 0 / 0.5672 GB, free: 40.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.2669, allocations: 0 / 0.5672 GB, free: 40.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.329e-05/0.2669, allocations: 11.91 kB / 0.5672 GB, free: 40.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.2673, allocations: 117 kB / 0.5673 GB, free: 40.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.741e-05/0.2674, allocations: 20.92 kB / 0.5673 GB, free: 40.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.657e-05/0.2674, allocations: 4 kB / 0.5673 GB, free: 40.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.2674, allocations: 4 kB / 0.5673 GB, free: 40.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.2675, allocations: 17.16 kB / 0.5673 GB, free: 40.03 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.2675, allocations: 0 / 0.5673 GB, free: 40.03 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.2679, allocations: 331.3 kB / 0.5677 GB, free: 39.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.2679, allocations: 13.09 kB / 0.5677 GB, free: 39.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.2679, allocations: 33.64 kB / 0.5677 GB, free: 39.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.2681, allocations: 145.8 kB / 0.5678 GB, free: 39.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2681, allocations: 5 kB / 0.5679 GB, free: 39.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2681, allocations: 0 / 0.5679 GB, free: 39.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.2681, allocations: 0 / 0.5679 GB, free: 39.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002773/0.2684, allocations: 362.8 kB / 0.5682 GB, free: 39.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.2685, allocations: 8.031 kB / 0.5682 GB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.2685, allocations: 4.938 kB / 0.5682 GB, free: 39.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.897e-05/0.2686, allocations: 171.2 kB / 0.5684 GB, free: 38.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.2686, allocations: 384 / 0.5684 GB, free: 38.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.2686, allocations: 4.375 kB / 0.5684 GB, free: 38.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.953e-05/0.2687, allocations: 42.25 kB / 0.5684 GB, free: 38.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2687, allocations: 192 / 0.5684 GB, free: 38.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.2687, allocations: 7.938 kB / 0.5684 GB, free: 38.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2687, allocations: 0 / 0.5684 GB, free: 38.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.2688, allocations: 15.92 kB / 0.5684 GB, free: 38.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.2689, allocations: 165.1 kB / 0.5686 GB, free: 38.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.269, allocations: 38.56 kB / 0.5686 GB, free: 38.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.564e-05/0.2691, allocations: 16.86 kB / 0.5687 GB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.2691, allocations: 4 kB / 0.5687 GB, free: 38.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.2691, allocations: 38.56 kB / 0.5687 GB, free: 38.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2691, allocations: 0 / 0.5687 GB, free: 38.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004445/0.2696, allocations: 314.1 kB / 0.569 GB, free: 38.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.587e-05/0.2696, allocations: 55.41 kB / 0.569 GB, free: 38.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.568e-05/0.2696, allocations: 93.86 kB / 0.5691 GB, free: 37.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.2697, allocations: 29.7 kB / 0.5692 GB, free: 37.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.258e-05/0.2697, allocations: 80.14 kB / 0.5692 GB, free: 37.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.2697, allocations: 27.64 kB / 0.5693 GB, free: 37.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.2697, allocations: 4 kB / 0.5693 GB, free: 37.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.2697, allocations: 314.8 kB / 0.5696 GB, free: 37.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.2698, allocations: 11.98 kB / 0.5696 GB, free: 37.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.2698, allocations: 11.98 kB / 0.5696 GB, free: 37.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.2698, allocations: 32.86 kB / 0.5696 GB, free: 37.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.2698, allocations: 0 / 0.5696 GB, free: 37.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.505e-05/0.2699, allocations: 66.14 kB / 0.5697 GB, free: 37.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.2699, allocations: 11.84 kB / 0.5697 GB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.27, allocations: 4 kB / 0.5697 GB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.27, allocations: 0 / 0.5697 GB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.712e-05/0.27, allocations: 15.98 kB / 0.5697 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.27, allocations: 0 / 0.5697 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.2701, allocations: 4 kB / 0.5697 GB, free: 37.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.2701, allocations: 0 / 0.5697 GB, free: 37.34 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 (7): * Single equations (assignments): 7 * 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 3.893e-05/0.2701, allocations: 110.5 kB / 0.5698 GB, free: 37.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.2701, allocations: 7.938 kB / 0.5698 GB, free: 37.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.2702, allocations: 77.56 kB / 0.5699 GB, free: 37.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.2703, allocations: 8 kB / 0.5699 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2703, allocations: 0 / 0.5699 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.2703, allocations: 3.938 kB / 0.5699 GB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.2705, allocations: 319.5 kB / 0.5702 GB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2705, allocations: 0 / 0.5702 GB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.2706, allocations: 12 kB / 0.5702 GB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2706, allocations: 3.984 kB / 0.5702 GB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.2706, allocations: 3.938 kB / 0.5702 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2706, allocations: 0 / 0.5702 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2706, allocations: 8.031 kB / 0.5703 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.2707, allocations: 180.2 kB / 0.5704 GB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.2707, allocations: 85.09 kB / 0.5705 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.2708, allocations: 4.031 kB / 0.5705 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.2708, allocations: 0 / 0.5705 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.2709, allocations: 4 kB / 0.5705 GB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.2709, allocations: 8.047 kB / 0.5705 GB, free: 36.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.718e-05/0.2709, allocations: 83.28 kB / 0.5706 GB, free: 36.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2709, allocations: 0 / 0.5706 GB, free: 36.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.2711, allocations: 20 kB / 0.5706 GB, free: 36.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001184/0.2712, allocations: 123.2 kB / 0.5707 GB, free: 36.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.776e-05/0.2713, allocations: 35.92 kB / 0.5708 GB, free: 36.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2713, allocations: 0 / 0.5708 GB, free: 36.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.076e-05/0.2714, allocations: 16 kB / 0.5708 GB, free: 36.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.2716, allocations: 15.98 kB / 0.5708 GB, free: 36.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.2719, allocations: 225.6 kB / 0.571 GB, free: 35.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.3e-05/0.272, allocations: 0.6809 MB / 0.5717 GB, free: 35.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.779e-05/0.272, allocations: 4.391 kB / 0.5717 GB, free: 35.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.305e-05/0.272, allocations: 11.44 kB / 0.5717 GB, free: 35.13 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.272, allocations: 0 / 0.5717 GB, free: 35.13 MB / 410.7 MB Notification: Performance of Templates: time 0.002111/0.2741, allocations: 0.6075 MB / 0.5723 GB, free: 34.52 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)