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_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.0008708/0.0008708, allocations: 183.8 kB / 16.08 MB, free: 5.52 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.4455/0.4455, allocations: 89.07 MB / 105.9 MB, free: 12.45 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.251/1.251, 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.0007747/0.0007747, allocations: 92.5 kB / 425.4 MB, free: 6.672 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003877, allocations: 8 kB / 0.4955 GB, free: 4.559 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2922, allocations: 71.34 MB / 0.5652 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001066/0.2934, allocations: 0.9888 MB / 0.5662 GB, free: 41.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008399/0.2942, allocations: 1.05 MB / 0.5672 GB, free: 40.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.513e-05/0.2942, allocations: 0 / 0.5672 GB, free: 40.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.2943, allocations: 5.219 kB / 0.5672 GB, free: 40.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.569e-05/0.2943, allocations: 3.938 kB / 0.5672 GB, free: 40.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.2947, allocations: 124.1 kB / 0.5673 GB, free: 40.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.797e-05/0.2947, allocations: 21.91 kB / 0.5673 GB, free: 40.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.2948, allocations: 0 / 0.5673 GB, free: 40.07 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.952e-05/0.2948, allocations: 11.92 kB / 0.5674 GB, free: 40.06 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/0.2949, allocations: 8 kB / 0.5674 GB, free: 40.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.2949, allocations: 0 / 0.5674 GB, free: 40.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.2953, allocations: 344.3 kB / 0.5677 GB, free: 39.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.2953, allocations: 0 / 0.5677 GB, free: 39.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.2953, allocations: 33.64 kB / 0.5677 GB, free: 39.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.2955, allocations: 154.9 kB / 0.5679 GB, free: 39.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2955, allocations: 0 / 0.5679 GB, free: 39.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2955, allocations: 0 / 0.5679 GB, free: 39.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.2955, allocations: 0.6875 kB / 0.5679 GB, free: 39.53 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.0002863/0.2958, allocations: 358 kB / 0.5682 GB, free: 39.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2959, allocations: 8.031 kB / 0.5682 GB, free: 39.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.841e-05/0.2959, allocations: 2.125 kB / 0.5682 GB, free: 39.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.044e-05/0.296, allocations: 172.3 kB / 0.5684 GB, free: 38.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.296, allocations: 3.312 kB / 0.5684 GB, free: 38.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.296, allocations: 384 / 0.5684 GB, free: 38.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.377e-05/0.2961, allocations: 42.25 kB / 0.5684 GB, free: 38.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2961, allocations: 192 / 0.5684 GB, free: 38.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.2961, allocations: 7.875 kB / 0.5684 GB, free: 38.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2961, allocations: 3.938 kB / 0.5684 GB, free: 38.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.241e-05/0.2962, allocations: 12 kB / 0.5685 GB, free: 38.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.2963, allocations: 157.4 kB / 0.5686 GB, free: 38.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.2965, allocations: 42.61 kB / 0.5686 GB, free: 38.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.2965, allocations: 20.94 kB / 0.5687 GB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.2965, allocations: 0 / 0.5687 GB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.2965, allocations: 38.56 kB / 0.5687 GB, free: 38.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.2965, allocations: 3.938 kB / 0.5687 GB, free: 38.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004579/0.297, allocations: 318.4 kB / 0.569 GB, free: 38.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.526e-05/0.297, allocations: 51.41 kB / 0.5691 GB, free: 38.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.508e-05/0.2971, allocations: 97.84 kB / 0.5692 GB, free: 37.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.2971, allocations: 25.7 kB / 0.5692 GB, free: 37.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.48e-05/0.2971, allocations: 84.14 kB / 0.5693 GB, free: 37.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.2971, allocations: 19.66 kB / 0.5693 GB, free: 37.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.2971, allocations: 4 kB / 0.5693 GB, free: 37.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.419e-05/0.2972, allocations: 318.8 kB / 0.5696 GB, free: 37.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.2972, allocations: 15.94 kB / 0.5696 GB, free: 37.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.2972, allocations: 11.98 kB / 0.5696 GB, free: 37.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.455e-05/0.2973, allocations: 33 kB / 0.5696 GB, free: 37.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.2973, allocations: 0 / 0.5696 GB, free: 37.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.377e-05/0.2974, allocations: 73.61 kB / 0.5697 GB, free: 37.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.2974, allocations: 7.938 kB / 0.5697 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2974, allocations: 0 / 0.5697 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2974, allocations: 4 kB / 0.5697 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/0.2974, allocations: 12 kB / 0.5697 GB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2975, allocations: 0 / 0.5697 GB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.2975, allocations: 0 / 0.5697 GB, free: 37.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.2975, allocations: 4 kB / 0.5697 GB, free: 37.36 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.966e-05/0.2975, allocations: 109.8 kB / 0.5698 GB, free: 37.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.2975, allocations: 7.938 kB / 0.5698 GB, free: 37.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.2977, allocations: 73.58 kB / 0.5699 GB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2977, allocations: 0 / 0.5699 GB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2977, allocations: 0 / 0.5699 GB, free: 37.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2977, allocations: 4 kB / 0.5699 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.2979, allocations: 315.4 kB / 0.5702 GB, free: 36.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2979, allocations: 3.938 kB / 0.5702 GB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.298, allocations: 11.98 kB / 0.5702 GB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.298, allocations: 0 / 0.5702 GB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.298, allocations: 8 kB / 0.5702 GB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.298, allocations: 0 / 0.5702 GB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.298, allocations: 0 / 0.5702 GB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.2981, allocations: 184.2 kB / 0.5704 GB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.2982, allocations: 85.14 kB / 0.5705 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.2982, allocations: 256 / 0.5705 GB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.2983, allocations: 11.98 kB / 0.5705 GB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.2983, allocations: 0 / 0.5705 GB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.2983, allocations: 4 kB / 0.5705 GB, free: 36.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.676e-05/0.2983, allocations: 79.28 kB / 0.5706 GB, free: 36.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2983, allocations: 4.062 kB / 0.5706 GB, free: 36.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002069/0.2985, allocations: 20 kB / 0.5706 GB, free: 36.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001295/0.2987, allocations: 139.1 kB / 0.5708 GB, free: 36.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.639e-05/0.2987, allocations: 27.94 kB / 0.5708 GB, free: 36.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2987, allocations: 0 / 0.5708 GB, free: 36.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.17e-05/0.2988, allocations: 19.98 kB / 0.5708 GB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.299, allocations: 9.969 kB / 0.5708 GB, free: 36.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.2993, allocations: 221.7 kB / 0.571 GB, free: 35.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.255e-05/0.2994, allocations: 0.6848 MB / 0.5717 GB, free: 35.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.925e-05/0.2994, allocations: 11.92 kB / 0.5717 GB, free: 35.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.441e-05/0.2994, allocations: 11.38 kB / 0.5717 GB, free: 35.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2994, allocations: 0 / 0.5717 GB, free: 35.16 MB / 410.7 MB Notification: Performance of Templates: time 0.002151/0.3016, allocations: 0.6344 MB / 0.5723 GB, free: 34.53 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)