Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 182.3 kB / 326.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009267/0.0009268, allocations: 100.5 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003258, allocations: 9.781 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2004, allocations: 106.3 MB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001318/0.2018, allocations: 1.001 MB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005439/0.2024, allocations: 356.3 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.67e-05/0.2024, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.2024, allocations: 0 / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.293e-05/0.2025, allocations: 11.97 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.2028, allocations: 71.77 kB / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.456e-05/0.2028, allocations: 19.97 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.2029, allocations: 4 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.018e-05/0.2029, allocations: 11.92 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.286e-05/0.203, allocations: 11.98 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.203, allocations: 8 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.2032, allocations: 179.7 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.2032, allocations: 8 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.2033, allocations: 33.64 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2034, allocations: 64.08 kB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2034, allocations: 0 / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2034, allocations: 0 / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2034, allocations: 0 / 0.9019 GB, free: 62.03 MB / 0.6042 GB 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.00029/0.2037, allocations: 335.4 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.2037, allocations: 12.03 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.2038, allocations: 42.56 kB / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.2038, allocations: 0 / 0.9022 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.5e-05/0.2039, allocations: 171 kB / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.2039, allocations: 0 / 0.9024 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.2039, allocations: 11.91 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.2041, allocations: 45.69 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2041, allocations: 3.938 kB / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.2041, allocations: 0 / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2041, allocations: 0 / 0.9025 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.492e-05/0.2041, allocations: 27.97 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.2043, allocations: 165.6 kB / 0.9026 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.689e-05/0.2044, allocations: 58.55 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2044, allocations: 0 / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2045, allocations: 38.56 kB / 0.9027 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.2045, allocations: 3.938 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0009369/0.2054, allocations: 0.5965 MB / 0.9033 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.276e-05/0.2054, allocations: 51.41 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.087e-05/0.2055, allocations: 93.86 kB / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.2055, allocations: 25.83 kB / 0.9035 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.777e-05/0.2055, allocations: 92 kB / 0.9036 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.2056, allocations: 35.45 kB / 0.9036 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.2056, allocations: 0 / 0.9036 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.492e-05/0.2056, allocations: 326.8 kB / 0.9039 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.2057, allocations: 20 kB / 0.9039 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.093e-05/0.2057, allocations: 19.98 kB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.144e-05/0.2058, allocations: 22.38 kB / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.2058, allocations: 0 / 0.904 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000112/0.2059, allocations: 105.5 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2059, allocations: 12 kB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2059, allocations: 0 / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2059, allocations: 0 / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.67e-05/0.206, allocations: 19.94 kB / 0.9041 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2061, allocations: 4 kB / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.2061, allocations: 4 kB / 0.9041 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.2061, allocations: 7.984 kB / 0.9041 GB, free: 59.41 MB / 0.6042 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 (13): * Single equations (assignments): 13 * 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.741e-05/0.2062, allocations: 113.8 kB / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.2062, allocations: 11.91 kB / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.2063, allocations: 101.6 kB / 0.9043 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2064, allocations: 7.984 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2064, allocations: 0 / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2064, allocations: 3.984 kB / 0.9044 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.2067, allocations: 350.4 kB / 0.9047 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2067, allocations: 4.078 kB / 0.9047 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.875e-05/0.2068, allocations: 23.94 kB / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2068, allocations: 0 / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2068, allocations: 8 kB / 0.9047 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2068, allocations: 0 / 0.9047 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2068, allocations: 0 / 0.9047 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.207, allocations: 231.5 kB / 0.9049 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.2071, allocations: 77.11 kB / 0.905 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2071, allocations: 4.031 kB / 0.905 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.2072, allocations: 4 kB / 0.905 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.2072, allocations: 8.047 kB / 0.905 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.2072, allocations: 8 kB / 0.905 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.658e-05/0.2072, allocations: 79.28 kB / 0.9051 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2072, allocations: 0 / 0.9051 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002458/0.2075, allocations: 39.92 kB / 0.9052 GB, free: 58.25 MB / 0.6042 GB 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 (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.0003883/0.2079, allocations: 0.7835 MB / 0.9059 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.208, allocations: 55.98 kB / 0.906 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.208, allocations: 0 / 0.906 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.832e-05/0.208, allocations: 35.92 kB / 0.906 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.2082, allocations: 8 kB / 0.906 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000769/0.209, allocations: 0.6552 MB / 0.9067 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.2091, allocations: 0.6887 MB / 0.9073 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.141e-05/0.2092, allocations: 8 kB / 0.9073 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.2092, allocations: 19.5 kB / 0.9074 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of SimCode: time 7.42e-07/0.2092, allocations: 0 / 0.9074 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.2236, allocations: 1.805 MB / 0.9091 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.2238, allocations: 226.7 kB / 0.9093 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/1.744, allocations: 1.781 kB / 0.9093 GB, free: 54.06 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)