Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 188.4 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 65.48 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2262, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002271/0.2285, allocations: 1.264 MB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009128/0.2294, allocations: 0.611 MB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.2294, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.2295, allocations: 4 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.947e-05/0.2295, allocations: 3.938 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.23, allocations: 143.4 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.624e-05/0.2301, allocations: 23.86 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.416e-05/0.2301, allocations: 8 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.2302, allocations: 11.98 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.2302, allocations: 7.938 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.2303, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.2307, allocations: 343.3 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.2307, allocations: 4 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.2308, allocations: 11.94 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.231, allocations: 151.9 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.231, allocations: 0 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.231, allocations: 0 / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.231, allocations: 4 kB / 0.7861 GB, free: 10.65 MB / 0.6075 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.0003764/0.2314, allocations: 363.4 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2314, allocations: 8.031 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.2315, allocations: 38.73 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.2315, allocations: 0.9375 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.2316, allocations: 160.4 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2316, allocations: 4.375 kB / 0.7867 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.2317, allocations: 8.312 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.783e-05/0.2318, allocations: 38.25 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.2318, allocations: 7.938 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2318, allocations: 7.984 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2318, allocations: 0 / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.036e-05/0.2318, allocations: 11.98 kB / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.232, allocations: 157.7 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.2322, allocations: 46.5 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.2322, allocations: 16.86 kB / 0.787 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.2322, allocations: 4 kB / 0.787 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2323, allocations: 34.56 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2323, allocations: 0 / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005888/0.2329, allocations: 318.1 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.2329, allocations: 51.41 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.233, allocations: 93.86 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.233, allocations: 33.7 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.2331, allocations: 96 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.2331, allocations: 19.7 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.2331, allocations: 17.72 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2333, allocations: 314.8 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.2333, allocations: 11.98 kB / 0.7879 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.2333, allocations: 12 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.634e-05/0.2334, allocations: 32.8 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.2334, allocations: 0 / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.579e-05/0.2335, allocations: 73.62 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2335, allocations: 4 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.2335, allocations: 0 / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2335, allocations: 0 / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.521e-05/0.2336, allocations: 15.98 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2336, allocations: 0 / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.2336, allocations: 0 / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.2336, allocations: 0 / 0.7881 GB, free: 8.41 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.924e-05/0.2337, allocations: 118.4 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.2337, allocations: 7.938 kB / 0.7882 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.2339, allocations: 77.58 kB / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2339, allocations: 0 / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2339, allocations: 0 / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2339, allocations: 0 / 0.7883 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003849/0.2343, allocations: 319.5 kB / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2343, allocations: 0 / 0.7886 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.2344, allocations: 15.98 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2344, allocations: 0.5156 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2344, allocations: 12.03 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2344, allocations: 240 / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2344, allocations: 0 / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.2346, allocations: 184.2 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.2346, allocations: 85.12 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.2347, allocations: 0 / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.2347, allocations: 8.047 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.2348, allocations: 7.984 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.2348, allocations: 4 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.746e-05/0.2348, allocations: 79.28 kB / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2348, allocations: 3.938 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002439/0.2351, allocations: 20 kB / 0.789 GB, free: 7.371 MB / 0.6075 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 (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.0005062/0.2356, allocations: 0.7405 MB / 0.7897 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.2357, allocations: 35.92 kB / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2357, allocations: 3.938 kB / 0.7897 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.426e-05/0.2357, allocations: 12 kB / 0.7897 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.236, allocations: 14.98 kB / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.2372, allocations: 1.32 MB / 0.791 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.2374, allocations: 0.6807 MB / 0.7917 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.2375, allocations: 8.141 kB / 0.7917 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.2375, allocations: 18.09 kB / 0.7917 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2375, allocations: 0 / 0.7917 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.2571, allocations: 1.589 MB / 0.7933 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.732, allocations: 5.906 kB / 0.7933 GB, free: 2.984 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)