Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.605/2.605, allocations: 287.5 MB / 302.4 MB, free: 8.199 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.001863/0.001863, allocations: 174.3 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.073/2.073, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009733/0.0009729, allocations: 88.19 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004791, allocations: 11.72 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.202, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001337/0.2034, allocations: 0.996 MB / 0.9794 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2045, allocations: 0.5697 MB / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.2045, allocations: 0 / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.2046, allocations: 0 / 0.98 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.2046, allocations: 3.938 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.2052, allocations: 127.6 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.936e-05/0.2053, allocations: 23.92 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.2053, allocations: 4 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.2054, allocations: 15.88 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/0.2054, allocations: 15.92 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.2055, allocations: 4 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/0.2061, allocations: 331.4 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.2061, allocations: 7.938 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.2062, allocations: 33.7 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.2064, allocations: 104 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2064, allocations: 0 / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2064, allocations: 0 / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2064, allocations: 0 / 0.9806 GB, free: 26.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003627/0.2068, allocations: 359.2 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2069, allocations: 16.02 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.2069, allocations: 34.56 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.2069, allocations: 4 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.875e-05/0.207, allocations: 175 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.2071, allocations: 7.938 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.2071, allocations: 11.94 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.2072, allocations: 45.69 kB / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.2072, allocations: 0 / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2073, allocations: 0 / 0.9812 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.2073, allocations: 3.984 kB / 0.9813 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.477e-05/0.2074, allocations: 23.97 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.2075, allocations: 169.5 kB / 0.9814 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2077, allocations: 66.48 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.2077, allocations: 28.8 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.2078, allocations: 7.984 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.2078, allocations: 30.56 kB / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2078, allocations: 0 / 0.9816 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001279/0.2091, allocations: 0.5841 MB / 0.9821 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.2091, allocations: 51.41 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.385e-05/0.2092, allocations: 97.86 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2092, allocations: 29.64 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.883e-05/0.2092, allocations: 80.27 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.2093, allocations: 51.45 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.2093, allocations: 0 / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.2094, allocations: 318.8 kB / 0.9827 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.2094, allocations: 19.98 kB / 0.9828 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.2095, allocations: 23.98 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.194e-05/0.2096, allocations: 29.06 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2096, allocations: 0 / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001901/0.2098, allocations: 98.22 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2098, allocations: 6.5 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2098, allocations: 4 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2099, allocations: 0 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.21, allocations: 23.98 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2101, allocations: 0 / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.2101, allocations: 96 / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2101, allocations: 11.94 kB / 0.9829 GB, free: 23.34 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 (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 6.965e-05/0.2102, allocations: 121.7 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.2102, allocations: 3.984 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.2105, allocations: 109.6 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2105, allocations: 0 / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2105, allocations: 0 / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2105, allocations: 0 / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.2109, allocations: 362.4 kB / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.211, allocations: 0 / 0.9835 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.2111, allocations: 19.98 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2112, allocations: 0 / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2112, allocations: 8 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2112, allocations: 0 / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.2112, allocations: 4 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.2115, allocations: 219.3 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.2115, allocations: 85.05 kB / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.2116, allocations: 0 / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.2117, allocations: 4 kB / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.2117, allocations: 7.984 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.2117, allocations: 4 kB / 0.9838 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.392e-05/0.2118, allocations: 83.34 kB / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2118, allocations: 0 / 0.9839 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003341/0.2121, allocations: 32 kB / 0.984 GB, free: 22.2 MB / 0.6198 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.0005731/0.2127, allocations: 0.7826 MB / 0.9847 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001769/0.2129, allocations: 61.88 kB / 0.9848 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2129, allocations: 7.938 kB / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.968e-05/0.213, allocations: 35.92 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.2133, allocations: 8 kB / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.2144, allocations: 0.6489 MB / 0.9855 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.2146, allocations: 0.6848 MB / 0.9861 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.092e-05/0.2147, allocations: 11.92 kB / 0.9861 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.2147, allocations: 24.55 kB / 0.9862 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of SimCode: time 8.12e-07/0.2147, allocations: 8.062 kB / 0.9862 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.2371, allocations: 1.807 MB / 0.9879 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.2374, allocations: 231.9 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/2.754, allocations: 0 / 0.9882 GB, free: 17.98 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)