Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 288.2 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 182.1 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 0.6305 GB, free: 9.938 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008854/0.0008852, allocations: 95.41 kB / 0.7439 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005761/0.0005762, allocations: 14.94 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3104, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001346/0.3118, allocations: 0.9838 MB / 0.9804 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005594/0.3124, allocations: 343.2 kB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.3125, allocations: 0 / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.3125, allocations: 3.938 kB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.3125, allocations: 11.92 kB / 0.9808 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.3129, allocations: 71.77 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.468e-05/0.313, allocations: 19.97 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.313, allocations: 0 / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.3131, allocations: 4 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.3131, allocations: 15.92 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.3131, allocations: 0 / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.3134, allocations: 179.7 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.407e-06/0.3134, allocations: 7.984 kB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.3134, allocations: 29.7 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.3136, allocations: 60.14 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.3136, allocations: 0 / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3136, allocations: 4 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3136, allocations: 0 / 0.9811 GB, free: 25.88 MB / 0.6198 GB 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.0003899/0.314, allocations: 335.3 kB / 0.9815 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.314, allocations: 12.02 kB / 0.9815 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.3141, allocations: 38.56 kB / 0.9815 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.401e-05/0.3141, allocations: 4 kB / 0.9815 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.82e-05/0.3142, allocations: 163 kB / 0.9817 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3142, allocations: 8 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.3143, allocations: 3.938 kB / 0.9817 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.966e-05/0.3144, allocations: 41.69 kB / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.3144, allocations: 0 / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3144, allocations: 0 / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3144, allocations: 0 / 0.9817 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.3144, allocations: 15.98 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.3146, allocations: 157.7 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.3147, allocations: 46.5 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.3148, allocations: 0 / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3148, allocations: 38.56 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3148, allocations: 0 / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005446/0.3154, allocations: 307.2 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.3154, allocations: 55.39 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.96e-05/0.3155, allocations: 102.2 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.3155, allocations: 25.7 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.808e-05/0.3155, allocations: 80.14 kB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.3155, allocations: 23.7 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.3155, allocations: 0 / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.3156, allocations: 314.8 kB / 0.9828 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.3156, allocations: 15.94 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.3156, allocations: 11.98 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.712e-05/0.3157, allocations: 19.95 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3157, allocations: 4 kB / 0.9829 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.74e-05/0.3158, allocations: 69.52 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.3158, allocations: 4 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3158, allocations: 4 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3158, allocations: 0 / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.3159, allocations: 8 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3159, allocations: 0 / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.3159, allocations: 192 / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.3159, allocations: 4 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.316, allocations: 121.8 kB / 0.9831 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-06/0.316, allocations: 7.984 kB / 0.9831 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3161, allocations: 69.59 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3161, allocations: 0 / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3161, allocations: 0 / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3161, allocations: 0 / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.3164, allocations: 327.5 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3164, allocations: 0 / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.3164, allocations: 12.03 kB / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3164, allocations: 0 / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3165, allocations: 4 kB / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3165, allocations: 0 / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3165, allocations: 0 / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.3166, allocations: 194.1 kB / 0.9837 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.3166, allocations: 85.2 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3167, allocations: 7.984 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.441e-05/0.3167, allocations: 7.938 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.352e-05/0.3168, allocations: 0 / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3168, allocations: 4 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.775e-05/0.3168, allocations: 75.28 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3168, allocations: 4 kB / 0.9839 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002435/0.3171, allocations: 27.92 kB / 0.9839 GB, free: 22.7 MB / 0.6198 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003485/0.3174, allocations: 0.8188 MB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.385e-05/0.3175, allocations: 31.97 kB / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3175, allocations: 0 / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.3175, allocations: 23.92 kB / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.3177, allocations: 6.969 kB / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.3183, allocations: 0.4919 MB / 0.9852 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.3184, allocations: 0.6809 MB / 0.9859 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.3185, allocations: 7.984 kB / 0.9859 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.3185, allocations: 11.44 kB / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.3185, allocations: 0 / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.3299, allocations: 1.377 MB / 0.9872 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.3301, allocations: 235.3 kB / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.931, allocations: 3.938 kB / 0.9875 GB, free: 19.1 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)