Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.151/1.151, allocations: 205.1 MB / 222 MB, free: 4.945 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.691/1.691, allocations: 292.3 MB / 0.5484 GB, free: 13.61 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.001358/0.001358, allocations: 68.28 kB / 0.6709 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1841, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002379/0.1865, allocations: 1.553 MB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1876, allocations: 0.6472 MB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.1876, allocations: 0 / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.1876, allocations: 0 / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.513e-05/0.1877, allocations: 3.938 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.1881, allocations: 135.6 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.1882, allocations: 55.78 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.1883, allocations: 4 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.091e-05/0.1883, allocations: 27.91 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.019e-05/0.1884, allocations: 23.92 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1884, allocations: 4 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.1888, allocations: 343.4 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.1889, allocations: 11.94 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.1889, allocations: 31.78 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1892, allocations: 163.9 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1892, allocations: 0 / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.01e-07/0.1892, allocations: 0 / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.1892, allocations: 4 kB / 0.7857 GB, free: 10.88 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000555/0.1898, allocations: 403.3 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1898, allocations: 8.031 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.1899, allocations: 42.69 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.1899, allocations: 12.83 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.19, allocations: 168.3 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.19, allocations: 8.375 kB / 0.7863 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1901, allocations: 8.281 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.1903, allocations: 82.22 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1903, allocations: 3.938 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1903, allocations: 8 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.1903, allocations: 0 / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.1906, allocations: 51.89 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.1911, allocations: 316.7 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.1914, allocations: 82.47 kB / 0.7869 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.1915, allocations: 36.77 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1916, allocations: 0 / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1916, allocations: 38.56 kB / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1916, allocations: 0 / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001608/0.1932, allocations: 0.642 MB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1933, allocations: 55.41 kB / 0.7876 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.1933, allocations: 101.8 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1934, allocations: 29.8 kB / 0.7877 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.1934, allocations: 92.06 kB / 0.7878 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.1934, allocations: 47.34 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.1935, allocations: 21.72 kB / 0.7879 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1936, allocations: 326.8 kB / 0.7882 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1937, allocations: 27.98 kB / 0.7882 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.1939, allocations: 35.91 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.1941, allocations: 75.33 kB / 0.7883 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1941, allocations: 0 / 0.7883 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003177/0.1945, allocations: 117.8 kB / 0.7884 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1945, allocations: 7.938 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1945, allocations: 0 / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.1945, allocations: 4 kB / 0.7885 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1947, allocations: 31.92 kB / 0.7885 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1947, allocations: 4.25 kB / 0.7885 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.1947, allocations: 11.98 kB / 0.7885 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1948, allocations: 4 kB / 0.7885 GB, free: 7.695 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 (13): * Single equations (assignments): 13 * 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 7.357e-05/0.1948, allocations: 118.7 kB / 0.7886 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.1949, allocations: 7.906 kB / 0.7886 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003727/0.1953, allocations: 133.5 kB / 0.7888 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.1953, allocations: 0 / 0.7888 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1953, allocations: 3.938 kB / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1953, allocations: 0 / 0.7888 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/0.1958, allocations: 382.5 kB / 0.7891 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1959, allocations: 0 / 0.7891 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.196, allocations: 31.92 kB / 0.7892 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.196, allocations: 3.938 kB / 0.7892 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.196, allocations: 0 / 0.7892 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1961, allocations: 4 kB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1961, allocations: 0 / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.1966, allocations: 255.6 kB / 0.7894 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.1966, allocations: 77.11 kB / 0.7895 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.1966, allocations: 7.969 kB / 0.7895 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1968, allocations: 11.92 kB / 0.7895 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.1968, allocations: 11.98 kB / 0.7895 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1968, allocations: 0 / 0.7895 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.1968, allocations: 79.28 kB / 0.7896 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1968, allocations: 0 / 0.7896 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002772/0.1971, allocations: 44.05 kB / 0.7896 GB, free: 6.438 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (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.0008273/0.198, allocations: 0.8215 MB / 0.7904 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.1983, allocations: 90.81 kB / 0.7905 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1983, allocations: 4 kB / 0.7905 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1984, allocations: 39.98 kB / 0.7906 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.1987, allocations: 7.984 kB / 0.7906 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.2007, allocations: 1.62 MB / 0.7921 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.201, allocations: 0.6887 MB / 0.7928 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.051e-05/0.201, allocations: 12.67 kB / 0.7928 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.2011, allocations: 27.42 kB / 0.7929 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2011, allocations: 0 / 0.7929 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.2122, allocations: 2.148 MB / 0.795 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.2124, allocations: 255.2 kB / 0.7952 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.002, allocations: 0 / 0.7952 GB, free: 0.7695 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)