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_DerivativeCheck.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_DerivativeCheck,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.767/2.767, allocations: 287.5 MB / 302.4 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.001379/0.001378, allocations: 174.6 kB / 371 MB, free: 10.86 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.071/2.071, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009214/0.0009211, allocations: 89.83 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.00049, allocations: 12.12 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2057, 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_DerivativeCheck): time 0.001337/0.207, allocations: 0.9899 MB / 0.9794 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2081, allocations: 0.5542 MB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.2082, allocations: 4 kB / 0.98 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.2082, allocations: 3.938 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.2083, allocations: 7.922 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.2089, allocations: 121.5 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.033e-05/0.2089, allocations: 15.94 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.038e-05/0.209, allocations: 7.984 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.486e-05/0.209, allocations: 4 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.2091, allocations: 15.92 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.2091, allocations: 3.938 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006421/0.2098, allocations: 331.3 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.2098, allocations: 7.984 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.2098, allocations: 25.7 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.21, allocations: 100.1 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2101, allocations: 0 / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2101, allocations: 0 / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.138e-06/0.2101, allocations: 0 / 0.9806 GB, free: 26.07 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.0003576/0.2105, allocations: 359.2 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2105, allocations: 20 kB / 0.9809 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.2106, allocations: 30.56 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.2106, allocations: 0 / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.238e-05/0.2107, allocations: 171 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2107, allocations: 0 / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2107, allocations: 0 / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.2109, allocations: 41.69 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2109, allocations: 0 / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.2109, allocations: 4 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.2109, allocations: 0 / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.221e-05/0.211, allocations: 15.98 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.2111, allocations: 161.7 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.2114, allocations: 46.5 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.2114, allocations: 16.86 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.2114, allocations: 4 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.2115, allocations: 38.5 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.2115, allocations: 0 / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.000658/0.2121, allocations: 314.3 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.2122, allocations: 51.41 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.2123, allocations: 93.86 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.2123, allocations: 29.7 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.2123, allocations: 84.14 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.2123, allocations: 19.7 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.2124, allocations: 4 kB / 0.982 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.2124, allocations: 318.7 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.545e-05/0.2125, allocations: 19.92 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.2125, allocations: 12 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.049e-05/0.2126, allocations: 8 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2126, allocations: 4 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001247/0.2127, allocations: 65.58 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2127, allocations: 8 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.2127, allocations: 4 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.2128, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.2129, allocations: 16.06 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2129, allocations: 0 / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.2129, allocations: 0 / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.2129, allocations: 7.984 kB / 0.9825 GB, free: 23.87 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 6.14e-05/0.213, allocations: 113.7 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.213, allocations: 8 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.2132, allocations: 73.59 kB / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2132, allocations: 0 / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2132, allocations: 0 / 0.9826 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.2132, allocations: 7.984 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.2135, allocations: 311.4 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2136, allocations: 0 / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.937e-05/0.2137, allocations: 8 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2137, allocations: 0 / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2137, allocations: 4 kB / 0.983 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.2137, allocations: 4.031 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2137, allocations: 0 / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.2139, allocations: 184.2 kB / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.214, allocations: 93.06 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.214, allocations: 0 / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/0.2141, allocations: 4 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.2141, allocations: 4.062 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.2142, allocations: 4.188 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.718e-05/0.2142, allocations: 83.27 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2142, allocations: 4 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003042/0.2145, allocations: 16 kB / 0.9833 GB, free: 22.86 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.0004389/0.215, allocations: 0.7444 MB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.2151, allocations: 32.16 kB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2151, allocations: 0 / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.056e-05/0.2152, allocations: 19.98 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.2154, allocations: 14.52 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008514/0.2163, allocations: 488.3 kB / 0.9846 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.2164, allocations: 0.6849 MB / 0.9853 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.53e-05/0.2165, allocations: 7.984 kB / 0.9853 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.2165, allocations: 15.42 kB / 0.9853 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.2166, allocations: 0 / 0.9853 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.2362, allocations: 1.394 MB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/0.2365, allocations: 230.7 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/2.624, allocations: 0 / 0.9869 GB, free: 19.34 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)