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.001177/0.001177, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001198/0.001198, allocations: 192.2 kB / 16.25 MB, free: 6.156 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.208/1.208, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.562/1.562, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.001433/0.001433, allocations: 70.62 kB / 0.6711 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1868, allocations: 114.6 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002692/0.1895, allocations: 1.541 MB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009861/0.1905, allocations: 0.6317 MB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.1906, allocations: 3.938 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.1906, allocations: 0 / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.36e-05/0.1907, allocations: 7.922 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.1913, allocations: 143.5 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.1914, allocations: 47.86 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.1915, allocations: 8 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.06e-05/0.1915, allocations: 27.86 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.1916, allocations: 27.89 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.1916, allocations: 4 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004379/0.192, allocations: 339.4 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.1921, allocations: 23.91 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.1921, allocations: 15.94 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1924, allocations: 183.7 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1924, allocations: 0 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1924, allocations: 0 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.1924, allocations: 7.938 kB / 0.7859 GB, free: 10.78 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.0005846/0.193, allocations: 391.3 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1931, allocations: 8.031 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.1931, allocations: 42.73 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.1932, allocations: 8.844 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1933, allocations: 168.3 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.1933, allocations: 12.31 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1933, allocations: 4.375 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.1936, allocations: 85.95 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1936, allocations: 7.844 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1936, allocations: 8 kB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1936, allocations: 0 / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.1938, allocations: 51.89 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.1944, allocations: 320.7 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.1946, allocations: 86.47 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1948, allocations: 24.84 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1948, allocations: 0 / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.1948, allocations: 38.56 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 7.92e-07/0.1948, allocations: 0 / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0016/0.1964, allocations: 0.65 MB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.1965, allocations: 55.41 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.1966, allocations: 101.8 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1966, allocations: 29.7 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.1966, allocations: 84.14 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.1967, allocations: 39.45 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.1967, allocations: 33.7 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1969, allocations: 314.8 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.197, allocations: 32.09 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1971, allocations: 35.98 kB / 0.7884 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.1974, allocations: 72.77 kB / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1974, allocations: 0 / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002951/0.1977, allocations: 117.8 kB / 0.7886 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1977, allocations: 6.656 kB / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1977, allocations: 0 / 0.7886 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.1977, allocations: 7.984 kB / 0.7886 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1979, allocations: 31.97 kB / 0.7887 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.1979, allocations: 7.875 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.198, allocations: 8 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-06/0.198, allocations: 4 kB / 0.7887 GB, free: 7.617 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.69e-05/0.1981, allocations: 117.8 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.1981, allocations: 11.89 kB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.1985, allocations: 129.6 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1985, allocations: 0 / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1985, allocations: 3.938 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1985, allocations: 3.938 kB / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.1991, allocations: 390.5 kB / 0.7893 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1991, allocations: 0 / 0.7893 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.1992, allocations: 23.98 kB / 0.7893 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1992, allocations: 3.938 kB / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1992, allocations: 0 / 0.7893 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1993, allocations: 8.016 kB / 0.7893 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1993, allocations: 7.969 kB / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.1998, allocations: 251.3 kB / 0.7896 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.1998, allocations: 77.11 kB / 0.7897 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.1998, allocations: 7.969 kB / 0.7897 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1999, allocations: 8 kB / 0.7897 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.2, allocations: 7.984 kB / 0.7897 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.2, allocations: 0 / 0.7897 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.2, allocations: 87.27 kB / 0.7898 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2, allocations: 4.062 kB / 0.7898 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002619/0.2003, allocations: 36 kB / 0.7898 GB, free: 6.352 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.000826/0.2011, allocations: 0.8176 MB / 0.7906 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.2014, allocations: 95.45 kB / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2014, allocations: 0 / 0.7907 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.2016, allocations: 48.45 kB / 0.7907 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.2019, allocations: 10.84 kB / 0.7907 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.2038, allocations: 1.624 MB / 0.7923 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.2041, allocations: 0.6885 MB / 0.793 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.945e-05/0.2041, allocations: 20.59 kB / 0.793 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.2042, allocations: 23.44 kB / 0.793 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of SimCode: time 1.623e-06/0.2042, allocations: 0 / 0.793 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.488/1.692, allocations: 2.211 MB / 0.7952 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/1.692, allocations: 243.4 kB / 0.7954 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/3.341, allocations: 3.797 kB / 0.7954 GB, free: 0.6367 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)